Domain Top Pages API
A domain's pages ranked by estimated organic traffic, with keyword counts and traffic value per URL. Find any site's best pages from $0.03/call.
See which pages bring a domain its organic traffic. Each row is one URL with its estimated monthly visits, what that traffic is worth as paid clicks, and how many keywords it ranks for — including how many are in the top 3 and top 10.
Try it live
Fill in the fields and hit Run to see a real response.
{
"ok": true,
"data": {
"domain": "stripe.com",
"total": 8915,
"pages": [
{
"url": "https://stripe.com/",
"traffic": 285917.18,
"trafficValue": 644784.35,
"keywords": 1742,
"top3": 139,
"top10": 417
}
]
}
}Features
Results come back highest-traffic first, so the top of the list is the content that actually drives a site's search visits.
Each page returns how many keywords it ranks for, plus top3 and top10 counts — the difference between a page that ranks widely and one that ranks well.
trafficValue estimates what a page's organic traffic would cost as paid clicks, which makes commercial pages stand out from high-volume informational ones.
Use limit and offset to walk every ranking page of a domain; the response includes the total number of pages that rank.
Pass a location code and language to see a domain's top pages in a specific market.
Pricing
$0.03 per call + $0.03 per 100 pages — so a call returning 1,000 pages costs $0.33.
| Pages returned | Price per call |
|---|---|
| 10 | $0.04 |
| 100 | $0.06 |
| 500 | $0.18 |
| 1,000 | $0.33 |
Billed on results actually returned. Failed calls are never charged.
Use cases
Competitor Content Analysis
See which pages drive a competitor's search traffic and how many keywords each one ranks for.
Content Audits
Rank your own pages by traffic and value to decide what to update, consolidate or leave alone.
Quick start
Copy this snippet and start making calls.
const res = await fetch('https://api.yepapi.com/v1/seo/domain/pages', {
method: 'POST',
headers: {
'x-api-key': 'YOUR_API_KEY',
'Content-Type': 'application/json',
},
body: JSON.stringify({
"domain": "example.com",
"limit": 100
}),
});
const data = await res.json();
console.log(data);The domain top pages API for developers — organic traffic and keywords per URL
The Domain Top Pages API returns the pages of a domain ordered by estimated organic traffic. Each URL comes with its monthly visits, the value of that traffic, and the number of keywords it ranks for.
It pairs with Domain Keywords. This endpoint tells you which pages matter; Domain Keywords, filtered by URL, tells you which keywords each of those pages ranks for.
What is a top pages API?
A top pages API returns a site's URLs ranked by how much search traffic each receives. Instead of one figure for the whole domain you get the breakdown per page: estimated visits, traffic value, and keyword counts. YepAPI serves it at /v1/seo/domain/pages: post a domain and a limit and get the ranked pages back as JSON.
Find the content behind a competitor's traffic
A handful of pages usually accounts for most of a site's organic traffic. Pulling the top 100 shows which topics and formats those are, how many keywords each ranks for, and which carry commercial value — the shortlist for your own content plan.
Domain top pages API pricing — $0.03 + $0.03 per 100 pages
Pricing is $0.03 per call plus $0.03 per 100 pages returned, so a domain's top 100 pages cost six cents. There is no subscription and no minimum.
From page to keywords in two calls
Take a URL from the response and call Domain Keywords with a url filter set to that page's path. You get every keyword the page ranks for, with positions — a per-page keyword report built from two requests.
Try the domain top pages API free
New accounts get $5 of free credit with no card required. Run it against your own domain and compare the ranking with your analytics before building on it.
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.”
“One API key for AI models, SERP data, and web scraping. Saved us from managing 4 separate providers.”
“The $5 free credit let us prototype our entire rank tracking feature before committing. No other API does that.”
Frequently asked questions
See which pages bring a domain its organic traffic. Each row is one URL with its estimated monthly visits, what that traffic is worth as paid clicks, and how many keywords it ranks for — including how many are in the top 3 and top 10.
Pricing is $0.03 per call + $0.03 per 100 pages, billed on the number of pages actually returned — a call returning 1,000 pages costs $0.33. Failed calls are never charged. 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/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
Keywords
$0.15Keyword research API with search volume, CPC, difficulty, competition, and 12-month trends. Up to 100 keywords per request from $0.15/call.
Keyword Ideas
from $0.03Generate hundreds of keyword ideas from any seed keyword with volume, CPC, and difficulty scores. Content planning and topic expansion from $0.03/call.
Related Keywords
from $0.03Discover semantically related keywords and variations with volume, CPC, and difficulty. Build topical authority from $0.03/call.