The Point of Interest (POI) API returns a list of names corresponding to geographic and administrative entities based on a specified latitude and longitude and selected category. Supported categories include:
This API is ideal for applications dealing with address mapping, administrative boundary visualization, geospatial analytics, and government-related datasets.
Authorization: X-Authorization-Token
(Get your token HERE)/v4/point_of_interest
https://apihub.latlong.ai/v4/point_of_interest
Parameter | Type | Required | Description |
---|---|---|---|
lat | float | Yes | Latitude of the location |
lon | Float | Yes | Longitude of the location |
categories | string (comma-separated) | Yes | List of POI categories (e.g., hospital, school, hotel) |
curl --location โhttps://apihub.latlong.ai/v4/point_of_interest.json?latitude=12.8974787&longitude=77.5796369&category=MORTH%20%2C%20Pin%20Code%20'
{
"code": 1001,
"status": "success",
"data": [
{
"category": "MORTH",
"name": "Ka5-Bengalurusouth"
},
{
"category": "Pin Code",
"name": "560078-J P Nagar"
}
]
}
Get nearby places based on categories like school, hospital, bank, etc.
Fast filtering based on location and category
๏ธ Useful for maps, local business search, travel and service apps
Status Code | Message | Description |
---|---|---|
400 | Missing required parameters | When query is not provided |
401 | Unauthorized | API key missing or invalid |
404 | No POIs found | No POIs found matching the criteria |
500 | Internal Server Error | Something went wrong on our side |