Atlasblock API

GET/v1/regions/{region}/states

The states that make up a Census region.

[ OPTIONS ]
NameTypeRequiredDescription
regionstring (path)YesRegion slug: northeast, midwest, south, or west.
[ EXAMPLE REQUEST ]
curl "https://atlasblock.dev/api/v1/regions/south/states"
[ 200 OK ]
{
  "status": "success",
  "data": {
    "region": "South",
    "states": [
      {
        "abbr": "NC",
        "name": "North Carolina",
        "fips": "37",
        "region": "South",
        "division": "South Atlantic",
        "zip_count": 1080,
        "county_count": 100,
        "population": 10400000
      }
    ]
  }
}
GET/v1/regions/south/states
[ PATH ]
[ CURL ]
curl "https://atlasblock.dev/api/v1/regions/south/states" \
  -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.