Nexscope

API de Google Trends por palabras clave

Compara el interés de búsqueda de Google Trends de varias palabras clave por regiones e intervalos de tiempo personalizados para analizar temporadas y mercados. Invoca la API mediante REST o MCP.

CosteRecent Avg. 13 · Range 10–13 credits / call
Probar en línea
POST · https://api.nexscope.ai/googleTrend/getTrendByKeysMCP · nexscope_google_trends_by_keywords

Qué hace esta API

Comparar Google Trends busca interés por múltiples palabras clave en diferentes regiones y rangos de tiempo personalizados para análisis estacionales y de mercado.

Casos de uso de API de Google Trends por palabras clave

Construir una lista de palabras clave

Para construir una lista de palabras clave, un analista de mercado presenta la palabra clave y la región a Google Trends By Keywords. trendInfoForKeys, trendInfoForKeys[]. Palabra clave, trendInfoForKeys[].trendValues ayudar a elegir términos de búsqueda de candidatos para una investigación más profunda.

Comparar las señales de la demanda de búsqueda

Un analista de mercado utiliza Google Trends By Keywords con palabras clave y región para comparar las señales de la demanda de búsqueda. trendInfoForKeys, trendInfoForKeys[]. Palabra clave, trendInfoForKeys[].trendValues ayudar a comparar la demanda de palabras clave dentro del ámbito de aplicación del mercado solicitado.

Planificar un contenido o una prueba publicitaria

Para este flujo de trabajo, un analista de mercado llama a Google Trends By Keywords con palabras clave y región para planificar una prueba de contenido o publicidad.El resultado ayuda a seleccionar términos para un experimento de contenido o publicidad.

Preguntas frecuentes sobre API de Google Trends por palabras clave

¿Qué hacen las tendencias de Google por palabras clave API ¿Volver?

Comparar Google Trends buscar interés por múltiples palabras clave en las regiones y rangos de tiempo personalizados para el análisis de temporada y de mercado. `trendInfoForKeys`, `trendInfoForKeys[].keyword`, `trendInfoForKeys[].trendValues`, `trendInfoForKeys[].trendValues[].timeRange`, `trendInfoForKeys[].trendValues[].value`, `chartOption`, `chartOption.fieldX`, `chartOption.fieldY`. Corresponde a los parámetros proporcionados `keyword`, `region`, `dayRangeStart`, `dayRangeEnd`. Los campos opcionales pueden estar ausentes; un valor que falta no debe interpretarse como un cero medido. Los valores de ejemplo ilustran la forma de respuesta, en lugar de los resultados reales de la cuenta.

¿Cuántos créditos hace el Google Trends Por Palabras Clave API ¿costo?

El coste documentado actualmente es Recent Avg. 13 · Range 10–13 credits / call. Es el mismo que figura en la parte superior de esta página. Si se muestra un intervalo o una estimación, el cargo final depende de la solicitud. Antes de llamar a la API, revisa los créditos disponibles y la página de precios. Consulta el registro de uso de la API para comprobar el cargo aplicado.

Cómo llamo a las tendencias de Google por palabras clave API desde mi aplicación o un MCP ¿Cliente?

Enviar a POST solicitud a /googleTrend/getTrendByKeys con tu API como un símbolo de portador y la JSON datos de entrada API En una MCP cliente como Claude o Cursor, conectar Nexscope y llamar nexscope_google_trends_by_keywords. Utilice el MCP argumentos mostrados en el MCP guía, o cambiar la prueba en línea a MCP para revisar su solicitud antes de añadirla a tu aplicación.

Ver planes y créditosConecta esta API con MCP

Prueba esta API
Endpoint
https://api.nexscope.ai/googleTrend/getTrendByKeys
Método MCP
nexscope_google_trends_by_keywords

Paso 1 de 3 · Autenticarse

Autenticación

Todos los endpoints de ejecución requieren una clave de API de usuario. Envíala como token bearer en la cabecera Authorization .

Authorization: Bearer nk-xxxxxxxxxxxxxxxxx
Las claves de API ausentes o no válidas devuelven un error de autenticación. Gestiona las claves desde .

