YepAPI
Domain Analysis

Domain Backlinks

Full backlink profile for any domain — source URLs, anchor text, dofollow status, and authority scores.

POST/v1/seo/domain/backlinks
$0.05/call

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

ParameterTypeRequiredDescriptionDefault
domainstringYesDomain to get backlinks for (without protocol, e.g., "github.com")
limitnumberNoMaximum number of backlinks to return100

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

FieldTypeDescription
okbooleanWhether the request succeeded
data.domainstringThe target domain that was analyzed
data.totalBacklinksnumberTotal number of backlinks found
data.backlinksobject[]Array of backlink results
data.backlinks[].fromstringFull URL of the page linking to the target
data.backlinks[].fromDomainstringDomain of the referring page
data.backlinks[].tostringURL on the target domain being linked to
data.backlinks[].anchorstringAnchor text of the backlink
data.backlinks[].dofollowbooleanWhether the link passes SEO authority
data.backlinks[].domainAuthoritynumberAuthority score of the referring domain
data.backlinks[].firstSeenstringDate 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.

On this page