API di Ahrefs

Ahrefs Traffico 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 USD/1k richieste, paghi a richiesta, nessun abbonamento.

stripe.com - Ahrefs Site Explorer
app.ahrefs.com/site-explorer/organic-keywords/v2/exact
ahrefsSearch
OverviewOrganic searchPaid searchBacklink profileContent explorer

Organic traffic

6,420,000

Traffic value

$8,930,000

Monthly, US dollars

Top organic keywordsPosTraffic
stripe11,840,000
stripe payments1312,000
stripe api2198,000

Top countries

us
41.2%
gb
9.8%
in
7.3%
Cosa ha restituito l'APIitems[0]
{
"domain": "stripe.com",
"mode": "subdomains",
"monthlyTraffic": 6420000,
"monthlyTrafficValueUsd": 8930000,
"topKeywords": [...],
"topPages": [...],
"topCountries": [...],
"trafficHistory": [...]
}
Disponibilità
98,08%
30d · 1566 chiamate
Richieste
1574
30 g · settimanale, ultime 12 sett.
Risposta
10,1s
mediana · 30d

Prezzi e provider

Prezzi dell'API Ahrefs Traffico: una sola API, 2 provider intercambiabili

Serve per primo il provider più economico. Se fallisce, subentra il successivo nella stessa chiamata.

Provider
1ChameleonServe per primo5,76 USD/1k richiesteflat2HeronRiserva 16,11 USD/1k richiesteflat
Paghi
57,60 USD
5,76 USD/1k richieste, solo per ciò che usi. Nessun piano mensile.
Le tue prime 17 richieste sono gratuite con il saldo iniziale di 0,10 USD.

Provalo

Ottieni Ahrefs Traffico in una sola richiesta

Apri in
Risposta di esempio
Le esecuzioni gratuite restituiscono solo i primi 3 risultati. Ricarica una chiave per ottenere la risposta completa.

Questo esempio mostra 21 campi su 22. Vedi tutti i campi

{
  "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
          }
        ]
      }
    ]
  }
}

Riferimento completo di parametri e risposta - ogni campo, tipo ed esempio per questo endpoint.

Riferimento

Una richiesta, una sola forma di risposta.

Ogni campo che invii e ogni campo che ricevi, ciascuno con un esempio reale.

Ultima verifica 2026-11-21 · disponibilità e latenza misurate su 30d

Corpo della richiesta

JSON, inviato a questo 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.

Tu invii. Un piccolo corpo JSON. I valori mostrati sono esempi da sostituire con i tuoi.

Risposta

JSON, un valore di esempio per campo.

each itemdata.items[]

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.

each topCountrydata.items[].topCountries[]

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.

each topKeyworddata.items[].topKeywords[]

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.

each topPagedata.items[].topPages[]

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.

each trafficHistorydata.items[].trafficHistory[]

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.

top level
  • 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.

Tu ricevi. Campi con nome e tipo nella stessa struttura, qualunque fonte risponda.

FAQ

Sull'API Ahrefs Traffico

L'API Ahrefs Traffico di AnyAPI restituisce dati Ahrefs come JSON normalizzato da una sola chiamata POST a /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 instrada ogni richiesta su 2 fonti e passa automaticamente a un'altra quando una fallisce. Costa da 5,76 USD ogni 1.000 richieste, in dollari statunitensi, senza abbonamento e senza minimo mensile. Negli ultimi 30 giorni, il 98,1% delle chiamate Ahrefs Traffico tramite AnyAPI è riuscito, con un tempo di risposta mediano di 10,1 secondi su 1566 chiamate misurate.

Costa da 5,76 USD ogni 1.000 richieste, in dollari statunitensi, senza abbonamento e senza minimo mensile. Ricarichi un portafoglio in USD e ogni chiamata lo scala. Alcune richieste fallite finanziate dal portafoglio comportano costi di elaborazione che trasferiamo al costo, senza ricarico; la risposta di errore mostra l'importo addebitato.

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. La risposta è JSON normalizzato con la stessa busta che restituisce ogni endpoint AnyAPI, quindi analizzare un secondo endpoint significa cambiare l'URL e nient'altro.

Negli ultimi 30 giorni, il 98,1% delle chiamate Ahrefs Traffico tramite AnyAPI è riuscito, con un tempo di risposta mediano di 10,1 secondi su 1566 chiamate misurate. Sono misurazioni di AnyAPI sul traffico che passa dal gateway, ricalcolate di continuo, non un obiettivo di livello di servizio pubblicato.

Sì. Un nuovo account AnyAPI parte con 0,10 USD di saldo gratuito e senza bisogno di carta, che copre 17 chiamate Ahrefs Traffico a 0,00576 USD ciascuna.

AnyAPI interroga la successiva delle sue 2 fonti nella stessa richiesta, partendo dalla più economica, quindi una fonte che cade non fa fallire la tua chiamata.

Invia una richiesta POST a https://api.getanyapi.com/v1/run/ahrefs.traffic con la tua chiave AnyAPI in un header "Authorization: Bearer" e l'input come corpo JSON. La stessa chiave e lo stesso portafoglio funzionano su ogni endpoint AnyAPI.

No. Aggiungi dollari statunitensi a un unico saldo prepagato AnyAPI e ogni richiesta lo scala. Non c'è un piano mensile né un minimo, e lo stesso saldo paga ogni endpoint AnyAPI.

Sì. Installa @getanyapi/sdk da npm per TypeScript o getanyapi da pip per Python. Entrambi chiamano ogni endpoint AnyAPI con la stessa chiave, e funziona anche qualsiasi client HTTP.

Sì. Un agente può collegarsi al server MCP di AnyAPI su https://api.getanyapi.com/mcp, oppure creare da solo la propria chiave di prova gratuita con un POST non autenticato a https://api.getanyapi.com/agent/signup e chiamare questo endpoint via HTTP.