Domain rating free
API + MCPPOST/v3/public/domain-rating-free
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>
Use of this data is subject to the Domain Rating License at http://ahrefs.com/legal/domain-rating-license. Attribution required: "Domain Rating by Ahrefs" (https://ahrefs.com/).
Returns current Domain Ratings for multiple domains or URLs.
Query parameters
outputstring
The output format.
Allowed values:jsonphp
Request body
targetsarray<string (url)>Required
The targets of the search: domains or URLs.
Max:1000
versionstring
The Domain Rating version.
Allowed values:dr3dr4
Default:dr3
Responses
domain_ratingobject
licensestring (url)
URL of the license terms that apply to use of Domain Rating data.
targetsarray<object>
Current strength of your targets' backlink profile compared to the other websites in our database on a 100-point logarithmic scale.
targetstring
domain_ratingnumber (float)