Site Explorer

Refdomains history

Changed on
get/site-explorer/refdomains-history

Request

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

Query parameters

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

The scope of the target.

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.

date_fromstring date required

The start date of the historical period in YYYY-MM-DD format.

date_tostring date

The end date of the historical period in YYYY-MM-DD format.

history_grouping'daily' | 'weekly' | 'monthly'

The time interval used to group historical data.

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

The output format.

Response

OK

Changes