Atlasblock API

GET/v1/poi/counts

Aggregate venue counts by category around a location (live from OSM).

[ OPTIONS ]
NameTypeRequiredDescription
zipstringNoUS zip code. Required unless address is given.
addressstringNoFull street address, geocoded to a center point.
radiusnumberNoMiles 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
    }
  }
}
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.