API de Google

API de Google: Tendencias

Google Trends interest over time for up to 5 search terms compared on one 0-100 scale, where 100 is the peak search interest of any term in the window. Returns one series per term, in the order you sent them, with a value for every time bucket. Choose the country or region with geo (worldwide when omitted) and the window with timeframe (the past 12 months when omitted); both are echoed in the response. Interest over time only, not related queries or regions.

POST/v1/run/google.trends
Disponibilidad
88.21%
30d · 9,855 llamadas
Solicitudes
10,133
30d · semanal, últimas 12 sem.
Respuesta
1.6s
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 Tendencias de la API de Google: una API, 2 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 Tendencias 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",
    "series": [
      {
        "keyword": "a1b2c3d4",
        "points": [
          {
            "partial": true,
            "startUtc": 12.5,
            "value": 20
          }
        ]
      }
    ],
    "timeframe": "2024-01-15T09:30:00Z"
  },
  "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-11-26 · disponibilidad y latencia medidas en 30d

Cuerpo de la solicitud

JSON, enviado por POST a este endpoint.

  • keywordsarray

    ["coffee","tea"]

    Search terms to compare, 1 to 5, each 2 to 100 characters and without commas (e.g. ["coffee", "tea"]). Values are relative across the whole set, so the same term scores differently next to different terms.

  • geostring

    US

    Where the searches came from: an uppercase ISO country code (US, GB, DE) or a country subdivision (US-CA, GB-ENG). Omit it, or send worldwide, for worldwide interest.

  • timeframeenum

    12m

    The window to chart, ending now: 1h, 4h, 1d or 7d (hours and days), 1m or 3m (months), 12m, 5y, or all (back to January 2004). Buckets grow with the window: minutes up to 1d, hours for 7d, days for 1m and 3m, weeks for 12m and 5y, months for all.

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-over-time record, or null when nothing was found.

  • geostring

    The place the series cover: the country or subdivision code you sent, or worldwide.

  • timeframestring

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

each serydata.series[]

One series per search term, in the order you sent the terms. All series share one 0-100 scale. Populated whenever the provider has data for the entity.

  • keywordstring

    The search term this series charts. Populated whenever the provider has data for the entity.

each pointdata.series[].points[]

One point per time bucket, oldest first. Populated whenever the provider has data for the entity.

  • partialboolean

    True when Google is still counting this bucket, normally the newest one, so it reads lower than it will end. Present only when the source reports it.

  • startUtcnumber

    Start of the time bucket. UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds. Populated whenever the provider has data for the entity.

  • valueinteger

    Search interest in this bucket on Google's 0-100 scale, where 100 is the peak of any term in the response and 0 means there was not enough data. 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 chart them.

  • 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 Tendencias de la API de Google

El endpoint Tendencias de AnyAPI para Google devuelve datos de Google como JSON normalizado con una sola llamada POST a /v1/run/google.trends. Google Trends interest over time for up to 5 search terms compared on one 0-100 scale, where 100 is the peak search interest of any term in the window. Returns one series per term, in the order you sent them, with a value for every time bucket. Choose the country or region with geo (worldwide when omitted) and the window with timeframe (the past 12 months when omitted); both are echoed in the response. Interest over time only, not related queries or regions. AnyAPI enruta cada solicitud entre 2 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 88.2% de las llamadas al endpoint Tendencias de la API de Google a través de AnyAPI tuvo éxito, con un tiempo de respuesta mediano de 1.6 segundos en 9855 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 over time for up to 5 search terms compared on one 0-100 scale, where 100 is the peak search interest of any term in the window. Returns one series per term, in the order you sent them, with a value for every time bucket. Choose the country or region with geo (worldwide when omitted) and the window with timeframe (the past 12 months when omitted); both are echoed in the response. Interest over time only, not related queries or regions. 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 88.2% de las llamadas al endpoint Tendencias de la API de Google a través de AnyAPI tuvo éxito, con un tiempo de respuesta mediano de 1.6 segundos en 9855 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 Tendencias de Google a US$0.002 cada una.

AnyAPI consulta la siguiente de sus 2 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 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.