Ahrefs API v2 has been deprecated
This documentation is for the legacy version of our API (v2), which was fully discontinued on November 1, 2025. All remaining API v2 integrations and apps built on it no longer have access to Ahrefs data.
To build new integrations, please use Ahrefs API v3 and the Ahrefs Connect program.
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
Response
{
"domain":{
"domain_rating":66,
"ahrefs_top":3840
}
}