Skip to main content

POIs API Reference

POIs#

The Pois API takes latitude,longitude and radius or Pincode as required parameter, and returns all the pois in the catchment or pincode along with locationDetails.
Please use Pincode Trends and POI Sector Mapping for reference.

Send a POST request to https://console.datasutram.com/api/pois to get pois using pincode or coordinates. The request body has the following parameters:

ParameterRequirement
latrequired
lngrequired
radiusrequired

OR

ParameterRequirement
pincoderequired

Request

{
"lat":27.1165523,
"lng":78.0415092,
"radius":1
}

Response

{
"dataSource": "datasutram",
"address": "Naubari, Uttar Pradesh 282001",
"locationDetails": {
"pincode": "282001",
"taluka": "agra",
"city": "agra",
"state": "uttar pradesh",
"pincodeCategory": "urban",
"latitude": 27.1165523,
"longitude": 78.0415092,
"gridCode": "tsz6rbk"
},
"poiCount": 59,
"pois": [
{
"id": 121358,
"phoneNumber": "8627534309",
"streetAddress": "Asian Highway 43 Baluganj Crossing,Baluganj, Rakabganj,Agra, Uttar Pradesh 282001",
"state": "uttar pradesh",
"city": "agra",
"pincode": "282001",
"category": "merchant",
"topCategory": "pharmacy",
"subCategory": "drug store",
"categoryTags": ["store","pharmacy"],
"placeId": "DSPHAADHP",
"placeName": "Apollo Medical Store",
"brandedValue": "Yes",
"brandName": "Apollo",
"geometry": {
"type": "Point",
"coordinates": [
"27.1685935",
"78.0157184"
]
}
},
{
"id": 117838,
"phoneNumber": "9434227251",
"streetAddress": "Jangjeet Nagar,Agra Shamshabad Raja Kherah Marg,near Raj Dairy, Rajpur Chungi, Indrapuram, Tajganj,Agra, Uttar Pradesh 282001",
"state": "uttar pradesh",
"city": "agra",
"pincode": "282001",
"category": "merchant",
"topCategory": "auto_store",
"subCategory": "two wheeler dealer",
"categoryTags": ["garage","auto_store"],
"placeId": "DSASAAAGF",
"placeName": "NITIN AUTO SALES - RAJPUR CHUNGI",
"brandedValue": "No",
"brandName": "",
"geometry": {
"type": "Point",
"coordinates": [
"27.1453223",
"78.0412898"
]
}
},
...more items
]
}

OR

Request

{
"pincode":"282001"
}

Response

{
"dataSource": "datasutram",
"address": "Naubari, Uttar Pradesh 282001",
"locationDetails": {
"pincode": "282001",
"taluka": "agra",
"city": "agra",
"state": "uttar pradesh",
"pincodeCategory": "urban",
"latitude": 27.1165523,
"longitude": 78.0415092,
"gridCode": "tsz6rbk"
},
"poiCount": 458,
"pois": [
{
"id": 121358,
"phoneNumber": "8627534309",
"streetAddress": "Asian Highway 43 Baluganj Crossing,Baluganj, Rakabganj,Agra, Uttar Pradesh 282001",
"state": "uttar pradesh",
"city": "agra",
"pincode": "282001",
"category": "merchant",
"topCategory": "pharmacy",
"subCategory": "drug store",
"categoryTags": ["store","pharmacy"],
"placeId": "DSPHAADHP",
"placeName": "Apollo Medical Store",
"brandedValue": "Yes",
"brandName": "Apollo",
"geometry": {
"type": "Point",
"coordinates": [
"27.1685935",
"78.0157184"
]
}
},
{
"id": 117838,
"phoneNumber": "9434227251",
"streetAddress": "Jangjeet Nagar,Agra Shamshabad Raja Kherah Marg,near Raj Dairy, Rajpur Chungi, Indrapuram, Tajganj,Agra, Uttar Pradesh 282001",
"state": "uttar pradesh",
"city": "agra",
"pincode": "282001",
"category": "merchant",
"topCategory": "auto_store",
"subCategory": "two wheeler dealer",
"categoryTags": ["garage","auto_store"],
"placeId": "DSASAAAGF",
"placeName": "NITIN AUTO SALES - RAJPUR CHUNGI",
"brandedValue": "No",
"brandName": "",
"geometry": {
"type": "Point",
"coordinates": [
"27.1453223",
"78.0412898"
]
}
},
...more items
]
}