Skip to Content
Documentation

Check website authority

Domain Rating API · 500 points per successful call

Product overview and demoAll Ahrefs API endpointsError codes

GET
/v1/ahrefs/authority

Returns a website’s Domain Rating (0–100) with its backlink profile in numbers: total backlinks, unique referring domains, and the dofollow share of each. Metrics are domain-level and include subdomains. A website the source has never seen reports zeros.

Authorization

bearerAuth
headerAuthorizationBearer <token>

Your API key, sent as a bearer token. In the console on this page you can leave it empty: signed in, calls run on your own plan; otherwise they run on a shared demo key after a quick human check.

Query Parameters

url*string

The website to evaluate — a bare domain or a full URL.

Match^\S+\.\S+$
Length4 <= length <= 512

Response Body

Successful response

application/json
  1. response
meta*
data*
Example Request
curl -X GET 'https://api.endpointry.com/v1/ahrefs/authority?url=ahrefs.com'
Example Response
{
  "meta": {
    "request_id": "req_7729f93d3facf68ff83e5c50",
    "as_of": "2026-08-03T09:00:00.000Z",
    "cache": "MISS"
  },
  "data": {
    "target": "ahrefs.com",
    "domain_rating": 91,
    "backlinks": 22988620,
    "referring_domains": 110499,
    "dofollow_backlinks_percent": 75,
    "dofollow_referring_domains_percent": 84
  }
}