Ahrefs API v2 has been discontinued
This documentation is for the legacy version of our API (v2), which you can no longer subscribe to. If you already have an active API v2 subscription, it will still work as before. Read about our latest 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 } }