API Google

Google Trends regions API

Google Trends interest by region for up to 5 search terms: one row per country worldwide, or per state or province inside one country, with each term's value there. One term gives each place a 0-100 interest score; several give the share of searches each term took in that place. Choose the country with geo (worldwide when omitted) and the window with timeframe (the past 12 months when omitted); both are echoed in the response. Places without enough searches are left out. Regions only, not interest over time or cities.

POST/v1/run/google.trends_regions
Доступность
100,00%
30d · Вызовов: 2
Запросы
2
30d
Ответ
0,9s
медиана · 30d

Статус

Загрузка статуса...

Письма о сбоях этого эндпоинта

Все эндпоинты на странице статуса

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

Цена API Google Trends regions: один API, поставщиков 3, и любой может заменить другого

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

Вы платите
20,00 USD
2,00 USD/1 тыс. запросов, только за то, чем пользуетесь. Без ежемесячного тарифа.
Ваши первые запросы (50) бесплатны за счёт стартового баланса 0,10 USD.

Попробовать

Получите Google Trends regions одним запросом

Открыть в
Пример ответа
Бесплатные запуски возвращают только первые результаты: 3. Пополните ключ, чтобы получить полный ответ.
{
  "data": {
    "geo": "example",
    "regions": [
      {
        "geo": "example",
        "name": "Example title",
        "values": [
          {
            "keyword": "a1b2c3d4",
            "value": 20
          }
        ]
      }
    ],
    "timeframe": "2024-01-15T09:30:00Z",
    "valueType": "index"
  },
  "found": true,
  "reason": "not_found"
}

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

Справочник

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

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

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

Тело запроса

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

  • keywordsarray

    ["coffee"]

    Search terms to compare, 1 to 5, each 2 to 100 characters and without commas (e.g. ["coffee", "tea"]). One term gives each place a 0-100 interest score; several give each place the share of searches each term took there.

  • geostring

    US

    Where to break interest down: an uppercase ISO country code (US, GB, DE) for one row per state or province of that country. Omit it, or send worldwide, for one row per country.

  • timeframeenum

    12m

    The window to measure, ending now: 1h, 4h, 1d or 7d (hours and days), 1m or 3m (months), 12m, 5y, or all (back to January 2004).

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

Ответ

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

datadata

The interest-by-region record, or null when nothing was found.

  • geostring

    The place broken down: the country code you sent, or worldwide.

  • timeframestring

    The window measured: the timeframe you sent, or 12m when you sent none.

  • valueType"index" | "share"

    What each value means. index (one term): the place's search interest on a 0-100 scale, where 100 is the place where the term is most popular as a fraction of all its searches. share (several terms): the percentage of the place's searches for these terms that each term took, so a place's values add up to about 100.

each regiondata.regions[]

One row per country (worldwide) or per state or province (a country), for the places Google Trends holds data for. Places without enough searches are left out. Populated whenever the provider has data for the entity.

  • geostring

    The place's code: an ISO country code (SG) worldwide, or a subdivision code (US-WY) inside a country. Populated whenever the provider has data for the entity.

  • namestring

    The place's English name (Wyoming). Populated whenever the provider has data for the entity.

each valuedata.regions[].values[]

One value per search term, in the order you sent the terms. Populated whenever the provider has data for the entity.

  • keywordstring

    The search term this value is for. Populated whenever the provider has data for the entity.

  • valueinteger

    The term's value in this place, read as valueType says: a 0-100 interest score for one term, or the term's percentage share for several. Populated whenever the provider has data for the entity.

top level
  • foundboolean

    False when Google Trends holds too little search interest for these terms, place and window to report any region.

  • 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 Google Trends regions

AnyAPI Google Trends regions API возвращает данные Google в виде нормализованного JSON одним вызовом POST к /v1/run/google.trends_regions. Google Trends interest by region for up to 5 search terms: one row per country worldwide, or per state or province inside one country, with each term's value there. One term gives each place a 0-100 interest score; several give the share of searches each term took in that place. Choose the country with geo (worldwide when omitted) and the window with timeframe (the past 12 months when omitted); both are echoed in the response. Places without enough searches are left out. Regions only, not interest over time or cities. AnyAPI направляет каждый запрос по источникам (их 3) и автоматически переключается, если один из них отказывает. Это стоит от 2 USD за 1000 запросов, в долларах США, без подписки и без ежемесячного минимума. За последние 30 дней 100,0% вызовов Google Trends regions через AnyAPI завершились успешно, медианное время ответа 0,9 с, измерено вызовов: 2.

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

Google Trends interest by region for up to 5 search terms: one row per country worldwide, or per state or province inside one country, with each term's value there. One term gives each place a 0-100 interest score; several give the share of searches each term took in that place. Choose the country with geo (worldwide when omitted) and the window with timeframe (the past 12 months when omitted); both are echoed in the response. Places without enough searches are left out. Regions only, not interest over time or cities. Ответ это нормализованный JSON с тем же конвертом, что возвращает каждый эндпоинт AnyAPI, поэтому разбор второго эндпоинта это смена URL и ничего больше.

За последние 30 дней 100,0% вызовов Google Trends regions через AnyAPI завершились успешно, медианное время ответа 0,9 с, измерено вызовов: 2. Это собственные измерения AnyAPI по трафику через шлюз, пересчитываемые непрерывно, а не опубликованный целевой уровень обслуживания.

Да. Новый аккаунт AnyAPI стартует с бесплатным балансом 0,10 USD, карта не нужна. Этого хватает на 50 вызовов Google Trends regions по 0,002 USD за каждый.

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

Отправьте запрос POST на https://api.getanyapi.com/v1/run/google.trends_regions с вашим ключом 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.