API access
Jump to Get access to Semrush APIGet access to Semrush API
Semrush offers several API options for different use cases, each with its own subscription, authentication method, and access requirements. This guide covers:
- SEO API and Projects API
- Traffic & Market API
- Local API, including Listing Management API and Map Rank Tracker API
Choose the API that matches your use case, then follow its setup instructions to obtain your credentials and make your first request.
Jump to SEO API and Projects APISEO API and Projects API
SEO API and Projects API are available to users of the SEO Toolkit who have a Business subscription.
Jump to 1. Upgrade to SEO Business plan1. Upgrade to SEO Business plan
- Go to the Pricing page.
- Upgrade to the SEO Business plan to buy API units and generate an API key.
Note that after upgrading to the SEO Business plan the number of units will still be zero.
Jump to 2. Buy API unit package2. Buy API unit package
Now you can buy API units according to your needs:
- Click the icon at the top right of the Semrush interface to access your account.
- Select Subscription info and go to the API Units tab.
- Select an API unit package and click Buy.
Jump to How many API units do you need?How many API units do you need?
The cost of requests is measured in API units. API units are determined by the type of report or request. Unit costs and historical-data pricing vary by endpoint. Check the price in the endpoint reference.
Jump to 3. Get your API key3. Get your API key
Once you have purchased API units, go to the API Keys page and get your API key from the list of your active keys:
For API key setup and your first request, refer to the Version 4 Quick start guide.
Jump to Traffic & Market APITraffic & Market API
You need access to the Traffic & Market API and a Version 4 API key.
Traffic & Market API uses the same API units as SEO API and Projects API. API access and API units are separate requirements. Having API units doesn’t grant access to every API.
For access options, contact Sales. For supported reports, request examples, and endpoint prices, refer to the Traffic & Market API overview.
Jump to Listing Management APIListing Management API
The Listing Management API is available to Semrush Local users who have a Pro and Business subscription. You don’t need to buy API units to use it.
To get access to the API:
- Go to the Pricing page.
- Upgrade to the Local Pro plan, or contact Sales for the Local Business subscription.
Learn more about the Listing Management API ›
Jump to Map Rank Tracker APIMap Rank Tracker API
The Map Rank Tracker API is available for all Semrush users. You don’t need to purchase API units or have a special subscription to access it.
Learn more about Map Rank Tracker API ›
Jump to FAQFAQ
Jump to Do I need a paid subscription to use the Semrush API?Do I need a paid subscription to use the Semrush API?
Access requirements depend on the API. SEO API and Projects API require an SEO Business subscription. Traffic & Market API requires its own access. Some Local API methods are available without a paid subscription. See the access requirements above for the API you want to use.
Jump to Where can I find my API key?Where can I find my API key?
Your Semrush API key is available in the API keys section of your Semrush profile.
Some APIs use OAuth instead of API keys. To learn more, refer to Authorization.
Jump to What should I do if I lose or need to rotate my API key?What should I do if I lose or need to rotate my API key?
If your API key is lost or may have been compromised, replace it immediately.
- For Version 4 API keys, create a new key, update your integrations, and revoke or delete the old key.
Last updated: November 20, 2026