Atlasblock API

GET/v1/zips/{zip}

One zip's location and demographics.

[ OPTIONS ]
NameTypeRequiredDescription
zipstring (path)YesUS zip code.
[ EXAMPLE REQUEST ]
curl "https://atlasblock.dev/api/v1/zips/28203"
[ 200 OK ]
{
  "status": "success",
  "data": {
    "zip": {
      "zip": "28203",
      "city": "Charlotte",
      "state": "NC",
      "county": "Mecklenburg",
      "county_fips": "37119",
      "latitude": 35.21,
      "longitude": -80.85,
      "area_sqmi": 3.13,
      "population": 21482,
      "median_household_income": 86500,
      "median_gross_rent": 1650
    }
  }
}
GET/v1/zips/28203
[ PATH ]
[ CURL ]
curl "https://atlasblock.dev/api/v1/zips/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.