Skip to main content

Place Detail

Get detail of a place by its id

Description​

When you know a place ID, you can use Place detail API to get details of the location.

tip

When using that, just use our Enterprise Dashboard or guild API Key to create your API Key try for free!

Base URL​

https://mapapis.openmap.vn/v1

Endpoint​

GET /place

Example​

Google format​

Request:

GET /place?ids=aQA0KHmLGXVtbpFgpMqFfA0OjpRAAVFgTGaOYDTSgKXVbpiV-A6xZXkuPZgc&format=google

Response:

{
"result": {
"place_id": "aQA0KHmLGXVtbpFgpMqFfA0OjpRAAVFgTGaOYDTSgKXVbpiV-A6xZXkuPZgc",
"formatted_address": "Lotte Mall Tây Hồ, 272 Đường Võ Chí Công, phường Phú Thượng, quận Tây Hồ, thành phố Hà Nội",
"geometry": {
"location": {
"lat": 21.075951,
"lng": 105.812662
},
"viewport": null
},
"address_components": [
{
"long_name": "Lotte Mall Tây Hồ",
"short_name": "Lotte Mall Tây Hồ"
},
{
"long_name": "272 Đường Võ Chí Công",
"short_name": "272 Đường Võ Chí Công"
},
{
"long_name": "phường Phú Thượng",
"short_name": "Phú Thượng"
},
{
"long_name": "quận Tây Hồ",
"short_name": "Tây Hồ"
},
{
"long_name": "thành phố Hà Nội",
"short_name": "Hà Nội"
}
],
"name": "Lotte Mall Tây Hồ",
"url": "https://openmap.vn/place/aQA0KHmLGXVtbpFgpMqFfA0OjpRAAVFgTGaOYDTSgKXVbpiV-A6xZXkuPZgc",
"types": [
"business_center"
]
},
"status": "OK"
}

OSM format​

Request:

GET /place?ids=aQA0KHmLGXVtbpFgpMqFfA0OjpRAAVFgTGaOYDTSgKXVbpiV-A6xZXkuPZgc

Response:

{
"errors": null,
"features": [
{
"type": "Feature",
"geometry": {
"coordinates": [
105.812662,
21.075951
],
"type": "Point"
},
"properties": {
"name": "Lotte Mall Tây Hồ",
"housenumber": null,
"street": null,
"short_address": "272 Đường Võ Chí Công",
"postalcode": null,
"label": "Lotte Mall Tây Hồ, 272 Đường Võ Chí Công, phường Phú Thượng, quận Tây Hồ, thành phố Hà Nội",
"country": "Việt Nam",
"country_code": "VN",
"category": [
"business_center"
],
"website": "https://lottemallwestlakehanoi.vn/",
"opening_hours": [
[
[
0,
9,
30
],
[
0,
22,
0
]
],
[
[
1,
9,
30
],
[
1,
22,
0
]
],
[
[
2,
9,
30
],
[
2,
22,
0
]
],
[
[
3,
9,
30
],
[
3,
22,
0
]
],
[
[
4,
9,
30
],
[
4,
22,
0
]
],
[
[
5,
9,
30
],
[
5,
22,
0
]
],
[
[
6,
9,
30
],
[
6,
22,
0
]
]
],
"phone": "+842433338000",
"region": "thành phố Hà Nội",
"county": "quận Tây Hồ",
"locality": "phường Phú Thượng",
"distance": null,
"id": "aQA0KHmLGXVtbpFgpMqFfA0OjpRAAVFgTGaOYDTSgKXVbpiV-A6xZXkuPZgc",
"continent": "Asia",
"source": "openmapvn"
}
}
],
"bbox": [

],
"type": "FeatureCollection"
}

Google format​

Request:

API references​

ParameterTypeRequiredDefaultExample
idsstringyesnoneaQA0KHmLGXVtbpFgpMqFfA0OjpRAAVFgTGaOYDTSgKXVbpiV-A6xZXkuPZgc
formatstringnoosmgoogle
admin_v2booleannofalseReturn information about new locations after administrative boundary consolidation