ahrefs.com Traffic by Country API
Monthly organic search traffic of a website by country, with its worldwide rank and total monthly traffic.
https://api.maviapi.com/v1/sites/ahrefs/traffic_by_country5 credits per callParameters
| Name | Required | Example | Description |
|---|---|---|---|
domainstring in query | Optional | trendyol.com | website domain without scheme or www, e.g. trendyol.com |
Response fields
domaine.g."trendyol.com"monthe.g."November 2026"worldwide_ranke.g.54total_traffice.g.70000000countries
country_codee.g."TR"countrye.g."Turkey"traffice.g.67400000sharee.g.0.962pagination
counte.g.5has_moree.g.falsenext_cursorfetched_ate.g."2026-12-02T09:00:27.213Z"agee.g.0Example request
Set MAVI_KEY to your API key. A successful call costs 5 credits per call, and a failed call costs nothing.
curl 'https://api.maviapi.com/v1/sites/ahrefs/traffic_by_country' \
-H "Authorization: Bearer $MAVI_KEY"ahrefs.com Traffic by Country API questions
What you get, what it costs and how to call it.
What does the ahrefs.com Traffic by Country API return?
Monthly organic search traffic of a website by country, with its worldwide rank and total monthly traffic. The response has domain, month, worldwide_rank, total_traffic, countries, pagination, fetched_at and age.
Which parameters does the ahrefs.com Traffic by Country API take?
Every parameter of GET /traffic_by_country is optional. You can pass domain.
How much does one ahrefs.com Traffic by Country API call cost?
One successful call costs 5 credits. A failed call costs nothing. On the Basic plan ($19 a month for 25,000 credits), 1,000 calls cost about $3.80. The Free plan gives you 1,000 credits a month, with no credit card required. See plans and credit prices for everything after that.
How do I call the ahrefs.com Traffic by Country API?
Send an HTTPS GET request to https://api.maviapi.com/v1/sites/ahrefs/traffic_by_country with your API key in the Authorization header, as in the example request on this page. Create a key on your API keys page, or try the endpoint first in the console with the free test key.
Is the ahrefs.com Traffic by Country API official?
No. It is an independent, hosted API from maviapi for the public data on ahrefs.com, and it is not made, endorsed or supported by ahrefs.com. Its parameters and response fields are documented on this page.