Google Autocomplete

Google's suggestion lists across five surfaces — web, YouTube, Images, local and Scholar. The same endpoint returns a different universe per surface.

6 endpoints2.5k calls6/6 passing
Get API key

Web search autocomplete, with relevance scores.

GET/v1/…google/web
passing · 0.1s10m cache

Try it

Checking your keys…

Parameters

q

string · query · required

Seed text to complete.

lang

string · query · optional

UI language, two letters. Default id.

region

string · query · optional

Country bias, two letters. Default ID.

count

number · query · optional

Cap the list. Default: everything the upstream returns.

Example response

{"project":"autocomplete:google",  "data": {"count":15,    "items": [      {"text":"cara membuat cv","relevance":601      },      {"text":"cara membuat npwp online","relevance":600      },      {"text":"cara membuat cv lamaran kerja","relevance":562      },      {"text":"cara membuat email baru","relevance":561      },      {"text":"cara membuat npwp","relevance":560      },      {"text":"cara membuat daftar isi otomatis","relevance":559      },      {"text":"cara membuat martabak manis","relevance":558      },      {"text":"cara membuat cireng","relevance":557      }    ],"query":"cara membuat","locale":"id-ID","surface":"web","provider":"google"  },"timestamp":"2026-10-02T01:56:17Z"}

Errors

  • 401Missing or invalid x-api-key
  • 404Not found or private
  • 429Rate limit or monthly quota reached

Code

const data = await client.run(  "autocomplete:google",  "web",  { q: "cara membuat", lang: "id", region: "ID", count: 10 });