GET/v3/public/domain-rating-free
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:
- 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/).
Query parameters
targetstring (url)Required
The target of the search: a domain or a URL.
outputstring
Allowed values:jsoncsvxmlphp
Responses
domain_ratingobject
domain_ratingnumber (float)
Current strength of your target's backlink profile compared to the other websites in our database on a 100-point logarithmic scale.
licensestring (url)
URL of the license terms that apply to use of Domain Rating data.