APIs / Google Maps / Autocomplete
Google Maps: Autocomplete
Autocomplete from Google Maps as JSON. 1 credit per successful call.
GET /v1/google-maps/autocomplete
Parameters
Send parameters in the query string.
Required Send query or q.
| Parameter | Type | Required | Allowed values |
|---|---|---|---|
query | string | Optional | Up to 255 characters |
q | string | Optional | Up to 255 characters |
hl | string | Optional | Up to 2 characters |
gl | string | Optional | Up to 2 characters |
ll | string | Optional | Any |
google_domain | string | Optional | Up to 100 characters |
Example request
Google Maps
GET/v1/google-maps/autocomplete?q=bakery
{
"search_parameters": {
"engine": "google_maps_autocomplete",
"q": "bakery",
"hl": "en"
},
"suggestions": [
{
"type": "place",
"google_id": "0x3b05bbb7a88eb3b3:0xf99efb5e702be6a7",
"place_id": "ChIJs7OOqLe7BTsRp-YrcF77nvk=",
"main_text": "Bakery Junction",
"subtext": "Thiruvananthapuram, Kerala, Indien",
"main_text_highlights": [
{
"offset": 0,
"length": 6
}
],
"latitude": 8.5018028,
"longitude": 76.9550342,
"country": "IN"
},
{
"type": "place",
"google_id": "0x46920b56437dd413:0x5b44223d89e73b8a",
"place_id": "ChIJE9R9Q1YLkkYRijvniT0iRFs=",
"main_text": "Bakery Iita - Töölö",
"subtext": "Caloniuksenkatu, Helsinki, Finnland",
"main_text_highlights": [
{
"offset": 0,
"length": 6
}
],
"latitude": 60.1746136,
"longitude": 24.9213557,
"country": "FI"
},
{
"type": "place",
"google_id": "0x475a71034ba118e5:0x58dd802237adae1",
"place_id": "ChIJ5RihSwNxWkcR4dp6IwLYjQU=",
"main_text": "Bakery Suzana",
"subtext": "Belgrad, Serbien",
"main_text_highlights": [
{
"offset": 0,
"length": 6
}
],
"latitude": 44.7916843,
"longitude": 20.4660865,
"country": "RS"
}
],
"response_time_ms": 673
}200 OKJSONX-Credits-Used: 1
Recorded 12 Nov 2026 and shortened.
Run this endpoint in the playground with your own parameters. 1 credit per successful call; failed calls are free.
Response fields
The response has these 3 fields, read from a recorded call. The recording leaves out fields that were empty, so a live call can return more.
| Field | Type |
|---|---|
search_parameters | object |
suggestions | object[] |
response_time_ms | integer |