Public
Domain rating free
Changed onRequests 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/).
get/public/domain-rating-free
Request
- Base URLhttps://api.ahrefs.com/v3
- URLhttps://api.ahrefs.com/v3/public/domain-rating-free
- Authnone required
Query parameters
targetstring url required
The target of the search: a domain or a URL.
version'dr3' | 'dr4'
The Domain Rating version.
output'json' | 'csv' | 'xml' | 'php'
The output format.
Response
OK
Changes
- info
added the new optional
queryrequest parameterversion
- info
- warning
removed the optional property
/from the response with the status (media type: application/json) - warning
removed the optional property
/from the response with the status (media type: application/xml)
- warning