← API Store
Search & SEO
Google Maps
Google Maps
Google Maps autocomplete
GET /google-maps/v1/autocompleteGoogle 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
| Name | Type | Description |
|---|---|---|
qrequired | string | What the user typed. Example: zilker |
lat | number | Latitude to bias around. Example: 30.2672 |
lng | number | Longitude to bias around. Example: -97.7431 |
zoom | integer | Map zoom 3-21 (default 14). |
hl | string | Language, e.g. en. |
gl | string | Country, e.g. us. |
query | string | Same as `q`. |
coordinates | string | `lat,lng` to bias the suggestions, same as `location`. |
language | string | Language (same as `hl`, default en). |
region | string | Country (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.