Public

Domain rating free

Changed on

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:

  1. Sign up for a free Ahrefs account (if you don't have one)
  2. Generate an API key in Account settings → API keys
  3. 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/).

post/public/domain-rating-free

Request

Query parameters

output'json' | 'php'

The output format.

Request body

targetsstring[] required

The targets of the search: domains or URLs.

version'dr3' | 'dr4'

The Domain Rating version.

Response

OK

Changes