Google Trends for up to 5 keywords: over time, by region, related ($0.02)
get_google_trendsRetrieves Google Trends data for up to five keywords, including interest over time and by region plus related queries and topics, with selectable country, time range, category, and search type.
Instructions
Google Trends for 1 to 5 keywords in one call: interest over time (0-100 series), interest by region, related queries and related topics (top and rising). Any country or region, time range and category, for web, YouTube, news, images or shopping search. Not charged when Google has no data (404) or does not answer (502). Price: $0.02 USDC per call, paid over x402 on Base from the wallet in X402_PRIVATE_KEY (not charged when the call fails).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"keyword": "<keyword>"
},
"name": "get_google_trends"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| geo | No | Country (US) or region (US-CA); empty = worldwide | |
| time | No | now 1-H, now 4-H, now 1-d, now 7-d, today 1-m, today 3-m, today 12-m (default), today 5-y, all, or 'YYYY-MM-DD YYYY-MM-DD' | |
| keyword | Yes | Search term, or up to 5 comma-separated terms to compare | |
| category | No | Google Trends category id, 0 (default) = all | |
| property | No | Search type: web (default), youtube, news, images, froogle (shopping) | |
| sections | No | Comma list, any of: interestOverTime,interestByRegion,relatedQueries,relatedTopics. Default: all four |