Domain Analysis
Domain Top Pages
A domain's pages ranked by estimated organic traffic, with the number of keywords each page ranks for.
POST
from $0.03 + $0.03/100 pages/v1/seo/domain/pagesThe pages that bring a domain its organic traffic. Each row is one URL with its estimated monthly visits, what that traffic is worth, and how many keywords it ranks for.
Pricing
$0.03 per call + $0.03 per 100 pages, rounded up to the next whole cent.
| Pages returned | Cost per call |
|---|---|
| 1 page | $0.04 |
| 10 pages | $0.04 |
| 50 pages | $0.05 |
| 100 pages | $0.06 |
| 250 pages | $0.11 |
| 500 pages | $0.18 |
| 1,000 pages | $0.33 |
Billed on the number of results actually returned, not the number requested. Failed calls are never charged.
Usage
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: 'stripe.com', limit: 50 }),
});
const { data } = await res.json();
console.log(data.pages);curl -X POST https://api.yepapi.com/v1/seo/domain/pages \
-H "x-api-key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"domain": "stripe.com", "limit": 50}'Request Body
| Parameter | Type | Required | Description | Default |
|---|---|---|---|---|
domain | string | Yes | Domain to analyze (without protocol, e.g., "stripe.com") | — |
limit | number | No | Maximum number of pages to return (max 1000) | 100 |
offset | number | No | Rows to skip, for paging past limit | 0 |
location_code | number | No | Target country code (e.g., 2840 for US). See Location Codes. | 2840 |
language | string | No | ISO language code (e.g., en, es) | "en" |
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
}
]
}
}Response Fields
| Field | Type | Description |
|---|---|---|
ok | boolean | Whether the request succeeded |
data.domain | string | The domain that was analyzed |
data.total | number | How many pages of the domain rank for at least one keyword |
data.pages | object[] | Pages, highest traffic first |
data.pages[].url | string | The page |
data.pages[].traffic | number | Estimated monthly organic visits to the page |
data.pages[].trafficValue | number | What that traffic would cost as paid clicks, in USD |
data.pages[].keywords | number | Keywords the page ranks for |
data.pages[].top3 | number | Of those, how many rank in positions 1–3 |
data.pages[].top10 | number | Of those, how many rank in positions 1–10 |
To see which keywords a page ranks for, call Domain Keywords with a url filter.