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
$0.02/call/v1/seo/domain/metricsAhrefs-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
| Parameter | Type | Required | Description | Default |
|---|---|---|---|---|
domain | string | Yes | Domain 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
| Field | Type | Description |
|---|---|---|
data.target | string | The domain we queried (echoed back, protocol stripped) |
data.page.backlinks | number | Backlinks pointing specifically to the queried page / root |
data.page.refDomains | number | Unique referring domains linking to that page |
data.page.traffic | number | Estimated monthly organic traffic for the page |
data.page.trafficValue | number | Estimated USD value of that traffic |
data.page.organicKeywords | number | Keywords the page ranks for |
data.page.urlRating | number | URL Rating (0–100) for the page |
data.page.numberOfWordsOnPage | number | Word count of the page |
data.domainMetrics.domainRating | number | Domain Rating (0–100) |
data.domainMetrics.ahrefsRank | number | Ahrefs rank — global domain position (1 = best) |
data.domainMetrics.domainRank | number | Alias of ahrefsRank returned by the upstream |
data.domainMetrics.backlinks | number | Total backlinks across the domain |
data.domainMetrics.refDomains | number | Unique referring domains to the whole domain |
data.domainMetrics.traffic | number | Estimated monthly organic traffic for the domain |
data.domainMetrics.trafficValue | number | Estimated USD value of domain traffic |
data.domainMetrics.organicKeywords | number | Total 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.