Marina Bay Sands, Singapore, or a structured address with typed components; results come back ordered by relevance, each with lon/lat that plug directly into the coordinates of Directions and the other routing APIs.
Endpoint
Quickstart
Request Parameters
Search input
Exactly one oftext or the structured fields is required. Structured fields that are empty are ignored — the API only sees what you provide.
Response options
Examples
- Free text
- Structured address
- Filter by country
Response
response-example.json
Response fields
Rank object
Rank object
Scores how well a result matches the query:
Timezone and BBox objects
Timezone and BBox objects
timezone has name (IANA name), offset_STD/offset_DST (+08:00-style) and their *_seconds equivalents. bbox is the place’s bounding box as [lon1, lat1, lon2, lat2], useful for centering a map view.Geocode results use the same
lng,lat order as the routing APIs — paste lon,lat straight into coordinates. See Coverage for the countries served.Errors
Recipes
- Geocode → route:
results[0].lon/results[0].latare already inlng,latorder — drop them into/route/v1/driving/{lng},{lat}or an SDKRouteRequest(origin=[lon, lat]) - Disambiguate common names: prefer the structured form with
city+country— they are the strongest disambiguators - Pin results to one country:
filter=countrycode:sg; see Coverage for supported codes
Related
Directions
Route between the coordinates you just geocoded
Nearest
Snap a coordinate to the road network
Fleet Optimization
VROOM vehicle routing with time windows and capacity
