Ahrefs Traffic API
Get the Ahrefs organic traffic overview for any domain or URL: monthly traffic estimate and value, the top keywords it already ranks for with position and traffic, top pages, traffic by country, and a monthly traffic history - as normalized JSON.
$5.01/1k req, pay per request, no subscription.
Organic traffic
6,420,000
Traffic value
$8,930,000
Monthly, US dollars
Top countries
{"domain": "stripe.com","mode": "subdomains","monthlyTraffic": 6420000,"monthlyTrafficValueUsd": 8930000,"topKeywords": [...],"topPages": [...],"topCountries": [...],"trafficHistory": [...]}
Pricing
Ahrefs Traffic API pricing
Try it
Get Ahrefs traffic in one request
{
"found": true,
"data": {
"items": [
{
"domain": "stripe.com",
"mode": "subdomains",
"monthlyTraffic": 6420000,
"monthlyTrafficValueUsd": 8930000,
"topKeywords": [
{
"keyword": "stripe",
"position": 1,
"traffic": 1840000
},
{
"keyword": "stripe payments",
"position": 1,
"traffic": 312000
},
{
"keyword": "stripe api",
"position": 2,
"traffic": 198000
}
],
"topPages": [
{
"url": "https://stripe.com/pricing",
"traffic": 412000,
"sharePct": 6.4
},
{
"url": "https://stripe.com/docs/api",
"traffic": 356000,
"sharePct": 5.5
},
{
"url": "https://stripe.com/payments",
"traffic": 289000,
"sharePct": 4.5
}
],
"topCountries": [
{
"country": "us",
"sharePct": 41.2
},
{
"country": "gb",
"sharePct": 9.8
},
{
"country": "in",
"sharePct": 7.3
}
],
"trafficHistory": [
{
"monthUtc": 1719792000,
"organicTraffic": 5810000
},
{
"monthUtc": 1722470400,
"organicTraffic": 5940000
},
{
"monthUtc": 1725148800,
"organicTraffic": 6120000
},
{
"monthUtc": 1727740800,
"organicTraffic": 6205000
},
{
"monthUtc": 1730419200,
"organicTraffic": 6310000
},
{
"monthUtc": 1733011200,
"organicTraffic": 6420000
}
]
}
]
}
}Full parameter and response reference - every field, type, and example for this endpoint.
Reference
One request, one response shape.
Every field you send and every field you get back, each with a real example.
Last verified 2026-10-09 · uptime and latency measured over 30d
Request body
JSON, posted to this endpoint.
- urlstring
stripe.com
The domain or page URL to analyze (e.g. ahrefs.com).
- modeenum
subdomains
Analysis scope: subdomains covers the domain and its subdomains, domain covers the root domain only, prefix covers every page under the given path, exact matches only the given URL.
Response
JSON, one example value per field.
- foundboolean
true
- domainstring
stripe.com
- modestring
subdomains
- monthlyTrafficnumber
6420000
- monthlyTrafficValueUsdnumber
8930000
- keywordstring
stripe
- positionnumber
1
- trafficnumber
1840000
- urlstring
https://stripe.com/pricing
- trafficnumber
412000
- sharePctnumber
6.4
- countrystring
us
- sharePctnumber
41.2
- monthUtcnumber
1719792000
- organicTrafficnumber
5810000
FAQ
About the Ahrefs Traffic API
The AnyAPI Ahrefs Traffic API returns Ahrefs traffic data as normalized JSON from one POST call to /v1/run/ahrefs.traffic. Get the Ahrefs organic traffic overview for any domain or URL: monthly traffic estimate and value, the top keywords it already ranks for with position and traffic, top pages, traffic by country, and a monthly traffic history - as normalized JSON. AnyAPI returns one normalized schema whichever source serves it. It costs from $5.01 per 1,000 requests, in US dollars with no subscription and no monthly minimum. Over the last 30 days, 75.0% of Ahrefs traffic calls through AnyAPI succeeded, with a median response time of 17.7 seconds across 24 measured calls.