Paso 2 de 3 · Enviar una solicitud

POSThttps://api.nexscope.ai/googleTrend/getTrendByKeys

Ejecutar una API

Envía un cuerpo de solicitud JSON usando los parámetros descritos abajo.

Solicitud de ejemplo

Sustituye YOUR_API_KEY y ejecuta este comando en tu terminal.

curl -X POST 'https://api.nexscope.ai/googleTrend/getTrendByKeys' \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "dayRangeEnd": "2025-01-01",
  "dayRangeStart": "2024-01-01",
  "keyword": "wireless charger",
  "region": "US"
}'

Ejemplo de código

{
  "dayRangeEnd": "2025-01-01",
  "dayRangeStart": "2024-01-01",
  "keyword": "wireless charger",
  "region": "US"
}

Paso 3 de 3 · Inspeccionar el resultado

Comprueba la respuesta

Consulta code para ver el estado de la solicitud y data para ver el resultado. Abre la referencia de parámetros y respuestas para consultar las definiciones completas de los campos.

Códigos de estado HTTP

CódigoDescripción
200Respuesta HTTP predeterminada tanto para el éxito como para muchos errores de negocio. Solo el código JSON externo 0 indica éxito o aceptación asíncrona; consulta data para obtener el resultado.
429Límite de admisión de ejecuciones; respeta Retry-After cuando esté presente.
503La admisión de ejecuciones no está disponible temporalmente; respeta Retry-After cuando esté presente.
OpcionalX-Nexscope-Http-Status: semantic asigna estados HTTP a los errores de negocio gestionados por el controlador en las rutas de ejecución y tareas. Los fallos previos a la autenticación, como una clave API ausente o no válida (code 11209, incluida una copia incompleta o dañada) o una sesión web caducada (code 12001), pueden seguir devolviendo HTTP 200 antes de esta asignación. Comprueba siempre el código JSON externo; las solicitudes malformadas y los fallos de infraestructura también pueden devolver respuestas HTTP distintas de 200.
Todas las categorías/ Herramientas de investigación de Google

Paso 1 de 2 · Conectar tu cliente MCP

MCP

Usa el endpoint MCP cuando un agente necesite descubrir y llamar a herramientas de API con JSON-RPC.

GET /mcp/legacy
POST /mcp/legacy
Authorization: Bearer nk-xxxxxxxxxxxxxxxxx
Content-Type: application/json

Paso 2 de 2 · Llamar a la herramienta

Llamar a una herramienta

{
  "jsonrpc": "2.0",
  "id": "tool-call-1",
  "method": "tools/call",
  "params": {
    "name": "nexscope_google_trends_by_keywords",
    "arguments": {
      "keyword": "phone case",
      "region": "US"
    }
  }
}

¿Qué puedes hacer con esta API?

Datos explicados y casos de uso prácticos

AI Guide

Question

What search-interest data can Google Trends By Keywords provide, and how might I use it?

AI answer

Google Trends By Keywords returns a keyword's search-interest values over a selected date range and region. The documented values are normalized popularity scores from 0 to 100, not search counts. Although the response uses an array named trendInfoForKeys, the documented request has one keyword field.

Data categoryDocumented fieldsWhat the values mean
Keyword representedtrendInfoForKeys[].keywordThe term associated with a trend series.
Date of each observationtrendInfoForKeys[].trendValues[].timeRangeThe date label for a trend value, formatted yyyy-MM-dd.
Relative search interesttrendInfoForKeys[].trendValues[].valueNormalized search popularity from 0 to 100; it is a string in the documented schema.
Chart-ready serieschartOption.data, chartOption.fieldX, chartOption.fieldYVisualization data and the fields designated for the chart axes.
  • Check whether interest in “phone case” rises during particular months in a selected region.
    • Prompt example: “I am researching products for an online store. Could you check whether interest in “phone case” rises during particular months in a selected region? Show the relevant returned evidence and tell me what input you need from me.”
  • Examine a custom date range before planning when to publish content about a product category.
    • Prompt example: “I am researching products for an online store. Could you examine a custom date range before planning when to publish content about a product category? Show the relevant returned evidence and tell me what input you need from me.”
  • Run separate keyword requests to inspect the timing of interest for related terms, while keeping their normalized scores in context.
    • Prompt example: “I am researching products for an online store. Could you run separate keyword requests to inspect the timing of interest for related terms, while keeping their normalized scores in context? Show the relevant returned evidence and tell me what input you need from me.”
  • Plot the returned series to show when search interest increased or declined. An empty trendValues array, as in the example, supplies no observations to interpret.
    • Prompt example: “I am researching products for an online store. Could you plot the returned series to show when search interest increased or declined? Show matching records and source links where the API provides them; ask me for any required identifier or filter.”

