Overview

Jump to AboutAbout

Projects API allows you to create, retrieve, update, and delete projects.

Jump to Get accessGet access

To use the Projects API, you must have the SEO Business subscription and available API units. Learn more about the Standard API ›

Jump to AuthorizationAuthorization

Projects API in Version 4 requires a Version 4 API key which is assigned to each user after subscribing to Semrush.

You’ll find your API key in the API keys section of your Semrush profile. If your API key is unavailable there, refer to API access.

Jump to ResponseResponse

All endpoints in the Projects API return responses in JSON format.

Jump to Response formatResponse format

The Projects API returns a JSON object with a top-level meta object followed by either a data object or an error object, but not both.

Key
Type
Description
success
boolean
Request status.
status_code
integer
HTTP status code.
request_id
string
Unique ID of the request.

For the List Projects endpoint, meta also includes scope, limit, offset, and total_count.

Jump to Error messagesError messages

The Projects API returns error messages in the following format:

Error message format
JSON
{
  "code": "{ERROR_CODE}",
  "message": "{ERROR_MESSAGE}"
}
ERROR_CODE
ERROR_MESSAGE
integer
string
Machine-parseable codes.
Descriptive error text.

In addition to a descriptive error text, error messages contain machine-parsable codes. While the text for an error message may change, the codes will stay the same.

Error code
Error message
Recommended action
70
API key hash failure
Double-check that your API key is correct and valid.
120
Wrong key-ID pair
Check that the API key is correct. You can find your key in the Subscription info section.
121
Wrong format or empty hash
Check that the API key is correct. You can find your key in the Subscription info section.
122
Wrong format or empty key
Check that the API key is correct. You can find your key in the Subscription info section.
130
API disabled
Upgrade your subscription plan to get access to the API.
131
Limit exceeded
The API request limit for the requested report has been reached. Contact the Semrush Support Team.
132
API units balance is zero
You have used all your API units. To continue using the API, recharge your API unit balance or upgrade your subscription.
134
Total limit exceeded
The total API request limit has been reached. Contact the Semrush Support Team.
511
Unknown error
Contact the Semrush Support Team and provide them with your API request.
512
Can't find project with project_id {ID}
Check that the project ID is correct.
513
Invalid 'tool_id'
Check that the tool ID is correct.
515
Campaign already exists
A campaign with the same parameters already exists. Create a new one.
519
Missing mandatory URL parameter
Check that you have added all the required parameters in the request URL.
520
Invalid tag name
Check that the tag name is correct.
521
Projects limit exceed, projects created: {projects_count}, user limit are {projects_limit}
You have reached the limit of projects for your account. To create a new project, delete an existing one.
522
Keywords limit exceed, keywords limit {keywords_limit} already tracked keywords {keywords_count}
You have reached the limit of keywords for your account. To add new keywords, buy more keywords or remove some of the existing ones.

Jump to Project IDProject ID

To make requests using the Projects methods, you need to get your project ID.

Jump to Get your project IDGet your project ID

  1. Navigate the main Projects page and select the required project.
  2. Check the page URL displayed in your browser’s address bar. It’ll look as follows: https://www.semrush.com/projects/6647718
  3. The number after projects is your project ID. In this example, it’s 6647718. Copy and save it for future requests. The full number including the underscore is the campaign ID.

Jump to Get multiple project IDsGet multiple project IDs

You can use the List Projects request that returns a list of all your projects, including their IDs and basic information.

Last updated: July 15, 2026

Was this page helpful?