Overview
Jump to AboutAbout
Projects API includes several endpoint groups:
- Projects API lets you get information about your folders (formerly called projects) and manage them.
- Position Tracking API lets you monitor keyword rankings, visibility, and competitors’ performance across search engines and locations. It provides access to ranking data for specific keywords, devices, and regions.
- Site Audit API lets you automatically crawl websites, identify technical SEO issues, and retrieve structured reports about site health and performance. With this API, you can run new audits, monitor ongoing crawl progress, and access detailed reports on errors, warnings, and notices.
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, Position Tracking, and Site Audit APIs require an API key.
Jump to ResponseResponse
HTTP 200HTTP 400All endpoints in the Projects API return responses in JSON format.
Jump to Error messagesError messages
The Projects, Position Tracking, and Site Audit APIs return error messages in the following format:
{
"code": "{ERROR_CODE}",
"message": "{ERROR_MESSAGE}"
}integerstringIn 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.
70API key hash failure120Wrong key-ID pair121Wrong format or empty hash122Wrong format or empty key130API disabled131Limit exceeded132API units balance is zero134Total limit exceeded511Unknown error512Can't find project with project_id {ID}513Invalid 'tool_id'515Campaign already exists519Missing mandatory URL parameter520Invalid tag name521Projects limit exceed, projects created: {projects_count}, user limit are {projects_limit}522Keywords limit exceed, keywords limit {keywords_limit} already tracked keywords {keywords_count}Jump to Project and campaign IDsProject and campaign IDs
To make requests using the Projects, Position Tracking, and Site Audit API methods, you need to get your project and campaign IDs.
Jump to Get your project IDGet your project ID
- Navigate the main Projects page and select the required project.
- Check the page URL displayed in your browser’s address bar. It’ll look as follows:
https://www.semrush.com/projects/6647718 - The number after
projectsis your project ID. In this example, it’s6647718. Copy and save it for future requests.
Jump to Get your campaign IDGet your campaign ID
- Open your campaign using the Position Tracking tool.
- Check the page URL displayed in your browser’s address bar. It’ll look as follows:
https://www.semrush.com/tracking/landscape/6647718_272401.html?domain_1=wikipedia.org - The number before the underscore represents the project ID. In this example, it’s
6647718. The full number including the underscore is the campaign ID. In this example, it’s6647718_272401. Copy these numbers and save them for future requests.
Jump to Get multiple project and campaign IDsGet multiple project and campaign IDs
You can use the List All Existing Projects request that returns a list of all your projects, including their IDs and basic information.
To find the IDs for multiple campaigns within a project, use the Get a list of campaigns request specifying the project ID you need.
Last updated: July 15, 2026