Search APIs
Loading…
← API Store
Search & SEO

Google Maps

Google Maps

Google Maps autocomplete

GET /google-maps/v1/autocomplete
Test this endpoint

Google Maps search suggestions for what a user has typed: places (name, address, coordinates, place_id, feature_id, cid, kgmid) and query suggestions, in the order the search box shows them. lat/lng (or location=lat,lng) and zoom bias the suggestions to an area like the map viewport.

Every response includes credits_used: the credits this call cost.

Each call costs 1 credits; failed calls are free. Run it in the console playground to see a live result.

Parameters

NameTypeDescription
qrequiredstringWhat the user typed. Example: zilker
latnumberLatitude to bias around. Example: 30.2672
lngnumberLongitude to bias around. Example: -97.7431
zoomintegerMap zoom 3-21 (default 14).
hlstringLanguage, e.g. en.
glstringCountry, e.g. us.
querystringSame as `q`.
coordinatesstring`lat,lng` to bias the suggestions, same as `location`.
languagestringLanguage (same as `hl`, default en).
regionstringCountry (same as `gl`, default us).

Every endpoint also takes: raw、fields、fresh、output、records

No sample yet

This endpoint has no published sample. Use “Test this endpoint” to run it in the console playground.