API

Find keyword opportunities for a domain

In this guide, we’ll analyze a domain’s global performance, identify top competitors, and define keyword opportunities. You can apply these steps to any domain, region, or keyword set.

Step 1. Analyze a domain’s global performance

Start by getting a high-level view of your target domain’s performance. The Get worldwide domain overview endpoint aggregates organic and paid search statistics on a global scale.

Copy
curl --location 'https://api.seranking.com/v1/domain/overview/worldwide?domain=visa.com¤cy=USD' \
--header 'Authorization: Token YOUR_API_KEY'

What you’ll get:

  • Total number of keywords
  • Estimated organic and paid traffic
  • Traffic value across regions

Step 2. Identify top competitors

Next, find out who you’re competing with in the SERPs. The Get domain competitors endpoint returns the top organic or paid competitors for your domain.

Example: Find the top organic competitors for visa.com in the US database

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

What you’ll get:

  • A list of domains, such as mastercard.com or paypal.com
  • The number of overlapping keywords with each domain

Step 3. Find new keyword opportunities

After identifying your competitors, you can find new keyword opportunities in several ways.

A. Analyze your dropped keywords (low-hanging fruit)

Use the Get domain keyword rankings endpoint with the pos_change=lost parameter to find keywords your domain no longer ranks for. These are often quick wins for content updates or re-optimization.

Example: Retrieve keywords that visa.com has lost in the US

Copy
curl --location 'https://api.seranking.com/v1/domain/keywords?source=us&domain=visa.com&type=organic&pos_change=lost&order_field=volume&order_type=desc' \
--header 'Authorization: Token YOUR_API_KEY'

B. Find competitor keyword gaps

Use the Analyze keyword overlap and gaps endpoint with diff=1 to find keywords a competitor ranks for, but you don’t.

Example: Find keywords that mastercard.com ranks for in the US, but visa.com doesn’t

Copy
curl --location 'https://api.seranking.com/v1/domain/keywords/comparison?source=us&domain=mastercard.com&compare=visa.com&type=organic&diff=1&order_type=desc&order_field=volume&cols=keyword%2Cvolume%2Ccpc%2Ccompetition%2Cdifficulty%2Cposition%2Cprice%2Ctraffic' \
--header 'Authorization: Token YOUR_API_KEY'

C. Expand your topic clusters

Use the Get similar keywords and Get related keywords endpoints to build topic clusters with close variants or semantically related queries.

Example: Find semantically similar keywords to best credit cards

Copy
curl --location 'https://api.seranking.com/v1/keywords/similar?source=us&keyword=best%20credit%20cards&limit=10' \
--header 'Authorization: Token YOUR_API_KEY'

D. Optimize for AI Overviews

Use the Get prompts by target endpoint to see where competitors appear in AI Overview (AIO) snippets, and your domain doesn’t.

Example: Retrieve prompts where mastercard.com appears in an AI Overview snippet

Copy
curl --location 'https://api.seranking.com/v1/ai-search/prompts-by-target?target=mastercard.com&scope=domain&source=us&engine=ai-overview&limit=10' \
--header 'Authorization: Token YOUR_API_KEY'

Next steps:

  • For each prompt in the response, check the links array.
  • If your domain is absent, this indicates a content gap you can target.

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.