Your browser is out of date. The site might not be displayed correctly. Please update your browser.

Knowledge Base
API
Traffic Analytics API

Traffic Analytics API Manual

Traffic Analytics API allows you to pull raw data from the Traffic Analytics tool on SEMrush. It’s available as a standalone product separate from any SEMrush subscription. The API is available at two levels:

  1. Basic API: Traffic Overview data
  2. Extended API: Traffic Overview, Traffic Sources, Traffic Destinations, Geographic Distribution, Subdomains

Please note: In addition to these two models, custom packaging and pricing is available when you contact a sales representative through phone, email or the contact button from the Traffic Analytics API landing page.

Basic API

Traffic Overview data will be able to show you estimates of a websites visitor behavior. These include monthly visits, unique visits, pages per visit, average visit duration, mobile vs. desktop traffic % and bounce rate.

In the same way the Traffic Analytics Overview report can compare up to 5 domains at a time, you can pull this data for 5 domains in a single request. This data gives you a quick look into the general level of interaction between a website and its visitors.

Extended API

The extended API (full details in the API documentation) offers 4 distinct reports in addition to the Traffic Overview from Basic API:

  1. Traffic Sources
  2. Traffic Destinations
  3. Geographic Distribution
  4. Subdomains

This data will show you more in-depth details of a website’ traffic for a more comprehensive study of a domain’s traffic coming from all angles.

You’ll be able to analyze traffic by source (search, social, paid, referral, and direct) and geographic location (worldwide) - including the top social network sites and search engines sending traffic to a site. This will tell you where a domain’s predominant market comes from online.

Subdomains will give insight into how a domain structure their website to attract visitors and traffic destinations will show you what sites these people visit most often directly after the queried site.

With all of this information, you could create an amazing dashboard to study and compare websites that are of interest to you.

For more information on everything available in Traffic Analytics Overview and deeper reports, please read the Traffic Analytics user manual.

How do you get it?

What makes Traffic Analytics API unique is the fact that you do not need a SEMrush subscription to have access to the API. This means you can pay for the Traffic Analytics API without subscribing to SEMrush. This is an option if you understand you are only going to need access to that raw data and nothing else.

This API does not use any API units associated with the standard SEMrush API for Business subscriptions. It is available as its own monthly or annual subscription. 

If you are interested in our Traffic Analytics API please contact sales@semrush.com and we’ll provide you with a quote that fits your needs.

What can Traffic Analytics API be integrated with?

Data from the Traffic Analytics API can easily be integrated with:

  • Business Intelligence Software (like Tableau, Dundas BI, Domo, etc)
  • Data visualization tools like Google Data Studio
  • Spreadsheets such as Google Sheets or Microsoft Excel
  • Custom dashboards
  • SAAS products
  • And more!

To integrate this API with Google Sheets, follow these instructions. Official Traffic Analytics API documentation for developers and end-users can be found here.

How often is Traffic Analytics API data updated?

Our data is updated every month, meaning you will always be seeing data on a domain’s traffic that is referencing their traffic estimates that occurred the most recent month.

Manual
Show more