Ahrefs-API

Ahrefs-Traffic-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 Anfr., Zahlung pro Anfrage, kein Abo.

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%
Was die API zurückgegeben hatitems[0]
{
"domain": "stripe.com",
"mode": "subdomains",
"monthlyTraffic": 6420000,
"monthlyTrafficValueUsd": 8930000,
"topKeywords": [...],
"topPages": [...],
"topCountries": [...],
"trafficHistory": [...]
}
Verfügbarkeit
98,08%
30d · 1.566 Aufrufe
Anfragen
1.574
30 T · wöchentlich, letzte 12 Wochen
Antwort
10,1s
Median · 30d

Preise und Anbieter

Preise der Ahrefs-Traffic-API: eine API, 2 austauschbare Anbieter

Der günstigste Anbieter bedient zuerst. Fällt er aus, übernimmt der nächste im selben Aufruf.

Anbieter
1ChameleonBedient zuerst5,76 USD/1k Anfr.flat2HeronErsatz 16,11 USD/1k Anfr.flat
Du zahlst
57,60 USD
5,76 USD/1k Anfr., nur für das, was du nutzt. Kein Monatstarif.
Deine ersten 17 Anfragen sind mit dem Startguthaben von 0,10 USD kostenlos.

Ausprobieren

Ahrefs Traffic mit einer Anfrage abrufen

Öffnen in
Beispielantwort
Kostenlose Läufe liefern nur die ersten 3 Ergebnisse. Lade einen Schlüssel auf, um die vollständige Antwort zu bekommen.

Dieses Beispiel zeigt 21 von 22 Feldern. Alle Felder ansehen

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

Vollständige Parameter- und Antwortreferenz: jedes Feld, jeder Typ und jedes Beispiel für diesen Endpoint.

Referenz

Eine Anfrage, eine Antwortstruktur.

Jedes Feld, das du sendest, und jedes Feld, das du zurückbekommst, jeweils mit einem echten Beispiel.

Zuletzt geprüft 2026-11-21 · Verfügbarkeit und Latenz gemessen über 30d

Request-Body

JSON, per POST an diesen Endpoint gesendet.

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

Du sendest. Ein kleiner JSON-Body. Die gezeigten Werte sind Beispiele, die du durch deine eigenen ersetzt.

Antwort

JSON, ein Beispielwert pro Feld.

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.

Du bekommst zurück. Benannte, typisierte Felder in derselben Struktur, egal welche Quelle antwortet.

FAQ

Über die Ahrefs-Traffic-API

Die AnyAPI-Ahrefs-Traffic-API liefert Ahrefs-Daten als normalisiertes JSON aus einem POST-Aufruf an /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 routet jede Anfrage über 2 Quellen und weicht automatisch aus, wenn eine ausfällt. Sie kostet ab 5,76 USD pro 1.000 Anfragen, in US-Dollar, ohne Abo und ohne monatliches Minimum. In den letzten 30 Tagen waren 98,1% der Ahrefs Traffic-Aufrufe über AnyAPI erfolgreich, bei einer mittleren Antwortzeit von 10,1 Sekunden über 1.566 gemessene Aufrufe.

Sie kostet ab 5,76 USD pro 1.000 Anfragen, in US-Dollar, ohne Abo und ohne monatliches Minimum. Du lädst ein USD-Guthabenkonto auf, und jeder Aufruf bucht davon ab. Bei manchen fehlgeschlagenen, vom Guthabenkonto bezahlten Anfragen fallen Bearbeitungsgebühren an, die wir zum Selbstkostenpreis ohne Aufschlag weitergeben. Die Fehlerantwort zeigt den berechneten Betrag.

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. Die Antwort ist normalisiertes JSON mit demselben Envelope, den jeder AnyAPI-Endpoint liefert, sodass das Parsen eines zweiten Endpoints nur eine geänderte URL bedeutet.

In den letzten 30 Tagen waren 98,1% der Ahrefs Traffic-Aufrufe über AnyAPI erfolgreich, bei einer mittleren Antwortzeit von 10,1 Sekunden über 1.566 gemessene Aufrufe. Das sind AnyAPIs eigene Messungen des Traffics durch das Gateway, laufend neu berechnet, kein veröffentlichtes Service-Level-Ziel.

Ja. Ein neues AnyAPI-Konto startet mit 0,10 USD Gratis-Guthaben, ohne Karte. Das deckt 17 Ahrefs-Traffic-Aufrufe zu je 0,00576 USD.

AnyAPI fragt in derselben Anfrage die nächste seiner 2 Quellen, die günstigste zuerst, sodass der Ausfall einer Quelle deinen Aufruf nicht scheitern lässt.

Sende eine POST-Anfrage an https://api.getanyapi.com/v1/run/ahrefs.traffic mit deinem AnyAPI-Schlüssel in einem Header „Authorization: Bearer“ und der Eingabe als JSON-Body. Derselbe Schlüssel und dasselbe Guthabenkonto funktionieren bei jedem AnyAPI-Endpoint.

Nein. Du lädst US-Dollar auf ein Prepaid-AnyAPI-Guthaben, und jede Anfrage bucht davon ab. Es gibt keinen Monatstarif und kein Minimum, und dasselbe Guthaben bezahlt jeden AnyAPI-Endpoint.

Ja. Installiere @getanyapi/sdk von npm für TypeScript oder getanyapi von pip für Python. Beide rufen jeden AnyAPI-Endpoint mit demselben Schlüssel auf, und jeder HTTP-Client funktioniert ebenfalls.

Ja. Ein Agent kann sich mit dem AnyAPI-MCP-Server unter https://api.getanyapi.com/mcp verbinden oder mit einem unauthentifizierten POST an https://api.getanyapi.com/agent/signup einen eigenen kostenlosen Test-Schlüssel erstellen und diesen Endpoint über HTTP aufrufen.