Site Explorer
Backlinks stats
Changed onget/site-explorer/backlinks-stats
Request
- Base URLhttps://api.ahrefs.com/v3
- URLhttps://api.ahrefs.com/v3/site-explorer/backlinks-stats
- AuthHTTP 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
- info
added the new optional
queryrequest parameterportfolio_id
- info