Search enginesAvailable
Google Search Autocomplete
Retrieve Google search suggestions for a query prefix. Suggestions are not search-volume measurements.
- Endpoint
- POST https://api.serpbase.dev/google/autocomplete
- Price
- 1 credit
- 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 →
Example
cURL
curl -X POST 'https://api.serpbase.dev/google/autocomplete' \
-H "Content-Type: application/json" \
-H 'X-API-Key: YOUR_API_KEY' \
--max-time 60 \
-d '{"query":"weather"}'Response · real, shortened
{
"status": 0,
"credits_charged": 1,
"request_id": "r-4b27fe8a36d9ac303a5da7dd",
"product_id": "google_autocomplete",
"query": "weather",
"search_type": "autocomplete",
"suggestions": [
{
"rank": 1,
"relevance": 601,
"value": "weather tomorrow"
},
{
"rank": 2,
"relevance": 600,
"value": "weather rock hill sc"
}
]
}Frequently asked questions
How much does the Google Search Autocomplete API cost?
Each request costs 1 credit. Credits come from prepaid packs or the monthly plan, and new accounts start with free credits.
How do I call the Google Search Autocomplete API?
Send a POST request to https://api.serpbase.dev/google/autocomplete with your API key in the X-API-Key header. The response is JSON; check status (0 means success).
Is the Google Search Autocomplete API available now?
Yes. Any active API key can call it.