PeumeAPI

Search & SEO · Google Trends

Resolve Trend Topics

Resolve a term to Google Trends topics and their ids.

$0.023 per call

Call it

curl https://api.peume.com/v1/call/google-trends-resolve-trend-topics \
  -H "Authorization: Bearer $PEUME_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "input": {
    "q": "your q"
  }
}'

Answer: {"id": "run_…", "status": "completed", "cost_usd": …, "output": {…}}. Long jobs answer 202 with a run id to read later. From an AI agent, connect the MCP server and ask for this by name: google-trends-resolve-trend-topics.

Parameters

qRequiredstring

The query you want to search. You can use anything that you would use in a regular Google Trends search. The query is used to retrieve suggested searches.

hlstring

The language to use for the Google Trends Autocomplete search. It's a two or three-letter language code. (e.g., `en` for English, `es` for Spanish, or `fr` for French), optionally followed by a two-letter or three-digit region code (e.g., `en-gb` for British English, or `es-419` for Latin American Spanish).

json_restrictorstring

The fields you want to include in the output, reducing payload size for faster response. See the JSON Restrictor documentation for more details.

Start free · $1 of calls included

Every API your product needs. One key.

7,267 endpoints, one bill, and you only pay for calls that work.