YepAPI
Domain Analysis

Domain Metrics

Ahrefs-style authority and traffic metrics — DR, UR, backlinks, ref domains, traffic, traffic value, and organic keywords at page and domain scope.

POST/v1/seo/domain/metrics
$0.02/call

Ahrefs-style authority and traffic metrics in a single call. Returns Domain Rating (DR), URL Rating (UR), Ahrefs rank, backlinks, referring domains, estimated traffic, traffic value (USD), and organic keywords — at both the page level and the domain level.

Usage

const res = await fetch('https://api.yepapi.com/v1/seo/domain/metrics', {
  method: 'POST',
  headers: {
    'x-api-key': 'YOUR_API_KEY',
    'Content-Type': 'application/json',
  },
  body: JSON.stringify({ domain: 'anthropic.com' }),
});
const { data } = await res.json();
console.log(data.domainMetrics.domainRating);
curl -X POST https://api.yepapi.com/v1/seo/domain/metrics \
  -H "x-api-key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"domain": "anthropic.com"}'

Request Body

ParameterTypeRequiredDescriptionDefault
domainstringYesDomain or URL to analyze. http(s):// is stripped automatically.

Response

{
  "ok": true,
  "data": {
    "target": "anthropic.com",
    "page": {
      "backlinks": 34425,
      "refDomains": 3870,
      "traffic": 0,
      "trafficValue": 0,
      "organicKeywords": 0,
      "urlRating": 16,
      "numberOfWordsOnPage": 0
    },
    "domainMetrics": {
      "domainRating": 91,
      "ahrefsRank": 693,
      "domainRank": 693,
      "backlinks": 1911955,
      "refDomains": 85326,
      "traffic": 981693,
      "trafficValue": 382569.64,
      "organicKeywords": 11757
    }
  }
}

Response Fields

FieldTypeDescription
data.targetstringThe domain we queried (echoed back, protocol stripped)
data.page.backlinksnumberBacklinks pointing specifically to the queried page / root
data.page.refDomainsnumberUnique referring domains linking to that page
data.page.trafficnumberEstimated monthly organic traffic for the page
data.page.trafficValuenumberEstimated USD value of that traffic
data.page.organicKeywordsnumberKeywords the page ranks for
data.page.urlRatingnumberURL Rating (0–100) for the page
data.page.numberOfWordsOnPagenumberWord count of the page
data.domainMetrics.domainRatingnumberDomain Rating (0–100)
data.domainMetrics.ahrefsRanknumberAhrefs rank — global domain position (1 = best)
data.domainMetrics.domainRanknumberAlias of ahrefsRank returned by the upstream
data.domainMetrics.backlinksnumberTotal backlinks across the domain
data.domainMetrics.refDomainsnumberUnique referring domains to the whole domain
data.domainMetrics.trafficnumberEstimated monthly organic traffic for the domain
data.domainMetrics.trafficValuenumberEstimated USD value of domain traffic
data.domainMetrics.organicKeywordsnumberTotal keywords the domain ranks for
Under the Hood

Distinct from /v1/seo/domain/overview — this endpoint reports Ahrefs-style DR/UR and traffic value, while the overview endpoint reports a different authority rank scale.

On this page