Docs
Пошук документації...⌘K

Domain rating top domains

Лише API
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).

Параметри запиту

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).