Domain rating top domains
Solo APIGET/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:
- Sign up for a free Ahrefs account (if you don't have one)
- Generate an API key in Account settings → API keys
- 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).
Parámetros de consulta
frominteger
Rank position to start from.
Opción predeterminada:1
tointeger
Rank position to end at. You can request up to 250k rows at a time.
Opción predeterminada:100
outputstring
El formato de salida.
Valores permitidos:jsoncsvxmlphp
Respuestas
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).
errorstring
errorstring
errorstring
errorstring
errorstring