Semrush API overview

Jump to Access SEO and traffic data via Semrush APIAccess SEO and traffic data via Semrush API

Semrush API (Application Programming Interface) is a method of extracting raw Semrush data without manually logging into the platform. It empowers marketers, analysts, and developers to automate insights and seamlessly integrate Semrush data into their own systems and workflows.

More than just an SEO audit API, Semrush API:

  • Provides access to a comprehensive ecosystem of data—from SERP insights, such as keyword rankings and backlinks, to website traffic, including AI search traffic data from AI-powered search engines and assistants like ChatGPT, Gemini, and Copilot.
  • Delivers website audience insights, key traffic channels, and market trends, enabling you to evaluate your domain performance across industries.
  • Supports local listing management, helping you maintain consistent business information across locations, monitor customer reviews, manage your Google Business Profile data, and track your location ranking on Google Maps.

Jump to Available Semrush APIsAvailable Semrush APIs

Access requirements and API unit costs depend on the API and endpoint. Traffic & Market API, SEO API, and Projects API use the same API units. For details, refer to API access and each endpoint’s price.

Semrush provides APIs for several Semrush toolkits:

API
Version
Toolkit
Lets you
Authorization method
Response format
v4
Traffic & Market
Retrieve website traffic metrics, audience data, and market insights
API key Version 4
CSV and JSON
SEO API
v4
SEO
Pull analytics reports, such as domain, organic search, keyword, and backlinks reports
API key Version 4
CSV and JSON
Projects API
v4
SEO
Pull data from Position Tracking and Site Audit campaigns and manage your projects
API key Version 4
JSON
Local API
v4
Local
Manage your locations and listings, monitor customer reviews, access your Google Business Profile data, and pull data on your campaigns, keywords, and competitors
JSON
Enterprise API
v4
Semrush Enterprise
Pull Prompt Tracking data from your AI Optimization (AIO) projects, such as brand visibility, mentions, sentiment, and citations in AI responses
API key Version 4
CSV and JSON

Semrush APIs return data as CSV and JSON outputs depending on the endpoint type. Review the response examples to simplify integration with your BI tools or custom reporting systems.

Learn about API versions ›

Jump to Explore Semrush API tutorials and documentationExplore Semrush API tutorials and documentation

Jump to Use cases and tutorialsUse cases and tutorials

Explore the real-world Semrush API use cases with practical API method examples, and follow the step-by-step Semrush API tutorials to learn how each endpoint works in action.

Jump to Supporting documentationSupporting documentation

Once you have your API access, review the following Semrush API documentation to ensure a smooth integration process and accurate data flow:

  • Follow the Quick start guide for Version 4 or Version 3 to get your API key, construct your first request, and process the response.
  • Explore the data available through the SEO API, Traffic & Market API, and Local API. This includes keyword rankings, backlinks, traffic insights, AI search data, and historical data for deeper performance analysis.
  • Discover the available Semrush API options, such as SEO API, Projects API, Traffic & Market API, and Local API, to support your specific SEO and local data use cases.
  • Check the API usage restrictions to ensure stable performance.

Jump to Documentation for AI assistantsDocumentation for AI assistants

Semrush API documentation is also published as llms.txt index files. Each file lists the documentation pages with short descriptions, so AI assistants and coding tools, such as Claude, ChatGPT, Cursor, and VS Code, can find the right page instead of crawling the portal.

Because the available APIs and methods differ between versions, each version has its own index file, alongside one that covers both—a good starting point if you’re not sure which version you’re integrating with:

Give your AI assistant an index file URL so its answers reflect the current Semrush API documentation. The assistant follows the links to the pages it needs, so it can point you to the right endpoint, parameters, and authorization method for your API version.

Jump to Integrate Semrush data into your AI toolsIntegrate Semrush data into your AI tools

The Semrush MCP server provides AI agents with secure access to Semrush APIs. It enables direct use of SEO metrics, traffic insights, and market trends in AI tools and assistants such as Claude (browser and desktop), Claude Code, Cursor, VS Code, Antigravity, and ChatGPT. For example, in ChatGPT you can use it as a connector to work with Semrush data directly in your chats.

Learn how to set up the Semrush MCP server to simplify your AI workflows. To get started faster, use ready-to-use prompts and skills from the Semrush MCP library.

Jump to API optionsAPI options

Semrush offers the following API options:

To learn how to start using the API, refer to API access.

Jump to SEO APISEO API

The SEO API (v4) lets you pull data from Domain, Keyword, and Backlink analytics tools, such as:

  • Domain Overview
  • Organic Research
  • Keyword Gap
  • Advertising Research
  • PLA Research
  • Ads history
  • Keyword Overview
  • Keyword Magic Tool
  • Backlink Analytics
  • Backlink Gap

SEO API requires an SEO Business subscription and API units purchased separately. For details, refer to API access. For API key setup, refer to Authorization.

Jump to Projects APIProjects API

The Projects API (v4) lets you manage your Semrush projects and set up and pull data from your Position Tracking and Site Audit campaigns.

Projects API requires an SEO Business subscription and API units purchased separately. For details, refer to API access. For API key setup, refer to Authorization.

Jump to Traffic & Market APITraffic & Market API

