Build against Website Rank with token-authenticated intelligence refreshes, public read-only helper endpoints, consistent JSON responses, and a billing model that only spends credits when you ask for fresh data.
The authenticated intelligence endpoint accepts either an Authorization: Bearer ... header or an api_key query/body parameter. Bearer headers are the recommended format.
True when the token was accepted and the request was processed.
domain
string
The normalized domain Website Rank actually used internally.
refresh_queued
boolean
True when a live refresh job was queued.
served_from_snapshot
boolean
True when the current response came from existing stored intelligence data.
remaining_credits
integer
Your remaining API credit balance after this request was processed.
credit_cost
integer
Credits charged by this specific request.
configured_credit_cost
integer
The current server-side live-refresh cost setting.
snapshot
object|null
The stored intelligence snapshot, or null when nothing has been stored yet.
Public helper endpoints
These endpoints currently expose public Website Rank data without requiring a token. They are useful for read-only search, compare, category, and leaderboard interfaces.
GET /api/search
Public
Searches both the tracked-site index and the discovered-domain index.
1. Request /api/v1/intelligence/{domain}?refresh=1
2. Read the immediate response
3. If snapshot is null or stale, wait briefly
4. Request /api/v1/intelligence/{domain} again without refresh=1
5. Repeat until the stored snapshot you need is available
Status codes
Code
When it happens
200
Request succeeded and a response payload was returned.
401
Missing, invalid, or unauthorised API token.
402
Not enough API credits to queue a live refresh.
422
The supplied domain was invalid after normalization.
503
API access is globally disabled or, for some public endpoints, the installer is not complete.
Error examples
{
"ok": false,
"message": "Invalid API token."
}
{
"ok": false,
"message": "Not enough API credits remaining for a live intelligence refresh.",
"remaining_credits": 0,
"configured_credit_cost": 1}
{
"ok": false,
"message": "Enter a valid public domain."
}
Integration notes
Refreshes are queue-based, so do not assume a forced refresh returns fresh crawl output in the same response.
The public site overview and helper endpoints can return partial data when a domain is still being processed.
Use stored snapshots for read-heavy apps and reserve forced refreshes for user-triggered events, scheduled sync points, or explicit “refresh now” actions.
Because token auth is simple bearer-token auth, protect tokens as secrets and do not hardcode them into public client bundles.
Privacy and cookie choices
We use essential storage for sign-in, security, billing, and site preferences. Optional analytics cookies only load if you actively accept them. Read the privacy policy.