Search & Discover Places
The Places API has four endpoints: keyword search, autocomplete, nearby search, and reverse geocoding.
Keyword search
Autocomplete
Reverse geocoding
Find Nearby Places
GET /api/v1/search-text
Search for a place by name or address. Include location to improve result relevance.
const params = new URLSearchParams({
keyword: 'Marina Bay Sands',
country: 'SGP',
location: '1.3521,103.8198',
limit: '5'
});
const response = await fetch('https://api.maps.grab.com/api/v1/search-text?' + params, {
headers: {
'Authorization': 'Bearer <ACCESS_TOKEN>'
}
});
if (!response.ok) {
throw new Error('Request failed with HTTP ' + response.status);
}
const data = await response.json();
(data.places ?? []).forEach((place) => {
console.log(place.name, place.formatted_address, place.location);
});Parameters
| Parameter | Description |
|---|---|
keyword | Required. Text query to find places. |
location | Required when country is omitted. Bias point as "latitude,longitude". |
country | Required when location is omitted. ISO 3166-1 alpha-3 (e.g. SGP, IDN). |
limit | Optional. Requested result limit (downstream default 10). The public gateway may return more than requested. |
language | Optional. Language for place names. |
type | Optional. Search scenario: dropoff or pickup. |
source | Optional. Originating application or service vertical. |
GET /api/v1/autocomplete
Return place suggestions as a user types. Include location or country to improve relevance.
const params = new URLSearchParams({
keyword: 'Marina',
country: 'SGP',
location: '1.3521,103.8198',
limit: '5'
});
const response = await fetch('https://api.maps.grab.com/api/v1/autocomplete?' + params, {
headers: {
'Authorization': 'Bearer <ACCESS_TOKEN>'
}
});
if (!response.ok) {
throw new Error('Request failed with HTTP ' + response.status);
}
const data = await response.json();
(data.places ?? []).forEach((place) => {
console.log(place.name, place.formatted_address, place.score);
});Parameters
| Parameter | Description |
|---|---|
keyword | Required. Short user input to complete. |
location | Optional. Bias point as "latitude,longitude". |
country | Optional. ISO 3166-1 alpha-3 country code (e.g. SGP). |
limit | Optional. Max POIs to return (default 10). |
language | Optional. Language for place names. |
GET /api/v1/search-nearby
Find places within a radius of a given location. Sort by distance or popularity using rankBy.
const params = new URLSearchParams({
location: '1.3521,103.8198',
radius: '1',
limit: '10',
rankBy: 'distance'
});
const response = await fetch('https://api.maps.grab.com/api/v1/search-nearby?' + params, {
headers: {
'Authorization': 'Bearer <ACCESS_TOKEN>'
}
});
if (!response.ok) {
throw new Error('Request failed with HTTP ' + response.status);
}
const data = await response.json();
(data.places ?? []).forEach((place) => {
console.log(place.name, place.location);
});Parameters
| Parameter | Description |
|---|---|
location | Required. "latitude,longitude" of the search center. |
radius | Optional. Search radius in kilometres (default 1 km)—not meters. |
limit | Optional. Max POIs to return (default 10). |
rankBy | Optional. distance (default) or popularity. |
language | Optional. Language for place names. |
GET /api/v1/reverse-geocode
Convert coordinates to a place name. Use this when a user taps or drags a pin on the map.
const params = new URLSearchParams({
location: '1.2834,103.8607'
});
const response = await fetch('https://api.maps.grab.com/api/v1/reverse-geocode?' + params, {
headers: {
'Authorization': 'Bearer <ACCESS_TOKEN>'
}
});
if (!response.ok) {
throw new Error('Request failed with HTTP ' + response.status);
}
const data = await response.json();
console.log(data);Parameters
| Parameter | Description |
|---|---|
location | Required. "latitude,longitude" of the pin. |
language | Optional. Language for place names. |
type | Optional. Reverse-geocoding scenario: dropoff or pickup. |
limit | Optional. Requested result limit (downstream default 1). The public gateway may return more than requested. |
vehicle_type | Optional. Vehicle type supported by the downstream Places service. |
source | Optional. Originating application or service vertical. |
API reference
Successful response fields are returned at the top level. For client, dependency, and internal error behavior, see API Calls.
/api/v1/search-textKeyword search: place name or address.
const params = new URLSearchParams({
keyword: 'Marina Bay Sands',
country: 'SGP',
location: '1.3521,103.8198',
limit: '5'
});
const response = await fetch('https://api.maps.grab.com/api/v1/search-text?' + params, {
headers: {
'Authorization': 'Bearer <ACCESS_TOKEN>'
}
});
if (!response.ok) {
throw new Error('Request failed with HTTP ' + response.status);
}
const data = await response.json();
(data.places ?? []).forEach((place) => {
console.log(place.name, place.formatted_address, place.location);
});Response format
{
"places": [
{
"poi_id": "IT.3OCK7LEGD0GYN",
"location": {
"latitude": 1.2822848,
"longitude": 103.86001130205221
},
"country": "Singapore",
"country_code": "SGP",
"city": "Singapore City",
"cityId": 6,
"street": "Bayfront Avenue",
"house": "1",
"administrative_areas": [
{ "type": "SubRegion", "name": "Singapore" },
{ "type": "Municipality", "name": "Downtown Core" },
{ "type": "Neighborhood", "name": "Bayfront Subzone" }
],
"postcode": "018971",
"name": "MBS Hotel Tower 1",
"short_name": "MBS Hotel Tower 1",
"formatted_address": "1 Bayfront Avenue, Singapore, 018971",
"business_type": "hotel",
"category": "hotel",
"opening_hours": "{}",
"time_zone": { "name": "Asia/Singapore", "offset": 28800 },
"excluded_vehicle_type": ["HELICOPTER", "TRIKE"],
"status": 1,
"guide_info": {
"guide_header": "Head to L1 pick up.",
"guide_body": "Head to level 1, meet driver at level 1 pick up point."
},
"transportation_type": 0
}
],
"renders": [
{ "id": "IT.3OCK7LEGD0GYN" },
{ "id": "IT.1FFUYBQEVQV0H" },
{ "id": "IT.37BC3DG6FDW03" }
],
"areas": [
{
"id": "IT.3OCK7LEGD0GYN",
"plots": [{ "id": "IT.12O6D3PBWOGL2" }],
"polygons": [
[
[
{ "lat": 1.282439266268838, "lng": 103.85948303266458 },
{ "lat": 1.2827400534105209, "lng": 103.85964471792715 },
{ "lat": 1.282439266268838, "lng": 103.85948303266458 }
]
]
],
"source": "ENTRANCE",
"type": "ENTRANCE"
}
],
"uuid": "6c6d4386-54cd-4f4d-b34a-6d8bfeabbcba",
"is_confident": true
}Response fields
| Field | Type | Description |
|---|---|---|
places | array<object> | Place candidates ordered by search relevance. |
places[].poi_id | string | Unique Grab place identifier. |
places[].location.latitude | number | Place latitude in decimal degrees. |
places[].location.longitude | number | Place longitude in decimal degrees. |
places[].country_code | string | ISO 3166-1 alpha-3 country code. |
places[].administrative_areas | array<object> | Administrative hierarchy for the place. |
places[].name | string | Display name for the place. |
places[].formatted_address | string | Formatted address suitable for display. |
places[].business_type | string | Business category returned for the place. |
places[].time_zone | object | IANA time-zone name and UTC offset in seconds for the place. |
places[].guide_info | object | Pickup or drop-off guidance when available.Optional. |
renders | array<object> | Render ordering for matching place identifiers. |
areas | array<object> | Associated entrance or area geometry for returned places.Returned when geometry metadata is available. |
uuid | string | Request identifier returned with the response. |
is_confident | boolean | Whether the search service is confident in the returned match set. |
/api/v1/autocompleteAutocomplete: short user input to predicted places.
const params = new URLSearchParams({
keyword: 'Marina',
country: 'SGP',
location: '1.3521,103.8198',
limit: '5'
});
const response = await fetch('https://api.maps.grab.com/api/v1/autocomplete?' + params, {
headers: {
'Authorization': 'Bearer <ACCESS_TOKEN>'
}
});
if (!response.ok) {
throw new Error('Request failed with HTTP ' + response.status);
}
const data = await response.json();
(data.places ?? []).forEach((place) => {
console.log(place.name, place.formatted_address, place.score);
});Response format
{
"uuid": "82658fd3-4b19-4c96-adbf-1b7af804ede9",
"status": {
"code": "SUCCESS",
"message": "OK"
},
"places": [
{
"poi_id": "IT.0FT9VRL4XXKPY",
"location": { "latitude": 1.27762, "longitude": 103.852616 },
"country": "Singapore",
"country_code": "SGP",
"street": "Straits View",
"house": "9",
"administrative_areas": [
{ "type": "SubRegion", "name": "Singapore" },
{ "type": "Municipality", "name": "Downtown Core" },
{ "type": "Neighborhood", "name": "Central Subzone" }
],
"postcode": "018936",
"name": "Marina One",
"formatted_address": "9 Straits View, Singapore, 018936",
"business_type": "commercial building",
"opening_hours": "{}",
"score": 3354.047,
"time_zone": { "name": "Asia/Singapore", "offset": 28800 },
"place_type": "POI"
}
]
}Response fields
| Field | Type | Description |
|---|---|---|
uuid | string | Request identifier returned with the response. |
status.code | string | Endpoint-level result status.This response field is separate from the HTTP status and GrabMaps error retCode. |
status.message | string | Human-readable endpoint-level status message. |
places | array<object> | Matching places returned by the endpoint. |
places[].poi_id | string | Unique Grab place identifier. |
places[].location.latitude | number | Place latitude in decimal degrees. |
places[].location.longitude | number | Place longitude in decimal degrees. |
places[].country_code | string | ISO 3166-1 alpha-3 country code. |
places[].administrative_areas | array<object> | Administrative hierarchy for the place. |
places[].name | string | Display name for the place. |
places[].formatted_address | string | Formatted address suitable for display. |
places[].business_type | string | Business category returned for the place. |
places[].time_zone.name | string | IANA time-zone name for the place. |
places[].place_type | string | Type of place returned by the service. |
places[].score | number | Ranking score used to order autocomplete suggestions. |
/api/v1/search-nearbyFind Nearby Places: location + radius (km).
const params = new URLSearchParams({
location: '1.3521,103.8198',
radius: '1',
limit: '10',
rankBy: 'distance'
});
const response = await fetch('https://api.maps.grab.com/api/v1/search-nearby?' + params, {
headers: {
'Authorization': 'Bearer <ACCESS_TOKEN>'
}
});
if (!response.ok) {
throw new Error('Request failed with HTTP ' + response.status);
}
const data = await response.json();
(data.places ?? []).forEach((place) => {
console.log(place.name, place.location);
});Response format
{
"uuid": "aa49d204-14e3-48a8-8e12-a9fc0a3ab574",
"status": {
"code": "SUCCESS",
"message": "OK"
},
"places": [
{
"poi_id": "IT.01MXY1E16UKCQ",
"location": { "latitude": 1.3521, "longitude": 103.8198 },
"country": "Singapore",
"country_code": "SGP",
"street": "San Ramon",
"administrative_areas": [
{ "type": "SubRegion", "name": "Singapore" },
{ "type": "Municipality", "name": "Central Water Catchment" },
{ "type": "Neighborhood", "name": "Central Water Catchment" }
],
"postcode": "4511",
"name": "Eis Corner Foodhub - San Ramon",
"formatted_address": "San Ramon, Singapore, 4511",
"business_type": "food and beverage",
"opening_hours": "{}",
"time_zone": { "name": "Asia/Singapore", "offset": 28800 },
"categories": [{ "category_name": "food and beverage" }],
"place_type": "POI",
"city": "Singapore City",
"city_id": "6"
}
]
}Response fields
| Field | Type | Description |
|---|---|---|
uuid | string | Request identifier returned with the response. |
status.code | string | Endpoint-level result status.This response field is separate from the HTTP status and GrabMaps error retCode. |
status.message | string | Human-readable endpoint-level status message. |
places | array<object> | Matching places returned by the endpoint. |
places[].poi_id | string | Unique Grab place identifier. |
places[].location.latitude | number | Place latitude in decimal degrees. |
places[].location.longitude | number | Place longitude in decimal degrees. |
places[].country_code | string | ISO 3166-1 alpha-3 country code. |
places[].administrative_areas | array<object> | Administrative hierarchy for the place. |
places[].name | string | Display name for the place. |
places[].formatted_address | string | Formatted address suitable for display. |
places[].business_type | string | Business category returned for the place. |
places[].time_zone.name | string | IANA time-zone name for the place. |
places[].place_type | string | Type of place returned by the service. |
places[].categories[].category_name | string | Place category label when category metadata is returned. |
places[].city | string | City name returned for the nearby place. |
places[].city_id | string | City identifier returned for the nearby place. |
/api/v1/reverse-geocodeReverse geocode: coordinates to a candidate place (pin / map move).
const params = new URLSearchParams({
location: '1.2834,103.8607'
});
const response = await fetch('https://api.maps.grab.com/api/v1/reverse-geocode?' + params, {
headers: {
'Authorization': 'Bearer <ACCESS_TOKEN>'
}
});
if (!response.ok) {
throw new Error('Request failed with HTTP ' + response.status);
}
const data = await response.json();
console.log(data);Response format
{
"places": [
{
"poi_id": "IT.3OCK7LEGD0GYN",
"location": {
"latitude": 1.2822848,
"longitude": 103.86001130205221
},
"country": "Singapore",
"country_code": "SGP",
"city": "Singapore City",
"cityId": 6,
"street": "Bayfront Avenue",
"house": "1",
"administrative_areas": [
{ "type": "SubRegion", "name": "Singapore" },
{ "type": "Municipality", "name": "Downtown Core" },
{ "type": "Neighborhood", "name": "Bayfront Subzone" }
],
"postcode": "018971",
"name": "MBS Hotel Tower 1",
"short_name": "MBS Hotel Tower 1",
"formatted_address": "1 Bayfront Avenue, Singapore, 018971",
"business_type": "hotel",
"category": "hotel",
"opening_hours": "{}",
"time_zone": { "name": "Asia/Singapore", "offset": 28800 },
"excluded_vehicle_type": ["HELICOPTER", "TRIKE"],
"status": 1,
"guide_info": {
"guide_header": "Head to L1 pick up.",
"guide_body": "Head to level 1, meet driver at level 1 pick up point."
},
"distance": 0.14573486266828775,
"transportation_type": 0
}
],
"renders": [{ "id": "IT.3OCK7LEGD0GYN" }],
"areas": [
{
"id": "IT.3OCK7LEGD0GYN",
"plots": [
{ "id": "IT.12O6D3PBWOGL2", "distance": 0.13634730881919846 }
],
"polygons": [
[
[
{ "lat": 1.282439266268838, "lng": 103.85948303266458 },
{ "lat": 1.2827400534105209, "lng": 103.85964471792715 },
{ "lat": 1.282439266268838, "lng": 103.85948303266458 }
]
]
],
"source": "ENTRANCE",
"type": "ENTRANCE"
}
],
"uuid": "24d0535d-10a6-4c43-bd15-8a53d56c745c"
}Response fields
| Field | Type | Description |
|---|---|---|
places | array<object> | Candidate places near the requested pin. |
places[].poi_id | string | Unique Grab place identifier. |
places[].location.latitude | number | Place latitude in decimal degrees. |
places[].location.longitude | number | Place longitude in decimal degrees. |
places[].country_code | string | ISO 3166-1 alpha-3 country code. |
places[].administrative_areas | array<object> | Administrative hierarchy for the place. |
places[].name | string | Display name for the place. |
places[].formatted_address | string | Formatted address suitable for display. |
places[].business_type | string | Business category returned for the place. |
places[].distance | number | Distance in kilometres from the requested pin to the candidate place. |
places[].guide_info | object | Pickup or drop-off guidance when available.Optional. |
renders | array<object> | Render ordering for returned place identifiers. |
areas | array<object> | Associated entrance or area geometry for returned places.Returned when geometry metadata is available. |
areas[].plots[].distance | number | Distance in kilometres from the requested pin to an associated plot.Returned when plot-distance metadata is available. |
uuid | string | Request identifier returned with the response. |
Previous endpoint paths
The following paths remain supported for backward compatibility. New integrations should use the simplified /api/v1/... paths shown alongside them.
View previous endpoint paths
| Previous path | Recommended path |
|---|---|
/api/v1/maps/poi/v1/search | /api/v1/search-text |
/api/v1/maps/place/v2/autocomplete | /api/v1/autocomplete |
/api/v1/maps/place/v2/nearby | /api/v1/search-nearby |
/api/v1/maps/poi/v1/reverse-geo | /api/v1/reverse-geocode |
