Docs
Rechercher dans la documentation...⌘K

Domain rating top domains

API uniquement
GET/v3/public/domain-rating-top-domains

Requests to this endpoint are free, yet require an APIv3 key.

APIv3 keys are free to generate and use. If you don't have an Ahrefs account, here's how to get the key for free:

  1. Sign up for a free Ahrefs account (if you don't have one)
  2. Generate an API key in Account settings → API keys
  3. Add it to your requests: Authorization: Bearer <token>

Returns the top 1M domains ranked by Ahrefs Domain Rating, together with each domain's current Domain Rating.
Use from and to to request a range of rank positions. Each request can return up to 250k rows (e.g. from=1&to=250000).

Paramètres de requête

frominteger

Rank position to start from.

Par défaut:1
tointeger

Rank position to end at. You can request up to 250k rows at a time.

Par défaut:100
outputstring

Le format de sortie.

Valeurs autorisées:jsoncsvxmlphp

Réponses

domainsarray<object>
domainstring (domain)

Domain name.

domain_ratingnumber (float)

Current strength of the domain's backlink profile compared to the other websites in our database on a 100-point logarithmic scale.

rankinteger

Position of the domain in the top 1M ranking by Domain Rating (1 = highest).