Short answer: the date you send to /google/trends sets the granularity. Google Trends returns weekly points for a 12-month range, daily points for 3 months, hourly points for 7 days and 8-minute points for the past day. Ask for "today 3-m" and you get one value per day.
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":"pickleball","geo":"US","date":"today 3-m"}'
What each range returned
We asked for "pickleball" in the US with three ranges on 1 December 2026, and for "apple" with the default range the same day:
date | Points | Spacing | First point (UTC) |
|---|---|---|---|
today 12-m (default, "apple") | 53 | 1 week | 2025-11-30 |
today 3-m | 92 | 1 day | 2026-09-01 |
now 7-d | 169 | 1 hour | 2026-11-24 02:00 |
now 1-d | 180 | 8 minutes | 2026-11-30 02:16 |
The daily response, shortened:
{
"status": 0,
"credits_charged": 2,
"trends": {
"query": "pickleball",
"geo": "US",
"time_range": "today 3-m",
"series": [
{
"term": "pickleball",
"points": [
{"timestamp": "2026-09-01T00:00:00Z", "value": 76},
{"timestamp": "2026-09-02T00:00:00Z", "value": 85},
{"timestamp": "2026-12-01T00:00:00Z", "value": 65, "partial": true}
]
}
]
}
}
In the daily series the term peaked at 100 on 4, 6 and 7 September and was lowest (53) on 4 November.
Python: daily values into a table
import requests
def series(q, date, geo="US"):
r = requests.post("https://api.serpbase.dev/google/trends",
headers={"X-API-Key": "YOUR_API_KEY"},
json={"q": q, "geo": geo, "date": date},
timeout=60).json()
if r["status"] != 0:
raise RuntimeError(r.get("error"))
pts = r["trends"]["series"][0]["points"]
return [(p["timestamp"], p["value"]) for p in pts if not p.get("partial")]
daily = series("pickleball", "today 3-m")
print(len(daily), "complete days")
for ts, v in daily[-7:]:
print(ts[:10], v)
Things that trip people up
- Every range has its own 0–100 scale. 100 is the busiest point inside that request only. A daily 80 and a weekly 80 are not the same level, so do not glue ranges together without rescaling on an overlap.
- The last point is often
partial. It is still filling in; in all four of our responses the final point carried"partial": true. Drop it before computing trends, as the code above does. - Timestamps are written in UTC (
Z). Daily points are labelledT00:00:00Z; hourly points fall on the hour and past-day points every 8 minutes. - Short ranges can come back as an error. One of our two
now 7-drequests ended with status 1502 and was not charged; the retry worked. Retry 1502 and 1504 after a short pause.
Related
- Interest over time with the default range
- Interest by region and related queries
- Comparing up to five terms
Cost and docs
Each Trends request costs 2 credits whatever the range, and failed requests are not charged. New accounts get 500 free credits.
- Parameters and response: Google Trends docs
- Try it in the browser: Google Trends API
- Credit packs: pricing