API

Analyze domain traffic, top markets, and competitors

This guide explains how to analyze website performance worldwide and by region, identify top markets, compare competitors, and define next steps for keyword growth.

Step 1. Get a worldwide traffic overview

Start with a global snapshot to understand total reach and scale using Get worldwide domain overview (/overview/worldwide).

Copy
curl --location 'https://api.seranking.com/v1/domain/overview/worldwide?domain=seranking.com&currency=USD&fields=traffic,keywords,price&show_zones_list=1' \
--header 'Authorization: Token YOUR_API_KEY'

What to look for:

  • organic[].traffic_sum and keywords_count
  • adv[].traffic_sum and keywords_count
  • zone-level entries (source = country code)

Sort zones by traffic_sum to identify top markets.


Step 2. Select top regional markets

From the /overview/worldwide response, pick the countries with the highest traffic or keyword volume. These markets will drive the rest of the analysis.


Step 3. Analyze local performance per market

For each selected market, retrieve a regional overview with Get domain overview by region (/overview/db).

Example: United States

Copy
curl --location 'https://api.seranking.com/v1/domain/overview/db?source=us&domain=seranking.com&with_subdomains=1' \
--header 'Authorization: Token YOUR_API_KEY'

What you’ll get:

  • organic vs paid traffic split
  • keyword distribution by ranking positions
  • monthly position changes

Step 4. Identify competitors in each market

Now, find who competes with your website in organic search for each market using Get domain competitors (/competitors).

Example: Organic competitors in the US

Copy
curl --location 'https://api.seranking.com/v1/domain/competitors?source=us&domain=seranking.com&type=organic&stats=1' \
--header 'Authorization: Token YOUR_API_KEY'

What you’ll get:

  • competitor domains
  • number of common keywords
  • competitor total keywords and estimated traffic

Step 5. Compare traffic against competitors

Use competitor stats to benchmark performance. Focus on competitors with high common_keywords and higher traffic_sum than your domain.

For each key competitor, compare:

  • traffic_sum
  • total_keywords

Note where competitors outperform your website. This helps you decide which competitors to prioritize in keyword analysis.


Next steps:

1. Perform keyword gap analysis with Analyze keyword overlap and gaps (/keywords/comparison) to find keywords competitors rank for, but your domain doesn’t.

2. Categorize keywords by intent with Get domain keyword rankings (/keywords) to group keywords into informational, commercial, transactional, etc.

3. Rank keyword clusters by traffic potential, difficulty, and business relevance.

4. Create new pages, expand existing ones, and track progress with regional and keyword history endpoints.

Learn how SE Ranking’s API can boost your SEO!

Hi! Meet our product expert, Alex.

He’ll walk you through the API and show you how to get the most out of it.

  • Enjoy a tailored demo on integrating rich, structured SEO data into your stack.
  • Pin down every tech detail live—auth, endpoints, rate limits, data formats.
  • Compare usage tiers and pricing so you can unlock maximum data value.

Request a free demo to see our tools and integrations in action

By clicking this button, you agree to SE Ranking’s Terms of Services and Privacy Policy.