Ahrefs API

Ahrefs Overview API

Get an SEO authority overview for any domain or URL: Domain Rating, total backlinks, and referring domains - as normalized JSON.

POST/v1/run/ahrefs.overview
Uptime
99.35%
30d · 464 calls
Requests
464
30d · weekly, last 12 wks
Response
13.8s
median · 30d

Pricing

One price, in dollars

Try it

Make your first request

Open in
Get a free key
Sample response
Free runs return only the first 3 results. Fund a key to get the full response.
{
  "data": {
    "items": [
      {
        "backlinks": 42,
        "dofollowBacklinksPct": 42,
        "dofollowReferringDomainsPct": 42,
        "domain": "example.com",
        "domainRating": 4.6,
        "mode": "example",
        "referringDomains": 42
      }
    ]
  },
  "found": true
}
Response interface
interface AhrefsOverviewResponse {
  data: {
    items: {
      backlinks?: number;
      dofollowBacklinksPct?: number;
      dofollowReferringDomainsPct?: number;
      domain: string;
      domainRating?: number;
      mode?: string;
      referringDomains?: number;
    }[];
  } | null;
  found: boolean;
}

Full parameter and response reference - every field, type, and example for this endpoint.

Reference

Request, response, and price

Last verified 2026-09-16 · uptime and latency measured over 30d
POST /v1/run/ahrefs.overview
curl -X POST https://api.getanyapi.com/v1/run/ahrefs.overview \
  -H "Authorization: Bearer $ANYAPI_KEY" \
  -H "Content-Type: application/json" \
  -d '{"mode":"subdomains","url":"ahrefs.com"}'
FieldTypeExample value
Request body
urlstring"ahrefs.com"The domain or page URL to analyze (e.g. ahrefs.com).
modeenum"subdomains"Analysis scope: subdomains covers the whole domain, exact matches only the given URL.
Response
dataobject
data.itemsobject[]Domain authority records: the requested domain plus its Domain Rating, total backlinks, and referring-domain counts. Populated whenever the provider has data for the entity.
data.items[].backlinksintegerTotal number of backlinks pointing to the domain.
data.items[].dofollowBacklinksPctintegerPercentage (0-100) of backlinks that are dofollow.
data.items[].dofollowReferringDomainsPctintegerPercentage (0-100) of referring domains that provide a dofollow link.
data.items[].domainstringThe domain or URL the metrics are scoped to. Populated whenever the provider has data for the entity.
data.items[].domainRatingnumberAhrefs Domain Rating, 0-100, measuring backlink-profile strength.
data.items[].modestringAnalysis scope used: subdomains (whole domain) or exact (the given URL only).
data.items[].referringDomainsintegerNumber of unique referring domains linking to the domain.
foundboolean
Price
Price per requestUSD$0.00501
Price /1k reqUSD$5.01

FAQ

About the Ahrefs Overview API

The AnyAPI Ahrefs Overview API returns Ahrefs overview data as normalized JSON from one POST call to /v1/run/ahrefs.overview. Get an SEO authority overview for any domain or URL: Domain Rating, total backlinks, and referring domains - as normalized JSON. AnyAPI returns one normalized schema whichever source serves it. It costs from $5.01 per 1,000 requests, in US dollars with no subscription and no monthly minimum. Over the last 30 days, 99.4% of Ahrefs overview calls through AnyAPI succeeded, with a median response time of 13.8 seconds across 464 measured calls.

It costs from $5.01 per 1,000 requests, in US dollars with no subscription and no monthly minimum. You fund one USD wallet, each call draws it down, and a failed request costs $0.

Get an SEO authority overview for any domain or URL: Domain Rating, total backlinks, and referring domains - as normalized JSON. The response is normalized JSON with the same envelope every AnyAPI endpoint returns, so parsing a second endpoint is a change of URL and nothing else.

Over the last 30 days, 99.4% of Ahrefs overview calls through AnyAPI succeeded, with a median response time of 13.8 seconds across 464 measured calls. These are AnyAPI's own measurements of traffic through the gateway, recomputed continuously, not a published service-level target.