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.

    live response
    {
      "query": "",
      "suggestions": []
    }

    Documentation

    One endpoint. That's the whole API.

    GET /suggestions?query=<term>&lang=<code>
    ParamRequiredDescription
    queryrequiredThe search term to autocomplete.
    langoptionalLanguage 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();