Short answer: put up to five terms in q, separated by commas, on /google/trends. The answer has one series per term, all on the same 0–100 scale, so the numbers can be compared directly. One request, 2 credits, however many terms.
The request
curl -X POST 'https://api.serpbase.dev/google/trends' \
-H 'Content-Type: application/json' \
-H 'X-API-Key: YOUR_API_KEY' \
-d '{"q":"coffee,tea","geo":"US","date":"today 3-m"}'
q: one to five terms, comma-separated.geo: the region, as Trends writes it (US,GB,DE). Leave it out for worldwide.date: the time range (today 3-m,today 12-m,today 5-y). Default is the past 12 months.
What comes back
Run on 29 November 2026; the answer took 4.7 seconds (shortened):
{
"status": 0,
"credits_charged": 2,
"trends": {
"query": "coffee,tea",
"geo": "US",
"time_range": "today 3-m",
"series": [
{"term": "coffee", "points": [
{"timestamp": "2026-08-29T00:00:00Z", "value": 82},
{"timestamp": "2026-08-30T00:00:00Z", "value": 96}
]},
{"term": "tea", "points": [
{"timestamp": "2026-08-29T00:00:00Z", "value": 36}
]}
]
}
}
Each series had 93 daily points. Summed up:
| Term | Lowest | Highest | Average | Peak day |
|---|---|---|---|---|
| coffee | 54 | 100 | 74.0 | 6 September 2026 |
| tea | 25 | 40 | 33.1 | 19 September 2026 |
Only one term reaches 100: the scale is set by the single highest point across all terms in the request. Tea topping out at 40 means its best day had 40% of the interest of coffee's best day.
A second run, "q":"python,javascript,rust","geo":"GB","date":"today 5-y", returned 262 weekly points per term in 5.0 seconds, with averages of 59.5, 12.1 and 23.5.
Python: rank the terms by average interest
import requests
API = "https://api.serpbase.dev"
HEADERS = {"X-API-Key": "YOUR_API_KEY"}
terms = ["coffee", "tea"]
r = requests.post(API + "/google/trends", headers=HEADERS, timeout=60,
json={"q": ",".join(terms), "geo": "US", "date": "today 3-m"}).json()
if r["status"] != 0:
raise SystemExit(r.get("error"))
rows = []
for s in r["trends"]["series"]:
values = [p["value"] for p in s["points"] if not p.get("partial")]
peak = max(s["points"], key=lambda p: p["value"])
rows.append((sum(values) / len(values), s["term"], len(values), peak["timestamp"][:10]))
top = max(rows)[0]
for avg, term, n, peak_day in sorted(rows, reverse=True):
print(f"{term}: average {avg:.1f} over {n} points, {avg / top:.0%} of the leader, peak {peak_day}")
Our run printed coffee: average 74.1 over 92 points, 100% of the leader, peak 2026-09-06 and tea: average 33.0 over 92 points, 45% of the leader, peak 2026-09-19. (The table above counts all 93 points, including the partial last one.)
Things that trip people up
- Five terms is the ceiling. Six returned status
1000withTrends supports at most five compared query terms, not charged. For a longer list, run batches of five that all include the same anchor term, then rescale each batch by the anchor. - Numbers from different requests are not comparable. Each request has its own 0–100 scale. A 40 in one answer and a 40 in another mean different things unless both were scaled against the same anchor.
- The last point is unfinished. It carries
"partial": true(today, or the current week). Drop it from averages, as the script does. - Point spacing follows the range. Three months gave daily points; five years gave weekly ones.
- Ambiguous words mix meanings.
rustas a plain term counts the language, the game and the corrosion together. Use a topic identifier instead of the word: see Google Trends topic IDs. - Commas separate terms. A term cannot contain a comma.
- The answer is the time series. In our runs
trendsheldseries,query,geoandtime_range, nothing else.
Related
Single-term requests and reading one series are covered in the Google Trends API guide.
Cost and limits
2 credits per request whether you compare one term or five; failed requests are not charged. Credits cost $0.25–$0.50 per 1,000 depending on the plan, and new accounts get 500 free credits without a card.
- Parameters: Google Trends docs
- Try it in the browser: Google Trends
- Credit packs: pricing