API Ahrefs

Ahrefs Трафик 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/1 тыс. запросов, оплата за запрос, без подписки.

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%
Что вернул APIitems[0]
{
"domain": "stripe.com",
"mode": "subdomains",
"monthlyTraffic": 6420000,
"monthlyTrafficValueUsd": 8930000,
"topKeywords": [...],
"topPages": [...],
"topCountries": [...],
"trafficHistory": [...]
}
Доступность
98,08%
30d · Вызовов: 1 566
Запросы
1 574
30 дн. · по неделям, последние недель: 12
Ответ
10,1s
медиана · 30d

Цены и поставщики

Цена API Ahrefs Трафик: один API, поставщиков 2, и любой может заменить другого

Первым обслуживает самый дешёвый поставщик. Если он не отвечает, его заменяет следующий в том же вызове.

Поставщик
1ChameleonОбслуживает первым5,76 USD/1 тыс. запросовflat2HeronРезерв 16,11 USD/1 тыс. запросовflat
Вы платите
57,60 USD
5,76 USD/1 тыс. запросов, только за то, чем пользуетесь. Без ежемесячного тарифа.
Ваши первые запросы (17) бесплатны за счёт стартового баланса 0,10 USD.

Попробовать

Получите Ahrefs Трафик одним запросом

Открыть в
Пример ответа
Бесплатные запуски возвращают только первые результаты: 3. Пополните ключ, чтобы получить полный ответ.

В этом примере показано полей: 21 из 22. Все поля

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

Полный справочник по параметрам и ответу: каждое поле, тип и пример для этого эндпоинта.

Справочник

Один запрос, один формат ответа.

Каждое поле, которое вы отправляете, и каждое поле, которое получаете, с реальным примером.

Проверено 2026-11-21 · доступность и задержка измерены за 30d

Тело запроса

JSON, отправляется на этот эндпоинт.

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

Вы отправляете. Небольшое тело JSON. Показанные значения это примеры, замените их своими.

Ответ

JSON, по одному примеру значения на поле.

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.

Вы получаете. Именованные типизированные поля в одном формате, какой бы источник ни ответил.

Вопросы и ответы

Об API Ahrefs Трафик

AnyAPI Ahrefs Трафик API возвращает данные Ahrefs в виде нормализованного JSON одним вызовом 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 направляет каждый запрос по источникам (их 2) и автоматически переключается, если один из них отказывает. Это стоит от 5,76 USD за 1000 запросов, в долларах США, без подписки и без ежемесячного минимума. За последние 30 дней 98,1% вызовов Ahrefs Трафик через AnyAPI завершились успешно, медианное время ответа 10,1 с, измерено вызовов: 1 566.

Это стоит от 5,76 USD за 1000 запросов, в долларах США, без подписки и без ежемесячного минимума. Вы пополняете один кошелёк в долларах США, и каждый вызов списывает с него. По некоторым неудавшимся запросам, оплаченным из кошелька, возникают расходы на обработку; мы передаём их по себестоимости, без наценки, а сумма списания указана в ответе с ошибкой.

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. Ответ это нормализованный JSON с тем же конвертом, что возвращает каждый эндпоинт AnyAPI, поэтому разбор второго эндпоинта это смена URL и ничего больше.

За последние 30 дней 98,1% вызовов Ahrefs Трафик через AnyAPI завершились успешно, медианное время ответа 10,1 с, измерено вызовов: 1 566. Это собственные измерения AnyAPI по трафику через шлюз, пересчитываемые непрерывно, а не опубликованный целевой уровень обслуживания.

Да. Новый аккаунт AnyAPI стартует с бесплатным балансом 0,10 USD, карта не нужна. Этого хватает на 17 вызовов Ahrefs Трафик по 0,00576 USD за каждый.

AnyAPI в том же запросе обращается к следующему из источников (их 2), начиная с самого дешёвого, поэтому отказ одного источника не ломает ваш вызов.

Отправьте запрос POST на https://api.getanyapi.com/v1/run/ahrefs.traffic с вашим ключом AnyAPI в заголовке "Authorization: Bearer" и входными данными в теле JSON. Один и тот же ключ и один и тот же кошелёк работают на каждом эндпоинте AnyAPI.

Нет. Вы пополняете один предоплаченный баланс AnyAPI в долларах США, и каждый запрос списывает с него. Ежемесячного тарифа и минимума нет, а один и тот же баланс оплачивает каждый эндпоинт AnyAPI.

Да. Установите @getanyapi/sdk из npm для TypeScript или getanyapi из pip для Python. Оба вызывают любой эндпоинт AnyAPI с одним и тем же ключом, а ещё подойдёт любой HTTP-клиент.

Да. Агент может подключиться к MCP-серверу AnyAPI по адресу https://api.getanyapi.com/mcp или создать собственный бесплатный пробный ключ одним POST без аутентификации на https://api.getanyapi.com/agent/signup и вызывать этот эндпоинт по HTTP.