Website Ranking
A domain's full ranking footprint: countries, distribution, movers, top keywords and pages.
curl -X POST https://seonio.com/api/v1/website/ranking \ -H "Content-Type: application/json" \ -H "X-API-Key: $SEONIO_API_KEY" \ -d '{"domain_name": "moz.com"}'
{
"domain": "moz.com",
"total_volume": 1298217,
"total_value": 7137032,
"top_country": "IN",
"country_distribution": {
"IN": 47,
"US": 34,
"PK": 11,
"ID": 2,
"CA": 1,
"DE": 1,
"UK": 1
},
"keyword_distribution": {
"pos_1_3": 42,
"pos_4_10": 38,
"pos_11_20": 9,
"pos_20_plus": 11
},
"movers": {
"is_new": 3253,
"is_up": 5615,
"is_down": 1715,
"is_lost": 0
},
"top_keywords": [
{
"keyword": "websites",
"volume": 200273,
"ranking": 5.95
},
{
"keyword": "conversion optimization",
"volume": 29287,
"ranking": 5.0
},
{
"keyword": "domain authority checker",
"volume": 27867,
"ranking": 1.14
}
],
"top_pages": [
{
"page_url": "https://moz.com/domain-analysis",
"volume": 271362,
"ranking": 1.92
},
{
"page_url": "https://moz.com/link-explorer",
"volume": 20091,
"ranking": 3.1
}
]
}What to send and what comes back
The richest endpoint: total ranking volume and value, country split, keyword position buckets, movement counts, plus the top keywords and pages driving the domain. For very large sites (about 1B+ monthly visits) only keywords with 50,000+ monthly searches are analysed: total_volume and total_value are scaled to the whole site's traffic, while keyword_distribution and movers describe those keywords only.
Request body
| Field | Type | Required | Description |
|---|---|---|---|
domain_name |
string | required | Bare domain to analyse, e.g. "moz.com". |
Response
| Field | Type | Description |
|---|---|---|
total_volume |
integer | Combined monthly volume of ranked keywords. |
total_value |
integer | Estimated traffic value. |
top_country |
string | Largest country by share. |
country_distribution |
object | Percentage share per country code. |
keyword_distribution |
object | Counts by position bucket. |
movers |
object | is_new, is_up, is_down, is_lost counts. |
top_keywords[] |
object[] | { keyword, volume, ranking }. |
top_pages[] |
object[] | { page_url, volume, ranking }. |
Copy, paste, add your key
The same request in cURL, Python and Node.js.
curl -X POST https://seonio.com/api/v1/website/ranking \
-H "Content-Type: application/json" \
-H "X-API-Key: YOUR_API_KEY" \
-d '{"domain_name": "moz.com"}'
import requests
resp = requests.post(
"https://seonio.com/api/v1/website/ranking",
headers={"X-API-Key": "YOUR_API_KEY"},
json={"domain_name": "moz.com"},
)
print(resp.json())
const resp = await fetch("https://seonio.com/api/v1/website/ranking", {
method: "POST",
headers: {
"Content-Type": "application/json",
"X-API-Key": "YOUR_API_KEY",
},
body: JSON.stringify({"domain_name": "moz.com"}),
});
console.log(await resp.json());
Run a real request
Send this request from your browser with your API key, or leave the key empty to see the sample response.
A successful run costs $0.02 / request. With no key, you see the sample response and nothing is charged.
{
"country_distribution": {
"CA": 1,
"DE": 1,
"ID": 2,
"IN": 47,
"PK": 11,
"UK": 1,
"US": 34
},
"domain": "moz.com",
"keyword_distribution": {
"pos_11_20": 9,
"pos_1_3": 42,
"pos_20_plus": 11,
"pos_4_10": 38
},
"movers": {
"is_down": 1715,
"is_lost": 0,
"is_new": 3253,
"is_up": 5615
},
"top_country": "IN",
"top_keywords": [
{
"keyword": "websites",
"ranking": 5.95,
"volume": 200273
},
{
"keyword": "conversion optimization",
"ranking": 5.0,
"volume": 29287
},
{
"keyword": "domain authority checker",
"ranking": 1.14,
"volume": 27867
}
],
"top_pages": [
{
"page_url": "https://moz.com/domain-analysis",
"ranking": 1.92,
"volume": 271362
},
{
"page_url": "https://moz.com/link-explorer",
"ranking": 3.1,
"volume": 20091
}
],
"total_value": 7137032,
"total_volume": 1298217
}
What developers build with it
- Domain overview / competitor analysis screens.
- Spotting rising and falling keywords (movers).
- Surfacing the pages worth attacking or defending.
The same contract on every endpoint
Error responses are JSON with a "detail" field. It is a message string unless the row above says otherwise.
| Code | When |
|---|---|
200 | Success. The lookup completed and was charged, even if the response is empty. /keywords/global charges only the keywords it looked up. |
401 | Missing or unknown API key. |
402 | Not enough balance. "detail" is an object with "error", "message", "balance_required" and "balance_available". Requests still running hold their price until they finish, so a retry can succeed once they do. |
403 | The account is not verified yet, or it is locked. |
422 | Invalid request (wrong shape or types, a keyword over 200 characters, a URL the page checker cannot audit, a domain that does not exist, or a bare public suffix such as co.uk that groups many websites) — never charged. "detail" is usually a list of validation errors; an answer that retrying cannot change (such as a domain without a DNS record) is a message string with an X-Outcome header naming it: missing, unsupported, too_large or refused_input. |
429 | Rate limit exceeded, never charged. Requests per second per account by plan: 5 on a free account, 10 on Starter, 15 on Pro and 20 on Business; retry after the Retry-After header. Also the page checker's provider limit. |
503 | A data provider failed or timed out (X-Outcome: temporary). Nothing was charged; retry after the seconds in the Retry-After header. |
Questions, answered
Simple answers for developers using the API.
Every endpoint has a published USD price or formula. Requests draw from the same testing, included and Extra Usage balance as website and MCP actions: testing first, then included usage, then Extra Usage expiring soonest.
API actions require a verified account with a free $1 balance or an active subscription balance. Create and manage API keys from your account, then send the key in the X-API-Key header.
Yes. Your account shows API usage and remaining balance, so you can track costs while building and running automated workflows.
REST API and MCP requests per second depend on your plan: 5 on a free account, 10 on Starter, 15 on Pro and 20 on Business. Website data requests from the same account count toward the same second. Requests above the limit return HTTP 429 with a Retry-After header and are not charged; wait a second and retry.
Turn search insights into measurable growth
Start your SEO research in seconds.