Domain Rank
Get raw link graph counts for a domain, including inbound edges and unique linking domains.
GET
/v1/domain-rank2 creditsAPI keyReturns the raw link graph statistics behind a domain's authority: how many inbound edges it has, how many distinct domains link to it, and the average size of those linking domains. Use it when you want the underlying counts rather than the 0 to 100 score from Domain Authority. Data comes from the domain link graph (see Response format).
Request
Parameters
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
domain | string | Yes | none | Domain to query, for example stripe.com. No scheme or path. Must contain a dot. |
Example
curl "https://api.rankparse.com/v1/domain-rank?domain=stripe.com" \
-H "X-API-Key: rp_your_key"import requests
res = requests.get(
"https://api.rankparse.com/v1/domain-rank",
params={"domain": "stripe.com"},
headers={"X-API-Key": "rp_your_key"},
timeout=60,
)
res.raise_for_status()
print(res.json()["data"])const params = new URLSearchParams({ domain: "stripe.com" });
const res = await fetch(`https://api.rankparse.com/v1/domain-rank?${params}`, {
headers: { "X-API-Key": "rp_your_key" },
});
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
const { data } = await res.json();
console.log(data.unique_domains, data.inbound_edges);Response
{
"domain": "stripe.com",
"data": {
"inbound_edges": 145678,
"unique_domains": 21234,
"avg_linking_host_count": 567.8
},
"credits_used": 2,
"credits_remaining": 996
}Response fields
Top level:
| Field | Type | Description |
|---|---|---|
domain | string | The normalized (lowercased) domain you queried. |
data | object | The rank record (below). |
credits_used | integer | Always 2. |
credits_remaining | integer | Your balance after this call. |
Fields in data:
| Field | Type | Description |
|---|---|---|
inbound_edges | integer | Number of inbound domain graph edges pointing at the domain. |
unique_domains | integer | Number of distinct domains linking to the domain. |
avg_linking_host_count | number | Average number of hosts on the linking domains. |
Behavior and limits
- Credits: 2 per call, charged before the lookup. Server errors are refunded.
- Caching: results are cached for 30 days per crawl release. A cache hit is billed the same as a fresh lookup.
- Empty results: a domain with no data returns
200with all three values set to0, never404. - Rate limit: 60 requests per minute per key. See Rate limiting.
Errors
| HTTP | Code | When |
|---|---|---|
| 400 | invalid_domain | domain is missing or not a valid domain. |
| 401 | invalid_api_key | Missing, invalid or revoked API key. |
| 402 | insufficient_credits | Balance is lower than the call cost. |
| 402 | spend_cap_reached | Your monthly spend cap is reached. |
| 429 | rate_limited | More than 60 requests in a minute. |
| 503 | query_timeout, upstream_error | Transient data store problem. Retry after the Retry-After header. Credits are refunded. |
See Errors for the full list and the error body format.
Related
MCP tool: get_domain_rank (accepts domain).