Currently the AreaButler POI-Data API supports the search of the existing points of interest around a certain central address. The central point could be specified either by providing its coordinates or the known address.
The GET request should be sent to fetch the POIs:
URL: <https://app.areabutler.de/api/location-ext/poi-data?par1=val1&par2=val2…>
Header: KEY: X-Api-Key | VALUE: provided-api-key
Parameters:
Mandatory:
address=Schadowstraße 55, Düsseldorf
// OR
lat=51.2265311&lng=6.7842183
Optional:
// The number of POIs per category to be extracted
// From 1 to infinity, default – 5
poiNumber=2
// The transportation mode
// Available options – 'walk', 'bicycle', 'car', default – 'walk'
transportMode=walk
// The maximum distance from the central point
// From 1 to 2000 meters (if 'm' is used as a unit)
distance=20
// The distance unit
// Available options – 'm', 'km', 'min', default – 'min'
unit=m
The response contains the following body:
{
"input": {
"coordinates": {
"lat": 51.2265311,
"lng": 6.7842183
}
},
"result": [
{
"entity": {
"id": "240270717-multi-storey",
…
}
]
}