contacts

Telephone

United States

dropdown button

United States

Canada

United Kingdom

Spain

France

Italy

Germany

Australia

+1 (800) 815 - 9959

10:00 AM - 5:00 PM (EST/EDT)

Monday - Friday

mobile-menu

How to get API

Basic docs divider Last updated: May 12, 2025

Standard API

Standard API access is available to users of the SEO Toolkit who have a Business subscription.

1. Upgrade to SEO Business plan

  1. Go to the Pricing page.
  2. Upgrade to the SEO Business plan to buy API units and generate an API key.
seo-business-subscription.png

Note that after upgrading to the SEO Business plan the number of units will still be zero.

2. Buy API unit package

Now you can buy API units according to your needs:

  1. Click the icon at the top right of the Semrush interface to access your account.
  2. Select Subscription info and go to the API Units tab.
  3. Select an API unit package and click Buy more.
Buy API units

background image
How many API units do you need?

The cost of requests is measured in units. Units are determined by the type of report or request. Delivering historical data from the analytics tools requires more units than live data.

For example, one line of response in the Domain Organic Search Keywords report costs 10 units for live results and 50 units for historical data. If you’d like to list 1,000 organic keywords for 100 domains, you will be charged for 1,000,000 and 5,000,000 units, respectively (1,000 keywords * 10 API units for live data * 100 domains = 1,000,000 units; 1,000 keywords * 50 API units for historical data * 100 domains = 5,000,000 units).

We recommend calculating your API request limit before purchasing an API unit package. You can increase your request limit by purchasing API units.

Note that you don't need to buy API units to use the Listing Management API. It's available for all Semrush Local Premium Plan users.

3. Copy API key

Once you have purchased API units, copy your API key to use it in your API requests:

Copy API key

.Trends API access is available to users of the Traffic & Market Toolkit who have a Pro subscription.

background image
Get access to .Trends API

If you're new to the .Trends API, contact our Sales team using the request form.

They will assist you with any questions and offer you a suitable quote.

1. Upgrade to Traffic & Market Pro plan

  1. Go to the Pricing page.
  2. Upgrade to the Traffic & Market Pro plan to buy .Trends API units and generate an API key.
trends-pro-subscription.png

Once you've upgraded, your API key will be available in the API Units tab on the Subscription info page.

However, to use it in requests, you must purchase the .Trends API units first.

2. Select your .Trends API plan and get API units

The .Trends API comes in all paid subscriptions in two plans:

  • .Trends Basic API offers access to broad traffic summaries that include website traffic metrics and user behavior data. Ideal for marketers focused on analyzing competitor web traffic, benchmarking traffic statistics, and understanding user behavior on competitor domains.
  • .Trends Premium API offers everything included in the .Trends Basic API, along with 16 additional data types that allow you to dig deeper into market dynamics, competitor strategies, and web traffic flows.
To learn more about .Trends Basic API and .Trends Premium API, refer to .Trends API subscription plans.

To select the .Trends API plan and add API units:

  1. Click the icon at the top right of the Semrush interface to access your account.
  2. Select Subscription info and go to the Summary tab.
  3. Choose your plan and click Buy .Trends API:
Buy Trends API
The monthly limit rate included by default is 10,000 requests. The .Trends API doesn't use Standard API units.
You can always upgrade your plan from Basic to Premium or increase your limits by choosing the corresponding option on the Subscription info page.
background image
Custom API options

To learn about custom API options and pricing available to you, contact our sales representatives at sales@semrush.com

Listing 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:

  1. Go to the Pricing page.
  2. Upgrade to the Local Pro plan, or contact Sales for the Local Business subscription.
local-pro-business-subscription.png

Learn more about the Listing Management API ›

Map 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 ›