“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 operation | Endpoint | Cost | Dedicated documentation |
|---|---|---|---|
domain_metrics | POST /v1/domain-metrics | 1 API credit | View guide for domain_metrics |
organic_keywords | POST /v1/organic-keywords | 1 API credit | View guide for organic_keywords |
top_pages | POST /v1/top-pages | 1 API credit | View guide for top_pages |
keyword_gap | POST /v1/keyword-gap | 1 API credit | View 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.
- Cost: 1 API credit.
- Full documentation:
domain_metrics
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.
- Cost: 1 API credit.
- Full documentation:
organic_keywords
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).
- Cost: 1 API credit per comparison (regardless of the number of competitors).
- Full documentation:
keyword_gap - In-app user guide: Keyword Gap: Basic User Guide
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.