The Traffic & Market API (v4) provides website traffic metrics and audience data. Use it to compare traffic trends, understand audience characteristics, and analyze traffic sources and destinations.

Traffic & Market API uses the same API units as SEO API and Projects API. Access requirements depend on the API. For details, refer to API access.

Jump to Local APILocal API

Local API includes the Listing Management API, Review Management API, Google Business Profile Tool API, and Map Rank Tracker API.

Jump to Listing Management APIListing Management API

The Listing Management API lets you push data from your tools into Semrush Listing Management. Learn more about the Listing Management API ›

This API is available for all Semrush Local Pro and Business plan users.

Jump to Review Management APIReview Management API

The Review Management API lets you monitor and analyze customer reviews for your business locations, including ratings, rating distribution, and reply statistics, respond to reviews by managing their comments, and configure automatic replies. Learn more about the Review Management Tool ›

This API is available for all Semrush Local Pro and Business plan users who have connected their locations to Google Business Profile. You don’t need to purchase API units to access it.

Jump to Google Business Profile Tool APIGoogle Business Profile Tool API

The Google Business Profile Tool API lets you retrieve GBP-specific categories, attributes, performance metrics, posts, and extended hour types for your locations. Learn more about the Google Business Profile Tool ›

This API is available for all Semrush Local Pro and Business plan users who have connected their locations to Google Business Profile. You don’t need to purchase API units to access it.

Jump to Map Rank Tracker APIMap Rank Tracker API

The Map Rank Tracker API lets you access critical data related to your campaigns, keywords, and competitors. Learn more about Map Rank Tracker API ›

This API is available for all Semrush users. You don’t need to purchase API units or have a special subscription to access it.

Jump to Enterprise APIEnterprise API

The Enterprise API (v4) lets you pull Prompt Tracking data from your AI Optimization (AIO) projects: the prompts and topics you track, brand visibility, mentions, sentiment, and citations, as well as competitors, cited sources, and AI responses.

This API is available for Semrush Enterprise subscriptions. It currently doesn’t consume API units.

Jump to FAQFAQ

Jump to What can I use the Semrush API for?What can I use the Semrush API for?

The Semrush API can address many business needs, from optimizing SEO/PPC ROI to enhancing your market strategy.

To pick the right API type and methods for you, check out the most common Semrush API use cases.

Jump to Which platforms support Semrush API integration?Which platforms support Semrush API integration?

The Semrush API can be integrated with almost any platform, application, or service that supports HTTPS requests. This includes:

  • Automation platforms such as Zapier, Make, and n8n
  • Business intelligence and reporting tools such as Google Sheets, Looker Studio, Tableau, and Power BI
  • Data warehouses such as BigQuery and Snowflake
  • CRMs such as Salesforce and HubSpot
  • AI assistants and developer tools using the Semrush MCP Server, including ChatGPT, Claude, Cursor, VS Code, Antigravity, and Perplexity
  • Internal applications using the REST APIs

Jump to Can I connect the Semrush API to AI assistants?Can I connect the Semrush API to AI assistants?

Yes. For AI-assisted workflows, Semrush provides the Semrush MCP Server that lets AI assistants and development tools securely access Semrush API data using the Model Context Protocol (MCP).

Refer to the setup guides for several AI development environments and assistants, including ChatGPT, Claude, Claude Code, Cursor, VS Code, Perplexity, Antigravity, and Lovable.

Jump to Which Semrush API should I use?Which Semrush API should I use?

Choose the Semrush API based on the data you need:

If you need
Use
SEO, keyword, backlink, and domain data
SEO API (v3, v4)
Website traffic and market insights
Position Tracking or Site Audit projects
Projects API (v3, v4)
Business listings and local search
Local API (v4)
Brand visibility in AI responses from tracked prompts
Enterprise API (v4)

Jump to How do SEO API, Projects API, and Traffic & Market API differ?How do SEO API, Projects API, and Traffic & Market API differ?

  • SEO API and Projects API provide tactical SEO and PPC data—rankings, backlinks, keywords, site audits, and more—ideal for in-depth site optimization.
  • The Traffic & Market API offers strategic, market-level insights using real user behavior data (clickstream). It helps analyze market dynamics, audience overlap, traffic trends, and competitor movement—perfect for high-level market analysis and benchmarking.

For access requirements, refer to API access.

Jump to Will Semrush notify me about changes in the API?Will Semrush notify me about changes in the API?

If major changes are made, Semrush will let you know about them with reasonable advance notice, and deprecated methods stay operational for a transition period. New endpoints, deprecations, and documentation updates are announced in the Release notes.

For specific inquiries, contact Semrush Tech Support or your account representative.

Jump to Where can I get help building Semrush API integrations?Where can I get help building Semrush API integrations?

Start with the Semrush API documentation. Use the API reference to find the right endpoints for your use case, then follow the Quick start guide for Version 4 or Version 3 to build and test your requests. If your results don’t match what you see in the Semrush UI, refer to Troubleshooting.

If you still need help, contact Semrush Tech Support. Include the API endpoint, request, response or error message, and your account type to help us investigate your issue faster.

Last updated: November 20, 2026

Was this page helpful?