Backlinks
Top Linked Pages
The pages of a domain ranked by the backlinks pointing at each — with referring domains, rank, spam score and broken links per page.
POST
from $0.05 + $0.01/100 rows/v1/seo/backlinks/pagesWhich pages of a site attract links. Each row is one page of the target with the size and quality of its own backlink profile.
Pricing
$0.05 per call + $0.01 per 100 rows, rounded up to the next whole cent.
| Rows returned | Cost per call |
|---|---|
| 1 row | $0.06 |
| 10 rows | $0.06 |
| 50 rows | $0.06 |
| 100 rows | $0.06 |
| 250 rows | $0.08 |
| 500 rows | $0.10 |
| 1,000 rows | $0.15 |
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/backlinks/pages', {
method: 'POST',
headers: {
'x-api-key': 'YOUR_API_KEY',
'Content-Type': 'application/json',
},
body: JSON.stringify({ target: 'stripe.com', limit: 50 }),
});
const { data } = await res.json();
console.log(data.pages);curl -X POST https://api.yepapi.com/v1/seo/backlinks/pages \
-H "x-api-key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"target": "stripe.com", "limit": 50}'Request Body
| Parameter | Type | Required | Description | Default |
|---|---|---|---|---|
target | string | Yes | A domain or subdomain, 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 (max 20000) | 0 |
sort | string | No | field:asc or field:desc. Fields: backlinks, referring_domains, rank. | "backlinks:desc" |
Response
{
"ok": true,
"data": {
"target": "stripe.com",
"total": 733835,
"pages": [
{
"url": "https://stripe.com/",
"statusCode": 307,
"title": "",
"backlinks": 12884790,
"referringDomains": 59030,
"referringMainDomains": 53982,
"rank": 632.0,
"spamScore": 3.0,
"brokenBacklinks": 0,
"firstSeen": "2019-01-15"
}
]
}
}Response Fields
| Field | Type | Description |
|---|---|---|
ok | boolean | Whether the request succeeded |
data.target | string | The domain that was analyzed |
data.total | number | How many pages of the target have backlinks |
data.pages | object[] | Pages, most-linked first by default |
data.pages[].url | string | The page |
data.pages[].statusCode | number | HTTP status the page returned when last crawled |
data.pages[].title | string | The page title, when known |
data.pages[].backlinks | number | Backlinks pointing at this page |
data.pages[].referringDomains | number | Domains linking to this page, counting subdomains separately |
data.pages[].referringMainDomains | number | Root domains linking to this page |
data.pages[].rank | number | Authority rank of the page (0–1000) |
data.pages[].spamScore | number | Average spam score of the links to this page (0–100) |
data.pages[].brokenBacklinks | number | Links to this page that are broken |
data.pages[].firstSeen | string | When the first backlink to this page was seen (YYYY-MM-DD) |