Ahrefs Trafic API
Get the Ahrefs organic traffic overview for a website Ahrefs publishes traffic for (its Top Websites list, mostly larger sites): monthly organic traffic estimate and value, the top 5 keywords it ranks for with position and traffic, traffic by country, and a monthly traffic history - as normalized JSON. Other websites return not found. Top pages are not available. For a domain's full ranked-keyword list with search volume and difficulty, use seo.ranked_keywords.
5,76 $US/1k req, paiement à la requête, sans abonnement.
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": [...]}
Tarifs et fournisseurs
Tarifs de l’API Ahrefs Trafic : une API, 2 fournisseurs interchangeables
Le fournisseur le moins cher répond en premier. S’il échoue, le suivant prend le relais dans le même appel.
Essayer
Obtenez Ahrefs Trafic en une requête
Cet exemple affiche 21 champs sur 22. Voir tous les champs
{
"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
}
]
}
]
}
}Référence complète des paramètres et de la réponse : chaque champ, type et exemple de cet endpoint.
Référence
Une requête, une seule forme de réponse.
Chaque champ que vous envoyez et chaque champ que vous recevez, avec un vrai exemple.
Dernière vérification : 2026-11-21 · disponibilité et latence mesurées sur 30d
Corps de la requête
JSON, envoyé à cet endpoint.
- urlstring
stripe.com
The website to analyze (e.g. ahrefs.com). A page URL is analyzed as its whole website.
- modeenum
subdomains
Analysis scope. Only subdomains, the whole website with its subdomains, is served now; a request for domain, prefix or exact is refused. A page URL is analyzed as its whole website.
Réponse
JSON, une valeur d’exemple par champ.
Traffic overview records: the requested domain plus its monthly organic traffic, top ranking keywords, top countries, and traffic history.
- domainstring
stripe.com
The domain or URL the metrics are scoped to.
- modestring
subdomains
Analysis scope used: subdomains, domain, prefix, or exact.
- monthlyTrafficinteger
6420000
Estimated monthly organic search visits for the latest month.
- monthlyTrafficValueUsdnumber
8930000
Estimated monthly USD value of the organic traffic, what the same clicks would cost in paid search.
Countries sending the most organic traffic, up to five.
- countrystring
us
Two-letter country code.
- sharePctnumber
41.2
Share (0-100) of the domain's organic traffic from this country.
The top organic keywords the domain already ranks for, up to five. Not ordered by traffic. For the full ranked-keyword list, use seo.ranked_keywords.
- keywordstring
stripe
The organic keyword.
- positioninteger
1
Current Google organic position for this keyword.
- trafficinteger
1840000
Estimated monthly traffic this keyword drives to the domain.
The pages receiving the most organic traffic. Currently always null: Ahrefs no longer publishes top pages.
- sharePctnumber
6.4
Share (0-100) of the domain's organic traffic this page receives.
- trafficinteger
412000
Estimated monthly organic visits to the page.
- urlstring
https://stripe.com/pricing
The page URL.
Monthly organic traffic estimates, oldest first, for as many months as Ahrefs publishes for the site.
- monthUtcnumber
1719792000
UTC epoch timestamp in seconds (Unix time) of the first day of the month. Multiply by 1000 for a JS Date in milliseconds.
- organicTrafficinteger
5810000
Estimated organic search visits in that month.
- foundboolean
true
- reason"not_found"
Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.
FAQ
À propos de l’API Ahrefs Trafic
L’API Ahrefs Trafic d’AnyAPI renvoie des données Ahrefs en JSON normalisé à partir d’un appel POST à /v1/run/ahrefs.traffic. Get the Ahrefs organic traffic overview for a website Ahrefs publishes traffic for (its Top Websites list, mostly larger sites): monthly organic traffic estimate and value, the top 5 keywords it ranks for with position and traffic, traffic by country, and a monthly traffic history - as normalized JSON. Other websites return not found. Top pages are not available. For a domain's full ranked-keyword list with search volume and difficulty, use seo.ranked_keywords. AnyAPI route chaque requête sur 2 sources et bascule automatiquement quand l’une échoue. Elle coûte à partir de 5,76 $US pour 1 000 requêtes, en dollars US, sans abonnement et sans minimum mensuel. Ces 30 derniers jours, 98,1% des appels Ahrefs Trafic passés par AnyAPI ont réussi, avec un temps de réponse médian de 10,1 secondes, sur 1 566 appels mesurés.