domain_rating - Ahrefs API

Ahrefs API v2 has been deprecated

This documentation is for the legacy version of our API (v2), which was discontinued on March 1st, 2024. Existing API v2 integration apps are not affected and continue to work as before, but new submissions are no longer accepted.

To switch to API v3, please contact our Enterprise team. Read about API v3.

Documentation - domain_rating

Contains the Domain Rating.
Refer to Principles of Domain Rating calculation for more information about Domain Rating.

Each request to domain_rating costs 1 row.
Each result in the response costs 0 rows.

domain

Column Type Where Having Description
domain_rating int − + Domain Rating of the target domain.
ahrefs_top int − + Ahrefs Rank of the target domain.

Examples



Request

https://apiv2.ahrefs.com?from=domain_rating&target=ahrefs.com&mode=domain&output=json

Response

{
  "domain":{
    "domain_rating":66,
    "ahrefs_top":3840
  }
}