Domain Analysis
Domain Backlinks
Full backlink profile for any domain — source URLs, anchor text, dofollow status, and authority scores.
POST
from $0.05 + $0.01/100 rows/v1/seo/domain/backlinksPricing
$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/domain/backlinks', {
method: 'POST',
headers: {
'x-api-key': 'YOUR_API_KEY',
'Content-Type': 'application/json',
},
body: JSON.stringify({ domain: 'github.com', limit: 100 }),
});
const { data } = await res.json();
console.log(data);curl -X POST https://api.yepapi.com/v1/seo/domain/backlinks \
-H "x-api-key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"domain": "github.com", "limit": 100}'Request Body
| Parameter | Type | Required | Description | Default |
|---|---|---|---|---|
domain | string | Yes | Domain to get backlinks for (without protocol, e.g., "github.com") | — |
limit | number | No | Maximum number of backlinks to return | 100 |
Response
{
"ok": true,
"data": [
{
"sourceUrl": "https://blog.example.com/tools-review",
"sourceDomain": "blog.example.com",
"anchorText": "GitHub",
"isDofollow": true,
"domainAuthority": 72,
"firstSeen": "2025-08-14"
}
]
}Response Fields
| Field | Type | Description |
|---|---|---|
ok | boolean | Whether the request succeeded |
data.domain | string | The target domain that was analyzed |
data.totalBacklinks | number | Total number of backlinks found |
data.backlinks | object[] | Array of backlink results |
data.backlinks[].from | string | Full URL of the page linking to the target |
data.backlinks[].fromDomain | string | Domain of the referring page |
data.backlinks[].to | string | URL on the target domain being linked to |
data.backlinks[].anchor | string | Anchor text of the backlink |
data.backlinks[].dofollow | boolean | Whether the link passes SEO authority |
data.backlinks[].domainAuthority | number | Authority score of the referring domain |
data.backlinks[].firstSeen | string | Date when the backlink was first detected (ISO format) |
Under the Hood
Under the hood, this queries our SEO data engine for all backlinks pointing to the specified domain. We normalize the response and include authority scores and link attributes.