Competitors
API onlyPOST/v3/management/project-competitors
Requests to this endpoint are free and do not consume any API units.
Query parameters
project_idintegerRequired
The unique identifier of the project. You can find it in the URL of your Rank Tracker project in Ahrefs: https://app.ahrefs.com/rank-tracker/overview/#project_id#
outputstring
The output format.
Allowed values:jsoncsvxmlphp
Request body
competitorsarray<object>Required
A list of competitors to add.
urlstringrequired
The URL of the project's target.
modestringrequired
The scope of the target.
Allowed values:exactprefixdomainsubdomains
Responses
competitorsarray<object>
urlstring
The URL of the project's target.
modestring
The scope of the target. Possible values: exact, prefix, domain, subdomains.
errorstring
errorstring
errorstring
errorstring
errorstring