close
Docs
Search docs...⌘K

Domain rating free

API + MCP
GET/v3/public/domain-rating-free

Authentication required starting September 1, 2026

This endpoint currently works without authentication, but from September 1, 2026 all requests must include an API key. API keys are free. The endpoint remains completely free and does not consume API units. Unauthenticated requests will receive 401 Unauthorized after this date.

You can migrate now — there's no need to wait for the switch date:

  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>

Requests to this endpoint are free and do not consume any API units.

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

The output format.

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.

warningstring or null

Warning about unauthenticated access.