Docs
Search docs...⌘K

Keywords

PUT/v3/management/project-keywords

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

locationsarray

A list of locations to assign to given keywords. You can use the 'Locations and languages' endpoint to get country codes, language codes and location IDs.

countrystring

The country code.

languagestring

The language code.

location_idinteger

The location ID.

keywordsarray

A list of keywords to add.

keywordstring

The keyword to add.

tagsarray

A list of tags to assign to a given keyword.

Responses

keywordsarray
keywordstring

The keyword added to the project.

language_codestring

The code of the language assigned to a given keyword.

languagestring

The name of the language assigned to a given keyword.

location_idinteger

The ID of the location assigned to a given keyword.

locationstring

The name of the location assigned to a given keyword.

tagsarray

A list of tags assigned to a given keyword.