---
name: kieapi-google-trends-research
description: Use KieAPI and Google Trends related queries to research a seed keyword for a specific market and time window. Compare established related searches with rising interest and turn the evidence into a shortlist of content ideas.
---

# Research keywords with Google Trends

Start from a seed term and the audience's market, time window and search property. When the user leaves a setting open, state the scope you chose. The API accepts one seed per job. Keep the seed in the audience's language and deliver the brief in the user's language.

Use the connected Team's KieAPI MCP tools. If unavailable, follow the [MCP setup guide](https://kieapi.com/api-docs/mcp) and [Team connection settings](https://kieapi.com/product/mcp). Keep the Team key in the client's secret store.

## Read one related-query report

1. Discover `createGoogleTrendsRelatedQueriesJob` and `getGoogleTrendsJob` using `find_capabilities` with their exact IDs and check each `matches[].id`. Discovery and job polling are free. A completed job costs 20 Credits, including an empty result. Failed jobs are uncharged. For a multi-seed brief, fit the number of distinct jobs to the requested budget. [Google Trends API reference](https://kieapi.com/api-docs/google-trends)
2. Resume a user-supplied job ID if available. For a new collection, use `call_capability` with a fresh key for that logical submission. Reuse the key and identical body for a transport replay. Example for one seed, US Web Search, past 12 months, all categories, English and UTC.

   ```json
   {"capability_id":"createGoogleTrendsRelatedQueriesJob","body":{"keyword":"cold brew","geo":"US","timeframe":"today 12-m","category":0,"property":"","hl":"en-US","tz":0},"idempotency_key":"trends-example-run-01"}
   ```

3. Check MCP `isError` and `structuredContent.http_status`. After an accepted 202, save `structuredContent.data.job.id`. Replace the example ID below with the returned one. Read the same job while its status is `queued`, `running` or `waiting_retry`; the service handles the retry in the last state. Space polls apart for up to the user's time limit or five minutes for a first pass. If pending, return the job ID and last state.

   ```json
   {"capability_id":"getGoogleTrendsJob","path":{"job_id":"gtjob_example"}}
   ```

4. On `completed`, read `structuredContent.data.job.request` for the actual settings and `job.result.top` and `job.result.rising` for the returned rows. On `failed`, report the available `job.error.code` and message. A terminal `upstream_challenge` ends that collection. If a completed list is empty, say which list has no reported data for this scope.

## Build the keyword shortlist

Group terms by search intent and keep each original query next to its interpretation. For a **Top** row, report its relative popularity within that seed and scope. For a **Rising** row, report growth using the provider's `formatted_value` when available. Preserve labels such as “Breakout.” If no readable growth value is supplied, report the returned rank or label the growth unavailable. Keep a query's two signals separate when it appears in both lists. Neither metric supplies absolute monthly search volume; avoid averaging normalized Top scores across seeds.

For each promising idea, show the query, originating list, returned score or growth label, and a content angle that answers the likely intent. Include the returned `link` when present, resolving relative Trends links against `https://trends.google.com`. If an individual row lacks a link, cite the seed, job ID and recorded settings so the reader can reproduce the sample. Distinguish an established topic from a rising idea worth testing; growth from a small base can be steep. Include the observation date and any coverage gaps. [Skill page](https://kieapi.com/skills/google-trends-keyword-research)
