Google Trends Autocomplete
Google Trends topic suggestions for a keyword, with each topic's type and identifier.
- Endpoint
- POST https://api.serpbase.dev/google/trends/autocomplete
- Price
- 2 credits
- Authentication
- X-API-Key
You pay for successful requests only. Each endpoint has a fixed price in credits — most cost 1 or 2 — and a request that fails gives its credits back automatically. Billing →
Need the whole Google results page instead? The Google SERP API returns organic results, AI Overviews and People Also Ask as JSON.
Example
curl -X POST 'https://api.serpbase.dev/google/trends/autocomplete' \
-H "Content-Type: application/json" \
-H 'X-API-Key: YOUR_API_KEY' \
--max-time 60 \
-d '{"q":"coffee"}'{
"status": 0,
"credits_charged": 2,
"request_id": "r-4b27fe8a36d9ac303a5da7dd",
"product_id": "google_trends_autocomplete",
"query": "coffee",
"action": "trends.autocomplete",
"source": "google",
"suggestions": [
{
"id": "/m/02vqfm",
"text": "Coffee",
"type": "Beverage"
},
{
"id": "/m/07xyvk",
"text": "Coffeemaker",
"type": "Topic"
}
],
"url": "https://trends.google.com/trends/api/autocomplete/coffee?hl=en"
}Frequently asked questions
How much does the Google Trends Autocomplete API cost?
Each request costs 2 credits. Credits come from prepaid packs or the monthly plan, and new accounts start with free credits.
How do I call the Google Trends Autocomplete API?
Send a POST request to https://api.serpbase.dev/google/trends/autocomplete with your API key in the X-API-Key header. The response is JSON; check status (0 means success).
Which devices does it support?
Supported devices: desktop. The default is desktop.
Is the Google Trends Autocomplete API available now?
Yes. Any active API key can call it.