Google Trends comparison (up to 5 keywords)
google_trends_compareGoogle Trends comparison of up to 5 keywords: one relative 0-100 interest series for all of them (same scale), with each keyword's average and latest value; worldwide or one country, 7 days to 5 years, web, news or YouTube search, in one $0.045 call. Use when you need to compare demand or seasonality between terms. A live call takes up to about 30 s. Too little data gives found false (still charged). Bad input is free; upstream errors are not charged. Price: $0.045 per successful call, paid over x402 (USDC on Base); pass the payment in _meta["x402/payment"].
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": {
"keywords": "<keywords>"
},
"name": "google_trends_compare"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | Google property: web (default), news or youtube. | |
| keywords | Yes | 1-5 terms to compare, e.g. ["running shoes", "trail running shoes"] (each 2-100 characters, no commas). | |
| location | No | Market: a country name ("United States") or ISO 3166-1 alpha-2 code (us, gb, de; uk = gb). Omit for worldwide. | |
| timeframe | No | Time window: 7d, 30d, 90d, 12m or 5y (default 12m); the past_* names of /v1/trend work too. |