Get your API key
Open the API key panel and click Copy. No sign-up needed.
Open API key panel ↗Rankfield docs
Start with link metrics. Find the request format, response fields, examples, and data methodology in one place.
Guides
Get your key, make a request, and use Site Strength and referring domain counts in your own workflow.
Open the API key panel and click Copy. No sign-up needed.
Open API key panel ↗In the API workspace, enter a domain and click Copy beside the request. Paste the command into your terminal and run it. Your key is included.
A successful response contains the normalized domain and its 0–100 Site Strength score. Values below are illustrative:
{
"domain": "example.com",
"siteStrength": 42
}
Use the built-in fetch API. Keep the key in an environment variable when running a server-side script.
const apiKey = process.env.API_KEY;
const response = await fetch(
"https://api.example.com/v1/domains/example.com/site-strength",
{ headers: { Authorization: `Bearer ${apiKey}` } }
);
if (!response.ok) {
throw new Error(`API request failed: ${response.status}`);
}
const data = await response.json();
console.log(data.siteStrength);
In a browser app hosted on another origin, call your own backend and have it add the bearer header. The API does not enable cross-origin requests.
This example uses the standard library, so no package installation is needed.
import json
import os
from urllib.error import HTTPError
from urllib.request import Request, urlopen
url = "https://api.example.com/v1/domains/example.com/referring-domains"
request = Request(
url,
headers={"Authorization": f"Bearer {os.environ['API_KEY']}"},
)
try:
with urlopen(request) as response:
data = json.load(response)
except HTTPError as error:
print(error.code, error.read().decode())
raise
print(data["referringDomains"])
Request Site Strength and referring domains for the same domain.
curl -s \
-H "Authorization: Bearer $API_KEY" \
"https://api.example.com/v1/domains/example.com/site-strength"
curl -s \
-H "Authorization: Bearer $API_KEY" \
"https://api.example.com/v1/domains/example.com/referring-domains"
Use siteStrength as a score on the 0–100 scale. Use referringDomains as the observed count when it is available.
Give your agent the Rankfield onboarding skill. It explains how to issue an accountless key, call both GET endpoints, and use the MCP tools.
curl -sS https://api.example.com/agent-onboarding/SKILL.md
For MCP clients that support remote Streamable HTTP, use https://api.example.com/mcp with Authorization: Bearer <key>. Available tools are get_site_strength and get_referring_domains; each accepts a root domain. Replace api.example.com with the host serving this API.
Opening /mcp in a browser sends GET and shows connection instructions. To call a tool, your MCP client sends an authenticated JSON-RPC POST request.
Authorization: Bearer <key>. The response shape is {"error":{"message":"A valid API key is required"}}.{"error":{"message":"Domain was not found in the current Common Crawl graph"}}.referringDomains is null. Preserve it as unavailable; do not convert it to zero.Site Strength responses contain a domain and score. Referring domain responses also include topReferrers, with each source domain's Site Strength and observations. An unavailable count or source score is null.
Authorization header. Avoid putting keys in URLs, where they can appear in history and logs.Rankfield API
Read Site Strength and referring domain metrics from the Common Crawl domain graph.
Get your API key in the API workspace. When you copy a request there, your key is included automatically.
For your own requests, send the key in the authorization header:
Authorization: Bearer <key>
GET /v1/domains/{domain}/site-strength
Returns Rankfield's own 0–100 site authority score, calibrated from Common Crawl graph ranks. It is separate from Moz Domain Authority and Ahrefs Domain Rating.
domainwww., and accepts a URL or hostname.curl "https://<worker-host>/v1/domains/example.com/site-strength" \
-H "Authorization: Bearer $API_KEY"
Values below are illustrative; they are not live measurements for example.com.
{
"domain": "example.com",
"siteStrength": 42
}
GET /v1/domains/{domain}/referring-domains
Returns the observed count and up to 20 referring domains, with each domain's Site Strength and observation count.
domaincurl "https://<worker-host>/v1/domains/example.com/referring-domains" \
-H "Authorization: Bearer $API_KEY"
Values below are illustrative; they are not live measurements for example.com.
{
"domain": "example.com",
"referringDomains": 253,
"topReferrers": [
{ "domain": "referrer.example", "siteStrength": 72, "observations": 4 }
]
}
referringDomains can be null when the count data is unavailable. A referrer's siteStrength can be null when it cannot be scored. observations reflects the available link data, not a complete backlink count.
Use your API key from the workspace. Metric requests can be made from a backend or from the same-origin playground.
const key = "<key>";
const domain = "example.com";
const response = await fetch(
"https://<worker-host>/v1/domains/" + encodeURIComponent(domain) + "/site-strength",
{ headers: { Authorization: "Bearer " + key } }
);
const data = await response.json();
if (!response.ok) throw new Error(data.error.message);
console.log(data.siteStrength);
The public API does not emit CORS headers. A browser app on another origin should call it through its backend.
Errors use the JSON shape { "error": { "message": "..." } }.
400401WWW-Authenticate: Bearer header is included.403404502Rankfield derives its current link metrics from the Common Crawl domain graph. The graph represents links observed while Common Crawl fetched pages. It is a large, useful sample of the web, not a complete index of every page or link.
Site Strength is Rankfield's own site authority score from 0 to 100. The live score uses a calibrated combination of a domain’s Common Crawl PageRank and harmonic-centrality rank positions. Rank positions are converted to a logarithmic scale and mapped through a monotonic calibration validated against held-out data. A larger score means stronger graph rank evidence within this methodology.
The score is not a probability, a percentage of the web, or a count of backlinks. It is not Moz Domain Authority, Ahrefs Domain Rating, or an equivalent score from another provider. Scores from different products use different data and methods and should not be treated as interchangeable.
The referring-domain metric counts distinct source domains that the selected Common Crawl graph records as linking to the requested domain. It does not count source pages, link occurrences, or every backlink on the web. The API also lists up to 20 available source domains in topReferrers, with each source's current Site Strength and its recorded observations.
These metrics come from Common Crawl graph releases. A result reflects the available crawl data, not a live check of every link. Dates and completeness vary with the pages included in each release.
Domains outside the selected graph release cannot be scored from that release. A successful lookup can still have a missing referring-domain count if the count data is unavailable. Common Crawl’s crawl frequency, robots access, page discovery, and graph construction all affect what can be observed.
The requested domain was not found in the current Common Crawl graph release. The API returns HTTP 404 for that case; it does not mean the domain is offline or has no links.
The domain was found, but the referring-domain count pack was unavailable for the lookup. The API uses null to distinguish unavailable data from a measured count of zero.
The relationship index may not contain details for this domain. An empty list does not prove that no sites link to it.
No. Site Strength describes calibrated Common Crawl graph rank evidence. It does not estimate visits, search rankings, or conversions.
Not directly. Those services use their own indexes, scales, and scoring methods. Site Strength is a separate Common Crawl based measure.
No. It records links from pages it crawls and processes. Crawl coverage is incomplete, so observed counts and relationships can differ from a full web-wide backlink inventory.
Site Strengthreferring domaintopReferrersnull404