Ejemplo de datos

Ejemplo de solicitud y respuesta

Parámetros de solicitud

{
  "keyword": "flower delivery",
  "region": "AU",
  "dayRangeStart": "2021-01-01",
  "dayRangeEnd": "2026-09-30"
}

Respuesta

{
  "code": 0,
  "msg": null,
  "data": {
    "trendInfoForKeys": [
      {
        "keyword": "flower delivery",
        "trendValues": [
          {
            "value": "45",
            "timeRange": "Jan 2021"
          },
          {
            "value": "71",
            "timeRange": "Feb 2021"
          },
          {
            "value": "56",
            "timeRange": "Mar 2021"
          },
          {
            "value": "50",
            "timeRange": "Apr 2021"
          },
          {
            "value": "77",
            "timeRange": "May 2021"
          },
          {
            "value": "56",
            "timeRange": "Jun 2021"
          },
          {
            "value": "75",
            "timeRange": "Jul 2021"
          },
          {
            "value": "100",
            "timeRange": "Aug 2021"
          },
          {
            "value": "95",
            "timeRange": "Sep 2021"
          },
          {
            "value": "72",
            "timeRange": "Oct 2021"
          },
          {
            "value": "53",
            "timeRange": "Nov 2021"
          },
          {
            "value": "52",
            "timeRange": "Dec 2021"
          },
          {
            "value": "60",
            "timeRange": "Jan 2022"
          },
          {
            "value": "77",
            "timeRange": "Feb 2022"
          },
          {
            "value": "57",
            "timeRange": "Mar 2022"
          },
          {
            "value": "56",
            "timeRange": "Apr 2022"
          },
          {
            "value": "73",
            "timeRange": "May 2022"
          },
          {
            "value": "47",
            "timeRange": "Jun 2022"
          },
          {
            "value": "51",
            "timeRange": "Jul 2022"
          },
          {
            "value": "53",
            "timeRange": "Aug 2022"
          },
          {
            "value": "50",
            "timeRange": "Sep 2022"
          },
          {
            "value": "46",
            "timeRange": "Oct 2022"
          },
          {
            "value": "46",
            "timeRange": "Nov 2022"
          },
          {
            "value": "43",
            "timeRange": "Dec 2022"
          },
          {
            "value": "40",
            "timeRange": "Jan 2023"
          },
          {
            "value": "67",
            "timeRange": "Feb 2023"
          },
          {
            "value": "43",
            "timeRange": "Mar 2023"
          },
          {
            "value": "41",
            "timeRange": "Apr 2023"
          },
          {
            "value": "63",
            "timeRange": "May 2023"
          },
          {
            "value": "38",
            "timeRange": "Jun 2023"
          },
          {
            "value": "40",
            "timeRange": "Jul 2023"
          },
          {
            "value": "41",
            "timeRange": "Aug 2023"
          },
          {
            "value": "41",
            "timeRange": "Sep 2023"
          },
          {
            "value": "42",
            "timeRange": "Oct 2023"
          },
          {
            "value": "41",
            "timeRange": "Nov 2023"
          },
          {
            "value": "39",
            "timeRange": "Dec 2023"
          },
          {
            "value": "37",
            "timeRange": "Jan 2024"
          },
          {
            "value": "64",
            "timeRange": "Feb 2024"
          },
          {
            "value": "41",
            "timeRange": "Mar 2024"
          },
          {
            "value": "41",
            "timeRange": "Apr 2024"
          },
          {
            "value": "66",
            "timeRange": "May 2024"
          },
          {
            "value": "36",
            "timeRange": "Jun 2024"
          },
          {
            "value": "41",
            "timeRange": "Jul 2024"
          },
          {
            "value": "41",
            "timeRange": "Aug 2024"
          },
          {
            "value": "40",
            "timeRange": "Sep 2024"
          },
          {
            "value": "43",
            "timeRange": "Oct 2024"
          },
          {
            "value": "38",
            "timeRange": "Nov 2024"
          },
          {
            "value": "38",
            "timeRange": "Dec 2024"
          },
          {
            "value": "40",
            "timeRange": "Jan 2025"
          },
          {
            "value": "70",
            "timeRange": "Feb 2025"
          },
          {
            "value": "41",
            "timeRange": "Mar 2025"
          },
          {
            "value": "42",
            "timeRange": "Apr 2025"
          },
          {
            "value": "64",
            "timeRange": "May 2025"
          },
          {
            "value": "40",
            "timeRange": "Jun 2025"
          },
          {
            "value": "48",
            "timeRange": "Jul 2025"
          },
          {
            "value": "52",
            "timeRange": "Aug 2025"
          },
          {
            "value": "48",
            "timeRange": "Sep 2025"
          },
          {
            "value": "49",
            "timeRange": "Oct 2025"
          },
          {
            "value": "46",
            "timeRange": "Nov 2025"
          },
          {
            "value": "45",
            "timeRange": "Dec 2025"
          },
          {
            "value": "43",
            "timeRange": "Jan 2026"
          },
          {
            "value": "69",
            "timeRange": "Feb 2026"
          },
          {
            "value": "48",
            "timeRange": "Mar 2026"
          },
          {
            "value": "49",
            "timeRange": "Apr 2026"
          },
          {
            "value": "66",
            "timeRange": "May 2026"
          },
          {
            "value": "44",
            "timeRange": "Jun 2026"
          },
          {
            "value": "47",
            "timeRange": "Jul 2026"
          },
          {
            "value": "47",
            "timeRange": "Aug 2026"
          },
          {
            "value": "47",
            "timeRange": "Sep 2026"
          }
        ]
      }
    ],
    "chartOption": {
      "data": [
        {
          "flower delivery": 45,
          "timeRange": "Jan 2021"
        },
        {
          "flower delivery": 71,
          "timeRange": "Feb 2021"
        },
        {
          "flower delivery": 56,
          "timeRange": "Mar 2021"
        },
        {
          "flower delivery": 50,
          "timeRange": "Apr 2021"
        },
        {
          "flower delivery": 77,
          "timeRange": "May 2021"
        },
        {
          "flower delivery": 56,
          "timeRange": "Jun 2021"
        },
        {
          "flower delivery": 75,
          "timeRange": "Jul 2021"
        },
        {
          "flower delivery": 100,
          "timeRange": "Aug 2021"
        },
        {
          "flower delivery": 95,
          "timeRange": "Sep 2021"
        },
        {
          "flower delivery": 72,
          "timeRange": "Oct 2021"
        },
        {
          "flower delivery": 53,
          "timeRange": "Nov 2021"
        },
        {
          "flower delivery": 52,
          "timeRange": "Dec 2021"
        },
        {
          "flower delivery": 60,
          "timeRange": "Jan 2022"
        },
        {
          "flower delivery": 77,
          "timeRange": "Feb 2022"
        },
        {
          "flower delivery": 57,
          "timeRange": "Mar 2022"
        },
        {
          "flower delivery": 56,
          "timeRange": "Apr 2022"
        },
        {
          "flower delivery": 73,
          "timeRange": "May 2022"
        },
        {
          "flower delivery": 47,
          "timeRange": "Jun 2022"
        },
        {
          "flower delivery": 51,
          "timeRange": "Jul 2022"
        },
        {
          "flower delivery": 53,
          "timeRange": "Aug 2022"
        },
        {
          "flower delivery": 50,
          "timeRange": "Sep 2022"
        },
        {
          "flower delivery": 46,
          "timeRange": "Oct 2022"
        },
        {
          "flower delivery": 46,
          "timeRange": "Nov 2022"
        },
        {
          "flower delivery": 43,
          "timeRange": "Dec 2022"
        },
        {
          "flower delivery": 40,
          "timeRange": "Jan 2023"
        },
        {
          "flower delivery": 67,
          "timeRange": "Feb 2023"
        },
        {
          "flower delivery": 43,
          "timeRange": "Mar 2023"
        },
        {
          "flower delivery": 41,
          "timeRange": "Apr 2023"
        },
        {
          "flower delivery": 63,
          "timeRange": "May 2023"
        },
        {
          "flower delivery": 38,
          "timeRange": "Jun 2023"
        },
        {
          "flower delivery": 40,
          "timeRange": "Jul 2023"
        },
        {
          "flower delivery": 41,
          "timeRange": "Aug 2023"
        },
        {
          "flower delivery": 41,
          "timeRange": "Sep 2023"
        },
        {
          "flower delivery": 42,
          "timeRange": "Oct 2023"
        },
        {
          "flower delivery": 41,
          "timeRange": "Nov 2023"
        },
        {
          "flower delivery": 39,
          "timeRange": "Dec 2023"
        },
        {
          "flower delivery": 37,
          "timeRange": "Jan 2024"
        },
        {
          "flower delivery": 64,
          "timeRange": "Feb 2024"
        },
        {
          "flower delivery": 41,
          "timeRange": "Mar 2024"
        },
        {
          "flower delivery": 41,
          "timeRange": "Apr 2024"
        },
        {
          "flower delivery": 66,
          "timeRange": "May 2024"
        },
        {
          "flower delivery": 36,
          "timeRange": "Jun 2024"
        },
        {
          "flower delivery": 41,
          "timeRange": "Jul 2024"
        },
        {
          "flower delivery": 41,
          "timeRange": "Aug 2024"
        },
        {
          "flower delivery": 40,
          "timeRange": "Sep 2024"
        },
        {
          "flower delivery": 43,
          "timeRange": "Oct 2024"
        },
        {
          "flower delivery": 38,
          "timeRange": "Nov 2024"
        },
        {
          "flower delivery": 38,
          "timeRange": "Dec 2024"
        },
        {
          "flower delivery": 40,
          "timeRange": "Jan 2025"
        },
        {
          "flower delivery": 70,
          "timeRange": "Feb 2025"
        },
        {
          "flower delivery": 41,
          "timeRange": "Mar 2025"
        },
        {
          "flower delivery": 42,
          "timeRange": "Apr 2025"
        },
        {
          "flower delivery": 64,
          "timeRange": "May 2025"
        },
        {
          "flower delivery": 40,
          "timeRange": "Jun 2025"
        },
        {
          "flower delivery": 48,
          "timeRange": "Jul 2025"
        },
        {
          "flower delivery": 52,
          "timeRange": "Aug 2025"
        },
        {
          "flower delivery": 48,
          "timeRange": "Sep 2025"
        },
        {
          "flower delivery": 49,
          "timeRange": "Oct 2025"
        },
        {
          "flower delivery": 46,
          "timeRange": "Nov 2025"
        },
        {
          "flower delivery": 45,
          "timeRange": "Dec 2025"
        },
        {
          "flower delivery": 43,
          "timeRange": "Jan 2026"
        },
        {
          "flower delivery": 69,
          "timeRange": "Feb 2026"
        },
        {
          "flower delivery": 48,
          "timeRange": "Mar 2026"
        },
        {
          "flower delivery": 49,
          "timeRange": "Apr 2026"
        },
        {
          "flower delivery": 66,
          "timeRange": "May 2026"
        },
        {
          "flower delivery": 44,
          "timeRange": "Jun 2026"
        },
        {
          "flower delivery": 47,
          "timeRange": "Jul 2026"
        },
        {
          "flower delivery": 47,
          "timeRange": "Aug 2026"
        },
        {
          "flower delivery": 47,
          "timeRange": "Sep 2026"
        }
      ],
      "fieldY": [
        "flower delivery"
      ],
      "fieldX": "timeRange",
      "type": "line"
    }
  }
}

API relacionadas