Domain rating top domains
仅限 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).
查询参数
frominteger
Rank position to start from.
默认:1
tointeger
Rank position to end at. You can request up to 250k rows at a time.
默认:100
outputstring
输出格式。
允许的值:jsoncsvxmlphp
响应
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