“API: Competitor Analysis”

Ranki’s Competitors module lets you audit the organic performance of any rival domain or URL in Google, discover the keywords that drive their traffic, identify their most visited pages and find content gaps against your site.

  • Base REST endpoint: https://api.ranki.co/v1
  • Usage model: 1 API credit per successful call.

Endpoint catalog

Each endpoint has its own reference page with parameters, curl calls and sample responses:

API operationEndpointCostDedicated documentation
domain_metricsPOST /v1/domain-metrics1 API creditView guide for domain_metrics
organic_keywordsPOST /v1/organic-keywords1 API creditView guide for organic_keywords
top_pagesPOST /v1/top-pages1 API creditView guide for top_pages
keyword_gapPOST /v1/keyword-gap1 API creditView guide for keyword_gap

Summary by operation

1. domain_metrics

Gives you a complete view of a domain’s performance: estimated organic traffic, number of ranking keywords, direct competitors, historical trend and Domain Rating.

2. organic_keywords

Lists the keywords a competitor’s domain, path or specific URL ranks for in Google’s index for a country or market.

3. top_pages

Identifies the specific competitor pages that attract the most estimated organic traffic in a geographic location.

  • Cost: 1 API credit.
  • Full documentation: top_pages

4. keyword_gap

Compares your domain (domain1) with up to 5 competitors (domain2–domain6): shared keywords (all rank) or opportunities (a competitor ranks and you don’t).


Monthly API credit quota

The tools in this module deduct API credits from your plan’s monthly quota. The balance renews every month and unused credits don’t roll over. If you need more credits each month, upgrade your plan on Pricing.


💡 Looking to research individual keywords?
To find new keyword ideas and search volumes and analyze the live SERP, see the Keyword Tools guide.