Atlasblock API

GET/v1/zips/geocode

Resolve a street address to its canonical zip (via the Census geocoder).

[ OPTIONS ]
NameTypeRequiredDescription
addressstringYesA full street address to geocode.
[ EXAMPLE REQUEST ]
curl "https://atlasblock.dev/api/v1/zips/geocode?address=1600+East+Blvd+Charlotte+NC"
[ 200 OK ]
{
  "status": "success",
  "data": {
    "query": "1600 East Blvd Charlotte NC",
    "location": {
      "zip": "28203",
      "city": "Charlotte",
      "state": "NC",
      "county_fips": "37119",
      "latitude": 35.21,
      "longitude": -80.85
    }
  }
}
GET/v1/zips/geocode?address=1600%2BEast%2BBlvd%2BCharlotte%2BNC
[ QUERY ]
[ CURL ]
curl "https://atlasblock.dev/api/v1/zips/geocode?address=1600%2BEast%2BBlvd%2BCharlotte%2BNC" \
  -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.