Most agency websites ask visitors to “book a call” before they’ve seen any value. A free SEO audit flips that: the visitor gets something useful in two minutes, and you get a lead who already knows what is wrong with their site. RankThat gives you two ways to run those audits: a widget you paste into your website, and an API for your own systems.
Both run the same audit engine as the rest of RankThat, so a prospect’s report uses the same 100+ checks, plain-English explanations and scoring that your clients see every month.
Adding the widget to your website
- In RankThat, open Settings › Agency, tab API keys & widget, and create a public key.
- List the websites the widget may run on, for example
youragency.com, *.youragency.com. The key does nothing anywhere else, so nobody can copy it onto their own site. - Set a daily limit and the most pages an audit may check (up to 50 for the widget).
- Copy the two lines of HTML into any page. On WordPress, that’s a Custom HTML block.
The form asks for a website address and an email, plus a name, company and, if you want it, a phone number. You can change the title, the subtitle, the button text, the color and the note about the emailed report, all with attributes on the same two lines.
When a visitor submits the form, the audit runs on the spot. They see a progress bar, then their score, grade and top issues. The full PDF report is emailed to them if you turn that on, and you get an email with their details and a link to the report. A hidden field catches most form bots before an audit is ever started.
Reports with your name on them
On the Branding tab of Settings › Agency you set your agency name, logo, two brand colors, website, email, phone and address. Every audit PDF then carries your logo on the cover and on each page, and ends with a closing page that has your pitch paragraph and a button, such as “Book a free strategy call” linking to your calendar.
Each audit also gets a share link: an unguessable address that opens the PDF without a login. Share links are a quick way to send a prospect their report before a sales call, or to drop one into a proposal. They are marked so search engines don’t index them.
Branding changes apply to old audits too: the next time a PDF is opened, it is built with your current logo and colors.
Running audits from your own systems
The Audit API is for servers, CRMs and automation tools like Zapier or Make. Create a secret key (never put a secret key in browser code) and you can:
| Call | What it does |
|---|---|
| Start an audit | Mini or full, with the page limit, the lead’s details and your own reference |
| Check an audit | Progress while it runs; score, grade and every issue when it’s done |
| List audits | The latest audits run with that key |
| Download the PDF | The branded report, ready to attach or store |
When an audit finishes or fails, RankThat sends a webhook to the address you choose. Each one is signed with a secret only you and RankThat know, so your system can check that it really came from RankThat. The lead’s details and your reference come back on the webhook, which makes it easy to match the audit to a deal in your CRM.
Some ways agencies use it:
- New lead in the CRM: start a mini audit for the lead’s website, and attach the PDF to the deal when the webhook arrives.
- Sales call prep: run a full audit before the call and walk through the report together.
- Your own audit page: build a custom form on your site that calls your server, which calls the API.
The Data API: your numbers in Sheets, Looker Studio or scripts
The same secret keys also open a read-only Data API, built for dashboards. A key sees the projects its owner is a member of, and every call returns rows, or a CSV file with ?format=csv:
| Call | What comes back |
|---|---|
| Projects | Each project’s id, name and domain |
| Rankings | One row per keyword per check, for a date range and device |
| Search Console | Clicks, impressions, click rate and position per day, or a month’s top searches or pages |
| Audits | Audit history: score, grade and issues |
| Leads | Leads per day, by channel and kind |
| AI crawler visits | Visits per day, by bot |
Dates default to the last 90 days. Agencies use it to pull every client’s clicks and leads into one Google Sheet, to build a Looker Studio dashboard, or to feed their own reporting scripts. The Developer docs tab in Settings › Agency lists each call.
Limits and safety
Every key has its own limits: which audit types it may run, the most pages per audit, and the most audits per 24 hours. No more than five audits run at once per key. Widget and API audits count toward the monthly audits in your plan, so pick a daily limit your plan can cover. If you go over, the widget shows visitors a polite “try again later” message and never mentions your plan.
You can edit a key’s limits at any time, rotate a webhook secret, or revoke a key, which stops it working immediately.
What it doesn’t do
- It isn’t a keyword or backlink data API. The Data API is read-only and covers projects, rankings, Search Console, audits, leads and AI crawler visits. Keyword research, backlinks and monthly reports go through the AI agent connector instead, with an API key, for custom agents, n8n or Make. Nothing in the Data API can change a site.
- The widget runs mini audits only. Full site audits run from the API or the app.
- Sites with strict bot protection may block the audit, the same as any RankThat audit. RankThatBot identifies itself honestly and never tries to get around firewalls.
The widget, the Audit API, the Data API and white-label PDFs are included on the Professional and Enterprise plans. On Starter you can set up your branding now, and it switches on when you upgrade.