GET/v1/poi/counts
Aggregate venue counts by category around a location (live from OSM).
[ OPTIONS ]
| Name | Type | Required | Description |
|---|---|---|---|
zip | string | No | US zip code. Required unless address is given. |
address | string | No | Full street address, geocoded to a center point. |
radius | number | No | Miles from the center (default 3, max 25). |
[ EXAMPLE REQUEST ]
curl "https://atlasblock.dev/api/v1/poi/counts?zip=28203"[ 200 OK ]
{
"status": "success",
"data": {
"location": {
"zip": "28203",
"city": "Charlotte",
"state": "NC",
"radius_miles": 3
},
"total": 214,
"counts": {
"food_drink": 92,
"nightlife": 18,
"grocery": 11,
"parks_recreation": 14,
"health": 21
}
}
}[ TRY IT ]Open playground →
GET/v1/poi/counts?zip=28203
[ QUERY ]
[ CURL ]
curl "https://atlasblock.dev/api/v1/poi/counts?zip=28203" \ -H "Authorization: Bearer $ATLASBLOCK_API_KEY"
[ EVERY REQUEST ]
Send an Authorization: Bearer key against the base URL https://atlasblock.dev/api. Every call counts toward your plan quota. See the overview for authentication, rate limits, and status codes.
[ MORE IN POINTS OF INTEREST ]
