API de Google

API de 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
Disponibilidad
100.00%
30d · 2 llamadas
Solicitudes
2
30d
Respuesta
0.9s
mediana · 30d

Estado

Cargando estado...

Recibe correos de fallas de este endpoint

Ver todos los endpoints en la página de estado

Precios y proveedores

Precios del endpoint Trends regions de la API de Google: una API, 3 proveedores intercambiables

El proveedor más barato responde primero. Si falla, el siguiente toma el relevo en la misma llamada.

Pagas
US$20.00
US$2.00/1k solic., solo por lo que usas. Sin plan mensual.
Tus primeras 50 solicitudes son gratis con el saldo inicial de US$0.10.

Pruébalo

Obtén Trends regions de Google en una sola solicitud

Abrir en
Respuesta de ejemplo
Las ejecuciones gratis devuelven solo los primeros 3 resultados. Agrega fondos a una clave para obtener la respuesta 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"
}

Referencia completa de parámetros y respuesta: cada campo, tipo y ejemplo de este endpoint.

Referencia

Una solicitud, un formato de respuesta.

Cada campo que envías y cada campo que recibes, cada uno con un ejemplo real.

Verificado por última vez el 2026-12-02 · disponibilidad y latencia medidas en 30d

Cuerpo de la solicitud

JSON, enviado por POST a 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).

Envías. Un cuerpo JSON pequeño. Los valores que se muestran son ejemplos para reemplazar por los tuyos.

Respuesta

JSON, un valor de ejemplo 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.

Recibes. Campos con nombre y tipo, con el mismo formato sin importar qué fuente responda.

Preguntas frecuentes

Acerca del endpoint Trends regions de la API de Google

El endpoint Trends regions de AnyAPI para Google devuelve datos de Google como JSON normalizado con una sola llamada POST a /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 enruta cada solicitud entre 3 fuentes y recurre automáticamente a otra cuando una falla. Cuesta desde US$2 por cada 1,000 solicitudes, en dólares estadounidenses, sin suscripción y sin mínimo mensual. En los últimos 30 días, el 100.0% de las llamadas al endpoint Trends regions de la API de Google a través de AnyAPI tuvo éxito, con un tiempo de respuesta mediano de 0.9 segundos en 2 llamadas medidas.

Cuesta desde US$2 por cada 1,000 solicitudes, en dólares estadounidenses, sin suscripción y sin mínimo mensual. Agregas fondos a una billetera en dólares y cada llamada descuenta de ella. Algunas solicitudes fallidas pagadas con la billetera generan cargos de procesamiento que trasladamos al costo, sin margen; la respuesta de error muestra el monto 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. La respuesta es JSON normalizado con el mismo envoltorio que devuelve cada endpoint de AnyAPI, así que procesar un segundo endpoint es solo cambiar la URL.

En los últimos 30 días, el 100.0% de las llamadas al endpoint Trends regions de la API de Google a través de AnyAPI tuvo éxito, con un tiempo de respuesta mediano de 0.9 segundos en 2 llamadas medidas. Estas son mediciones propias de AnyAPI sobre el tráfico que pasa por el gateway, recalculadas continuamente, no un objetivo de nivel de servicio publicado.

Sí. Una cuenta nueva de AnyAPI empieza con US$0.10 de saldo gratis, sin tarjeta, que alcanza para 50 llamadas a Trends regions de Google a US$0.002 cada una.

AnyAPI consulta la siguiente de sus 3 fuentes en la misma solicitud, empezando por la más barata, así que la caída de una fuente no hace fallar tu llamada.

Envía una solicitud POST a https://api.getanyapi.com/v1/run/google.trends_regions con tu clave de AnyAPI en un encabezado "Authorization: Bearer" y la entrada como cuerpo JSON. La misma clave y la misma billetera sirven para todos los endpoints de AnyAPI.

No. Agregas dólares a un solo saldo prepagado de AnyAPI y cada solicitud descuenta de él. No hay plan mensual ni mínimo, y el mismo saldo paga todos los endpoints de AnyAPI.

Sí. Instala @getanyapi/sdk desde npm para TypeScript o getanyapi desde pip para Python. Ambos llaman a todos los endpoints de AnyAPI con la misma clave, y también sirve cualquier cliente HTTP.

Sí. Un agente puede conectarse al servidor MCP de AnyAPI en https://api.getanyapi.com/mcp, o crear su propia clave de prueba gratis con un solo POST sin autenticar a https://api.getanyapi.com/agent/signup y llamar a este endpoint por HTTP.