YepAPI

Command Palette

Search for a command to run...

POST/v1/seo/keywords

Keyword Research API

Keyword research API with search volume, CPC, difficulty, competition, and 12-month trends. Up to 100 keywords per request from $0.15/call.

Retrieve comprehensive keyword data including monthly search volume, cost-per-click, competition scores, keyword difficulty, and 12-month trend data. One call replaces 3-4 upstream API calls elsewhere.

Try it live

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

POST/v1/seo/keywords

One keyword per line. Max 100 per request.

Response
Example response — hit "Send Request" to see a live result
{
  "ok": true,
  "data": [
    {
      "keyword": "nextjs seo",
      "searchVolume": 14500,
      "cpc": 2.54,
      "difficulty": 45,
      "competition": "medium",
      "trend": [
        12100,
        13200,
        14500,
        14800,
        14200,
        13900
      ]
    }
  ]
}

Features

Search volume, CPC, difficulty, and competition in a single call

Every keyword comes back with monthly search volume, cost-per-click, a 0–100 difficulty score, and a competition value together, so one request answers what usually takes three or four separate lookups.

Search intent classification (informational, commercial, transactional)

Each keyword is tagged with its intent, letting you match content format to the searcher's goal — guides for informational terms, comparison and product pages for commercial and transactional ones.

12-month trend data with monthly granularity

The response carries a 12-point monthly volume array per keyword, so you can read seasonality and catch rising terms instead of reacting to a single static average.

Up to 100 keywords per request

Send up to 100 keywords (one per line) in a single call, and batch larger lists in groups of 100 to research thousands of terms cheaply without hitting per-keyword rate limits.

Location and language targeting with simple ISO codes

Pass country and language ISO codes such as us/en, de/de, or fr/fr to get market-localized volume, CPC, and difficulty rather than a blended global number.

Use cases

SEO Audits

Pull search volume and difficulty for hundreds of keywords at once to prioritize optimization opportunities across your site.

Content Planning

Build data-driven editorial calendars by analyzing keyword demand, CPC value, and seasonal trends before writing.

Programmatic SEO

Feed keyword data into automated page-generation pipelines to create thousands of targeted landing pages at scale.

AI Agent Workflows

Give LLM-based research agents real-time keyword intelligence to make informed decisions about content strategy.

Competitor Gap Analysis

Compare keyword portfolios between domains to find high-value terms your competitors rank for but you don't.

Quick start

Copy this snippet and start making calls.

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

The keyword research API for developers — search volume, difficulty & CPC

YepAPI's keyword research API gives you programmatic access to the metrics that drive SEO decisions: monthly search volume, cost-per-click, keyword difficulty, competition score, search intent, and 12-month trends. Send up to 100 keywords in one request and get clean, structured JSON back — no dashboard scraping, no CSV exports, no seat-based pricing. It's the keyword search volume API behind rank trackers, content tools, and programmatic SEO pipelines.

Because every metric ships in a single call, one request replaces the three or four separate lookups you'd otherwise assemble from different products. At $0.15 per call for up to 100 keywords, it's the most cost-effective way to run bulk keyword research, score topics by opportunity, and feed live keyword data to AI agents — all behind one API key with pay-as-you-go pricing.

What is a keyword research API?

A keyword research API returns keyword metrics as data instead of as a web dashboard. You pass a list of terms and receive search volume, CPC, keyword difficulty, competition, and search intent in JSON. That turns keyword research into something you can automate — score thousands of terms, gate which pages get built, or hand live demand data to an LLM agent. YepAPI delivers all of these fields for up to 100 keywords per call, localized by country and language.

Build your own keyword research tool

Build your own keyword research tool, rank tracker, or content planner on a single endpoint. The API returns volume, difficulty, CPC, competition, intent, and a 12-month trend array per keyword — enough to power keyword explorers, opportunity-scoring dashboards, content-gap reports, and client deliverables. Pair it with the SERP API to check live rankings and the domain keywords API to pull competitors' terms, all under one key.

Keyword research API pricing — $0.15 per call

Keyword research API pricing is $0.15 per call, and each call returns up to 100 keywords — full metrics for 100 terms for a flat fifteen cents. No monthly minimums, no per-seat fees, no annual contracts. Semrush and Ahrefs lock comparable keyword data behind enterprise or four-figure monthly plans; YepAPI is pay-as-you-go with $5 free credit to start. You only ever pay for the batches you actually run.

Bulk keyword research at scale

Bulk keyword research is the core use case: 100 keywords per call means researching 10,000 terms costs around $15. Loop batches of 100 to validate demand for an entire programmatic SEO project, then build pages only for keywords with real search volume behind them. Structured JSON output drops straight into your database, so the whole pipeline — research, filter, generate — can run unattended.

Try the keyword API free

Try the keyword research API free — $5 of credit on signup, no credit card required. That's enough to research several thousand keywords with full production-quality metrics, not a stripped-down trial. Unlike free tiers that cap volume or hide difficulty and CPC, your free credit returns the complete metric set. After it's used, keep going at $0.15 per call with no minimums.

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 comprehensive keyword data including monthly search volume, cost-per-click, competition scores, keyword difficulty, and 12-month trend data. One call replaces 3-4 upstream API calls elsewhere.

Each API call costs $0.15. 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/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