YepAPI

Command Palette

Search for a command to run...

POST/v1/seo/competitors/pages

SERP Page Overlap API

Compare specific pages to find shared SERP keywords. Detect content cannibalization and page-level competition from $0.04/call.

Compare specific pages (not just domains) to find which keywords they both rank for. Supports up to 20 pages with wildcard patterns for URL matching.

Try it live

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

POST/v1/seo/competitors/pages

JSON object with numbered keys and page URLs. Supports wildcards: "stripe.com/blog/*"

Number of keywords to return.

Response
Example response — hit "Send Request" to see a live result
{
  "ok": true,
  "data": {
    "keywords": [
      {
        "keyword": "payment processing api",
        "volume": 2400,
        "cpc": 18.5,
        "competition": 0.82,
        "difficulty": 68,
        "intent": "commercial",
        "pages": [
          {
            "url": "https://stripe.com/payments",
            "position": 2,
            "type": "organic",
            "etv": 650
          },
          {
            "url": "https://square.com/payments",
            "position": 5,
            "type": "organic",
            "etv": 180
          }
        ]
      }
    ]
  }
}

Features

Compare up to 20 specific pages

The pages JSON accepts up to 20 numbered URLs, so you compare individual pages — yours and competitors' — rather than whole domains, in a single call.

Wildcard URL patterns (e.g., example.com/blog/*)

Page entries support wildcards like example.com/blog/*, letting you match a whole section of a site instead of listing every URL by hand.

Volume, CPC, difficulty, and intent per keyword

Each shared keyword returns volume, cpc, difficulty, and an intent label, so you can prioritize the overlapping terms by value and buyer intent.

Position and traffic estimate per page per keyword

Each keyword lists every matched page with its position and etv, showing exactly which page wins a term and by how much traffic.

Result type classification (organic, featured snippet, etc.)

Each page-keyword entry includes a type field (organic, featured snippet, and so on), so you know the SERP feature each page holds for the term.

Use cases

Page-Level Competitor Analysis

Compare your top blog post against a competitor's to find exactly which keywords you're both targeting and who wins.

Content Cannibalization Detection

Find keywords where two of your own pages compete in the same SERPs, then consolidate to boost rankings.

Landing Page Optimization

See which keywords a competitor's landing page ranks for that yours doesn't — then optimize your page to capture those terms.

Quick start

Copy this snippet and start making calls.

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

The SERP page overlap API for developers — find shared keywords between specific pages

The SERP Page Overlap API compares specific pages — up to 20, with wildcard support — and returns the keywords they share in search results, with each page's position, traffic estimate, and SERP feature type per keyword. It is competitor analysis and cannibalization detection at the page level.

It is the URL-granular tool in YepAPI's competitor suite. Where the Keyword Gap endpoint compares whole domains, this compares individual pages — the right lens for tuning a single landing page or catching two of your own pages competing, under one key.

What is a SERP page overlap API?

A SERP page overlap API compares specific pages to find the keywords they both rank for, rather than comparing entire domains. You pass up to 20 page URLs (wildcards like example.com/blog/* allowed) and get keywords where the pages overlap, each listing every matched page's position, etv, and result type (organic, featured snippet, etc.) plus the term's volume, cpc, difficulty, and intent. That pinpoints page-versus-page competition. YepAPI serves it at /v1/seo/competitors/pages: post a numbered pages JSON plus location and language, and receive the shared-keyword list as JSON.

Build your own page comparison tool

Build a landing-page optimizer that compares your page against a top competitor's to show exactly which keywords the rival's page wins and yours doesn't — then guide edits to capture them. Build a cannibalization detector that compares two of your own URLs (or a wildcard like yoursite.com/blog/*) to flag keywords where your pages compete with each other, so you can consolidate. The type field tells you when a competitor holds a featured snippet you could target. Use SERP Competitor discovery first to pick which pages are worth comparing.

SERP page overlap API pricing — $0.02 + $0.02 per 100 results

Each comparison is $0.02 plus $0.02 per 100 shared keywords returned, so a default 100-keyword page overlap is about $0.04. Page-level competitive data normally lives inside $999/mo plans or enterprise tiers at $0.15–$0.25 per call; here you can compare any two pages for pennies, making it practical to run a focused overlap analysis for every important landing page you publish.

Detect content cannibalization across your own pages

Pass two of your own URLs — or a wildcard covering a whole blog section — and read the shared-keyword list as a cannibalization report: any keyword where multiple of your pages appear means you're splitting ranking signals against yourself. The position and etv per page show which version is winning, so you know which to keep and which to redirect or consolidate. Cleaning up these internal conflicts concentrates authority and often lifts the surviving page's rankings for the contested terms.

Try the SERP page overlap API free

Get $5 of free credit with no credit card — enough for many page comparisons. Compare two pages you know overlap, confirm the shared keywords and per-page positions look right, and test a wildcard pattern, then wire the overlap data into your optimization or cannibalization tool before you spend.

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

Compare specific pages (not just domains) to find which keywords they both rank for. Supports up to 20 pages with wildcard patterns for URL matching.

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/competitors/pages. 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