Domain Analysis
Domain Backlinks
Full backlink profile for any domain — source URLs, anchor text, dofollow status, and authority scores.
POST
$0.05/call/v1/seo/domain/backlinksUsage
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.