YepAPI

Command Palette

Search for a command to run...

POST/v1/seo/domain/keywords

Domain Keywords API

Get every keyword a domain ranks for with positions, volume, traffic, and intent. Reverse-engineer competitor SEO strategies from $0.04/call.

Retrieve every keyword a domain is ranking for, including position, search volume, and URL. Great for competitive analysis and finding keyword gaps.

Try it live

Fill in the fields and hit Run to see a real response.

POST/v1/seo/domain/keywords

Enter domain without protocol.

Number of keywords to return (default 100).

Response
Example response — hit "Send Request" to see a live result
{
  "ok": true,
  "data": [
    {
      "keyword": "stripe",
      "position": 1,
      "searchVolume": 450000,
      "cpc": 8.5,
      "url": "https://stripe.com"
    },
    {
      "keyword": "payment gateway",
      "position": 3,
      "searchVolume": 74000,
      "cpc": 12.3,
      "url": "https://stripe.com/payments"
    }
  ]
}

Features

Full keyword ranking list for any domain

Pull every organic keyword a domain ranks for in one call — no crawling or scraping setup — so you can size a competitor's entire SEO footprint, not just their top terms.

Position, search volume, CPC for each keyword

Each ranked keyword returns its current Google position, monthly search volume, and CPC, so you can sort by traffic value and find a domain's most important terms instantly.

Landing URL for each ranking

Every keyword includes the exact page that ranks for it, letting you group keywords by URL to find a competitor's strongest pages or build a redirect map before a migration.

Configurable result limit up to 1000

Set the limit field to return anywhere from a handful of keywords to a full 1,000-row footprint, so you control cost — pricing scales at $0.02 per 100 results.

Location and language targeting

Pass ISO location and language codes to pull a domain's rankings for a specific market, since a site's US and German keyword sets can be entirely different.

Use cases

Competitive Keyword Analysis

See every keyword a competitor ranks for to reverse-engineer their content strategy and find gaps in yours.

Keyword Gap Identification

Compare your keyword portfolio against competitors to discover high-value terms you're missing.

Content Strategy Research

Analyze which landing pages drive the most organic traffic for any domain to inform your own content roadmap.

Rank Tracking

Monitor a domain's full keyword footprint over time to spot ranking gains, losses, and emerging opportunities.

SEO Migration Planning

Map every ranking keyword and its landing URL before a domain migration to ensure no traffic is lost in the transition.

Quick start

Copy this snippet and start making calls.

const res = await fetch('https://api.yepapi.com/v1/seo/domain/keywords', {
  method: 'POST',
  headers: {
    'x-api-key': 'YOUR_API_KEY',
    'Content-Type': 'application/json',
  },
  body: JSON.stringify({
    "domain": "stripe.com",
    "limit": 100,
    "location_code": 2840,
    "language": "en"
  }),
});
const data = await res.json();
console.log(data);

The domain keywords API — see every keyword any domain ranks for

YepAPI's domain keywords API returns the complete list of search terms a domain ranks for in Google organic results — each with its position, monthly search volume, CPC, and exact landing URL. It's a ranked-keywords API for reverse-engineering competitor SEO: pass any domain, get up to 1,000 of its keywords back as structured JSON, localized by country and language.

Because every keyword ships with the URL behind it, you can group keywords by page to find a competitor's strongest content, diff portfolios for a keyword-gap analysis, or map redirects before a migration. At $0.02 plus $0.02 per 100 results, it's the cheapest way to add competitor keyword intelligence to an SEO tool, agency dashboard, or research pipeline — all under one API key.

What is a domain keywords API?

A domain keywords API returns the keywords a website already ranks for, rather than metrics for keywords you supply. You pass a domain and receive each ranking term with position, volume, CPC, and landing URL in JSON. That makes competitor keyword discovery automatable — pull a rival's footprint, diff it against yours, and surface gaps. YepAPI returns up to 1,000 ranked keywords per domain, localized to any market.

Build your own keyword gap tool

Build a keyword-gap or competitor-research tool on this single endpoint. Pull ranked keywords for several domains, diff the lists, and rank the gaps by volume and position to produce prioritized content recommendations. The landing-URL field lets you cluster keywords by page and reveal a competitor's top-performing content. Pair it with the Keyword Research API to score candidate terms and the SERP API to verify live positions.

Domain keywords API pricing — $0.02 + $0.02 per 100 results

Pricing is $0.02 per call plus $0.02 per 100 results, so 100 ranked keywords cost $0.04 and a full 1,000-keyword pull is about $0.22 — no subscriptions, seats, or minimums. Ahrefs and Semrush keep ranked-keyword data behind four-figure monthly or enterprise plans. YepAPI is pay-as-you-go with $5 of free credit, enough for dozens of full domain pulls before you spend a cent.

Reverse-engineer competitor SEO at scale

Reverse-engineer any competitor's SEO by pulling their entire ranked-keyword footprint and analyzing it programmatically. Sort by volume to find their biggest traffic drivers, group by URL to find their best pages, and diff against your own coverage to find what you're missing. Loop the call across a list of competitors to map an entire niche's keyword landscape from one endpoint.

Try the domain keywords API free

Try the domain keywords API free — $5 of signup credit, no card required, enough for dozens of full domain pulls with real ranking data. You get positions, volumes, and landing URLs, not a stripped sample. After the free credit, keep going at $0.02 plus $0.02 per 100 results, and the same key unlocks every YepAPI SEO, SERP, scraping, and AI endpoint.

Start making API calls in 30 seconds

$5 free credit on signup. No credit card required. Pay per call.

What developers say

Switched from SerpAPI and cut our SERP costs by 80%. Same data quality, way simpler billing.

Marcus T.

SEO Platform Founder

One API key for AI models, SERP data, and web scraping. Saved us from managing 4 separate providers.

Priya S.

Full-Stack Developer

The $5 free credit let us prototype our entire rank tracking feature before committing. No other API does that.

Jake R.

Indie Hacker

Frequently asked questions

Retrieve every keyword a domain is ranking for, including position, search volume, and URL. Great for competitive analysis and finding keyword gaps.

Each API call costs $0.02 (+$0.02 per 100 results). No monthly minimums or subscriptions — you only pay for what you use.

Sign up for a free API key, then send a POST request to /v1/seo/domain/keywords. Check the code example above for a ready-to-use snippet in JavaScript, cURL, or Python.

YepAPI bundles SEO, AI, and web scraping APIs under one key with no monthly minimums. You get lower per-call pricing, a unified dashboard, and one billing account instead of managing multiple providers.

Ready to integrate?

Get your API key and start making calls in 30 seconds. $5 free credit on signup — no credit card required.

More seo apis endpoints