Currently the AreaButler Census-Atlas API supports the search of the existing Census Atlas indices around a certain point. The point could be specified either by providing its coordinates or the known address.
The GET request should be sent to fetch the indices:
URL: <https://app.areabutler.de/api/zensus-atlas-ext/query?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
The response contains the following body:
{
"input": {
"coordinates": {
"lat": 51.2265311,
"lng": 6.7842183
}
},
"result": {
"Einwohner": {
"label": "Einwohner",
"value": {
"addressData": "9847.0",
"averageData": "233.0",
"zipLevelData": "5029.0"
},
"unit": ""
},
"Ø Alter": {
…
}
}
}