Site Explorer
get/site-explorer/backlinks-stats

Request

  • Base URL
    https://api.ahrefs.com/v3
  • URL
    https://api.ahrefs.com/v3/site-explorer/backlinks-stats
  • Auth
    HTTP bearer

Query parameters

datestring date required

A date to report metrics on in YYYY-MM-DD format.

mode'exact' | 'prefix' | 'domain' | 'subdomains'

The scope of the search based on the target you entered.

targetstring url required

The target of the search: a domain or a URL.

portfolio_idinteger

The unique identifier of the portfolio. When provided, it takes precedence over target.

protocol'both' | 'http' | 'https'

The protocol of your target.

output'json' | 'csv' | 'xml' | 'php'

The output format.

Response

OK

Changes