Atlasblock API

GET/v1/states/{state}/summary

State rollup: crime and school counts across the state.

[ OPTIONS ]
NameTypeRequiredDescription
statestring (path)YesUSPS state code (e.g. NC).
[ EXAMPLE REQUEST ]
curl "https://atlasblock.dev/api/v1/states/NC/summary"
[ 200 OK ]
{
  "status": "success",
  "data": {
    "state": "NC",
    "name": "North Carolina",
    "region": "South",
    "division": "South Atlantic",
    "zip_count": 1080,
    "crime": {
      "violent_crime_rate": 371.8,
      "property_crime_rate": 2357.3,
      "year": 2023
    },
    "schools": {
      "total": 4210,
      "public_k12": 2740,
      "colleges": 190,
      "private": 1280
    }
  }
}
GET/v1/states/NC/summary
[ PATH ]
[ CURL ]
curl "https://atlasblock.dev/api/v1/states/NC/summary" \
  -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.