Atlasblock API

GET/v1/poi/density

Venues per square mile 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/density?zip=28203"
[ 200 OK ]
{
  "status": "success",
  "data": {
    "location": {
      "zip": "28203",
      "city": "Charlotte",
      "state": "NC",
      "radius_miles": 3
    },
    "area_sqmi": 28.27,
    "density_per_sqmi": {
      "food_drink": 3.255,
      "nightlife": 0.637,
      "grocery": 0.389
    }
  }
}
GET/v1/poi/density?zip=28203
[ QUERY ]
[ CURL ]
curl "https://atlasblock.dev/api/v1/poi/density?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.