API para Google

API para 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.

POST/v1/run/google.trends_regions
Disponibilidade
100,00%
30d · 2 chamadas
Requisições
2
30d
Resposta
0,9s
mediana · 30d

Status

Carregando status...

Receber e-mails de falhas deste endpoint

Ver todos os endpoints na página de status

Preços e provedores

Preços do endpoint Trends regions da API para Google: uma API, 3 provedores intercambiáveis

O provedor mais barato atende primeiro. Se ele falhar, o próximo assume na mesma chamada.

Você paga
US$ 20,00
US$ 2,00/mil req., só pelo que você usar. Sem plano mensal.
Suas primeiras 50 requisições são grátis com o saldo inicial de US$ 0,10.

Teste

Obtenha Trends regions do Google em uma só requisição

Abrir em
Obter chave grátis
Resposta de exemplo
Execuções grátis retornam só os primeiros 3 resultados. Recarregue uma chave para receber a resposta completa.
{
  "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"
}

Referência completa de parâmetros e resposta - todos os campos, tipos e exemplos deste endpoint.

Referência

Uma requisição, um formato de resposta.

Cada campo que você envia e cada campo que você recebe, cada um com um exemplo real.

Última verificação em 2026-12-02 · disponibilidade e latência medidas em 30d

Corpo da requisição

JSON, enviado via POST para este endpoint.

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

Você envia. Um corpo JSON pequeno. Os valores mostrados são exemplos para você trocar pelos seus.

Resposta

JSON, um valor de exemplo por campo.

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.

Você recebe. Campos nomeados e tipados, no mesmo formato, seja qual for a fonte que responder.

Dúvidas frequentes

Sobre o endpoint Trends regions da API para Google

O endpoint Trends regions da AnyAPI para Google retorna dados de Google em JSON normalizado com uma chamada POST para /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. A AnyAPI distribui cada requisição entre 3 fontes, com failover automático quando uma falha. Custa a partir de US$ 2 por mil requisições, em dólares, sem assinatura e sem mínimo mensal. Nos últimos 30 dias, 100,0% das chamadas ao endpoint Trends regions da API para Google feitas pela AnyAPI tiveram sucesso, com tempo de resposta mediano de 0,9 segundos, em 2 chamadas medidas.

Custa a partir de US$ 2 por mil requisições, em dólares, sem assinatura e sem mínimo mensal. Você recarrega uma carteira em dólares e cada chamada desconta dela. Algumas requisições pagas pela carteira que falham geram cobranças de processamento, que repassamos pelo custo, sem margem; a resposta de erro mostra o valor cobrado.

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. A resposta é JSON normalizado, com o mesmo envelope que todo endpoint da AnyAPI retorna, então processar um segundo endpoint é só trocar a URL, e nada mais.

Nos últimos 30 dias, 100,0% das chamadas ao endpoint Trends regions da API para Google feitas pela AnyAPI tiveram sucesso, com tempo de resposta mediano de 0,9 segundos, em 2 chamadas medidas. Estas são medições da própria AnyAPI sobre o tráfego que passa pelo gateway, recalculadas continuamente, e não uma meta de nível de serviço publicada.

Sim. Uma conta nova da AnyAPI começa com US$ 0,10 de saldo grátis, sem cartão, o que cobre 50 chamadas de Trends regions do Google a US$ 0,002 cada.

A AnyAPI consulta a próxima das suas 3 fontes na mesma requisição, começando pela mais barata, então a queda de uma fonte não derruba sua chamada.

Envie uma requisição POST para https://api.getanyapi.com/v1/run/google.trends_regions com sua chave da AnyAPI em um cabeçalho "Authorization: Bearer" e a entrada como corpo JSON. A mesma chave e a mesma carteira funcionam em todos os endpoints da AnyAPI.

Não. Você adiciona dólares a um único saldo pré-pago da AnyAPI e cada requisição desconta dele. Não há plano mensal nem mínimo, e o mesmo saldo paga todos os endpoints da AnyAPI.

Sim. Instale @getanyapi/sdk pelo npm para TypeScript ou getanyapi pelo pip para Python. Os dois chamam todos os endpoints da AnyAPI com a mesma chave, e qualquer cliente HTTP também funciona.

Sim. Um agente pode se conectar ao servidor MCP da AnyAPI em https://api.getanyapi.com/mcp, ou criar a própria chave de teste grátis com um único POST sem autenticação para https://api.getanyapi.com/agent/signup e chamar este endpoint por HTTP.