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/).

get/public/domain-rating-free

Request

  • Base URL
    https://api.ahrefs.com/v3
  • URL
    https://api.ahrefs.com/v3/public/domain-rating-free
  • Auth
    none 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 query request parameter version

    • 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)