Overview
Pass `domain` as a domain, hostname, URL or email address. The scheme, credentials, path, query, port, trailing dot and a leading `www.` are removed and international names are converted to punycode. The host is then looked up together with each parent domain, and the nearest one with a web graph rank is returned (the graph ranks registered domains, so `news.bbc.co.uk` resolves to `bbc.co.uk`). If no parent has a web graph rank, a host-level backlink rank is used.
`rank` is the harmonic centrality position from Common Crawl's domain-level web graph (three consecutive crawls, ~145 million domains, ~1.7 billion links). Harmonic centrality sums the inverse distances from every other domain, so it rewards being a short hop from everywhere rather than raw link counts. `pageRankPosition` is the same graph's PageRank order. `linkRank`, `tldRank`, `linkRankPrevious`, `referringSubnets` and `referringIps` come from the Majestic Million, used under CC BY 3.0 (majestic.com).
Data: Common Crawl web graph (commoncrawl.org) and the Majestic Million (CC BY 3.0). Refreshed monthly.
Endpoint
One host, one path per API. The block below shows this call in four languages; every one of them is the same HTTP request. Making requests covers the timeouts, retries and parameter rules that apply to all of them. The SDKs wrap the same call in a typed client.
curl "https://api.apiverve.com/v1/domainrank?domain=google.com" \
-H "x-api-key: your_api_key_here"const res = await fetch('https://api.apiverve.com/v1/domainrank?domain=google.com', {
headers: { 'x-api-key': 'your_api_key_here' },
});
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
const { data } = await res.json();
console.log(data);import requests
res = requests.get(
"https://api.apiverve.com/v1/domainrank?domain=google.com",
headers={"x-api-key": "your_api_key_here"},
timeout=15,
)
res.raise_for_status()
print(res.json()["data"])package main
import (
"fmt"
"io"
"net/http"
)
func main() {
req, _ := http.NewRequest("GET", "https://api.apiverve.com/v1/domainrank?domain=google.com", nil)
req.Header.Set("x-api-key", "your_api_key_here")
res, err := http.DefaultClient.Do(req)
if err != nil {
panic(err)
}
defer res.Body.Close()
out, _ := io.ReadAll(res.Body)
fmt.Println(string(out))
}Replace your_api_key_here with the key from your dashboard. When the inputs arrive as a list rather than one at a time, batch requests run up to 200 of them through this same API in a single call.
Authentication
Send your key in the x-api-key header. That is the only auth step — there is no token exchange and no per-endpoint scope to configure. Authentication covers creating, rotating and revoking keys.
A 401 means the key is missing, invalid or expired. A 403 means the key is valid but not permitted here — blocked by a key restriction or an IP allow-list. Running out of credits is a 429.
Parameters
Sent in the query string. Premium parameters are accepted on every plan but only take effect on plans that include them.
| Parameter | Type | Description |
|---|---|---|
domainRequired | string | Domain, hostname or web address, for example wikipedia.org or https://www.bbc.co.uk/news length 0–2048 |
Response
Every API returns the same three top-level keys, so one response handler covers your whole integration: status, error and data. Only data changes shape. Response format covers the envelope, the other output formats and how premium fields are withheld.
{
"status": "ok",
"error": null,
"data": {
"domain": "google.com",
"ranked": true,
"rank": 3,
"rankBand": "top 100",
"percentile": 100,
"pageRankPosition": 2,
"hostsCrawled": 18534,
"linkRank": 1,
"linkRankPrevious": 1,
"linkRankChange": 0,
"tldRank": 1,
"referringSubnets": 502106,
"referringIps": 2152669,
"rankedDomains": 145593231,
"dataAsOf": {
"webGraph": "cc-main-2026-sep-oct-nov",
"webGraphDate": "2026-11-16",
"linkRank": "2026-11-28"
}
}
}
Response fields
Paths are relative to data. Premium fields are absent rather than zeroed on plans that do not include them, so check for presence instead of comparing to 0.
| Field | Type | Example | Description |
|---|---|---|---|
domain | string | "google.com" | Registered domain the rank belongs to |
ranked | boolean | true | True when the domain is in the top 10 million or the backlink top 1 million |
rank | number | 3 | Position by harmonic centrality among all domains in the web graph (1 is the most central); null outside the top 10 million |
rankBand | string | "top 100" | top 100, top 1,000, top 10,000, top 100,000, top 1,000,000 or top 2,000,000 |
percentile | number | 100 | Percentage of web graph domains ranked at or below this position, 0-100 (100 is the top) |
pageRankPositionPremium | number | 2 | Position by PageRank in the same web graph |
hostsCrawledPremium | number | 18534 | Hosts (subdomains) of the domain found in the crawls |
linkRankPremium | number | 1 | Backlink rank by referring IP subnets, top 1 million only |
linkRankPreviousPremium | number | 1 | Backlink rank in the previous period |
linkRankChangePremium | number | 0 | Places gained since the previous period (negative when it fell) |
tldRankPremium | number | 1 | Backlink rank among domains with the same TLD |
referringSubnetsPremium | number | 502106 | Distinct /24 IP subnets with links to the domain |
referringIpsPremium | number | 2152669 | Distinct IP addresses with links to the domain |
rankedDomains | number | 145593231 | Number of domains in the web graph the rank is out of |
dataAsOf | object | {...} | Source versions |
webGraph | string | "cc-main-2026-sep-oct-nov" | Common Crawl web graph release id |
webGraphDate | string | "2026-11-16" | Start of the week of the release's last crawl (YYYY-MM-DD) |
linkRankPremium | string | "2026-11-28" | Date of the backlink rank file (YYYY-MM-DD) |
Errors
Read the HTTP status first, then error for the specific reason. The body names the parameter that has to change. Error handling covers the full status list and which of them are worth retrying.
| Status | Meaning | What to do |
|---|---|---|
400 | Input was rejected | Read error; it names the parameter. |
401 | Key missing or invalid | Check the header name and the key value. |
403 | Key valid, but not permitted | A key restriction or IP allow-list; see key scoping. |
429 | Rate limited, or out of credits | Read error to tell them apart; see rate limits. |
Use cases
- Lead Scoring
- Weight inbound signups and CRM leads by how established the company's website is.
- Fraud and Phishing Triage
- Treat links to unranked, brand-new domains with more suspicion than links to top-ranked sites.
- SEO and Link Building
- Prioritise outreach and audit backlinks by the linking domain's rank and referring subnets.
- Crawl and Ad Prioritisation
- Order a crawl queue or vet publisher domains by popularity before spending on them.
Other ways to use Domain Rank
Set up Domain Rank on APIVerve, or reach the same source a different way. Your APIVerve account and credits work on all of them — one key, one balance.
Related
More in Domain Data: