Free ยท No API key ยท CORS enabled
Google autocomplete,
as clean JSON.
A tiny proxy over Google's public suggest endpoint. One GET request in, a tidy {query, suggestions[]} out. Type below to see it live.
No suggestions for that one. Try another term.
Plain list
CSV
Numbered list
{
"query": "",
"suggestions": []
}
โก 0 ms
Documentation
One endpoint. That's the whole API.
GET
/suggestions?query=<term>&lang=<code>
| Param | Required | Description |
|---|---|---|
query | required | The search term to autocomplete. |
lang | optional | Language code (ISO 639-1). Defaults to en. |
200 Success
{
"query": "how to make",
"suggestions": [
"how to make pancakes",
"how to make money online",
"how to make slime"
]
}
400 Missing query
{
"error": "Missing required 'query' parameter"
}
200 Upstream failure โ graceful fallback
{
"query": "anything",
"suggestions": []
}
Use it from anywhere
CORS is wide open (Access-Control-Allow-Origin: *), so you can call it straight from the browser:
const r = await fetch('/suggestions?query=coffee&lang=en');
const { query, suggestions } = await r.json();