YepAPI
Backlinks

Referring Domains

Get domains linking to a target with domain-level authority metrics.

Pricing, live playground and use cases: Referring Domains API on YepAPI

POST/v1/seo/backlinks/referring-domains
from $0.05 + $0.01/100 rows

Pricing

$0.05 per call + $0.01 per 100 rows, rounded up to the next whole cent.

Rows returnedCost 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/referring-domains', {
  method: 'POST',
  headers: {
    'x-api-key': 'YOUR_API_KEY',
    'Content-Type': 'application/json',
  },
  body: JSON.stringify({ target: 'vercel.com', limit: 50 }),
});
const { data } = await res.json();
console.log(data);
curl -X POST https://api.yepapi.com/v1/seo/backlinks/referring-domains \
  -H "x-api-key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"target": "vercel.com", "limit": 50}'

Request Body

ParameterTypeRequiredDescriptionDefault
targetstringYesA domain (stripe.com), a subdomain (docs.stripe.com), or one exact page as a full URL (https://stripe.com/pricing). A subfolder such as stripe.com/docs/ is not supported.—
limitnumberNoMaximum number of referring domains to return (max 1000)100
offsetnumberNoRows to skip, for paging past limit (max 20000). data.total tells you how many rows exist.0
statusstringNolive, lost, or all."live"
sortstringNofield:asc or field:desc. Fields: rank, backlinks, spam_score, first_seen, referring_pages."rank:desc"

Response

{
  "ok": true,
  "data": {
    "target": "stripe.com",
    "total": 414984,
    "referringDomains": [
      {
        "domain": "wordpressfoundation.org",
        "rank": 634.0,
        "backlinks": 10,
        "dofollow": 10,
        "referringPages": 10,
        "spamScore": 20.0,
        "brokenBacklinks": 0,
        "firstSeen": "2023-01-04",
        "lastSeen": ""
      },
      {
        "domain": "flightconnections.com",
        "rank": 623.0,
        "backlinks": 2432960,
        "dofollow": 2432959,
        "referringPages": 2432960,
        "spamScore": 0.0,
        "brokenBacklinks": 0,
        "firstSeen": "2022-09-22",
        "lastSeen": ""
      }
    ]
  }
}

Response Fields

FieldTypeDescription
okbooleanWhether the request succeeded
data.targetstringThe domain that was analyzed
data.totalnumberHow many referring domains match in total, regardless of limit and offset
data.referringDomainsarrayList of domains that link to the target
data.referringDomains[].backlinksnumberTotal number of backlinks from this referring domain
data.referringDomains[].dofollownumberNumber of dofollow backlinks from this referring domain
data.referringDomains[].domainstringThe referring domain name
data.referringDomains[].firstSeenstringDate the referring domain was first discovered linking to the target
data.referringDomains[].lastSeenstringDate the referring domain was last confirmed linking (empty if still active)
data.referringDomains[].ranknumberAuthority rank score of the referring domain
data.referringDomains[].referringPagesnumberPages on this domain that link to the target
data.referringDomains[].spamScorenumberSpam score of the domain's links (0–100)
data.referringDomains[].brokenBacklinksnumberLinks from this domain to pages that no longer resolve
Under the Hood

Returns referring domains sorted by domain rank.

On this page