Atlasblock API

POST/v1/states/verify

Resolve a state abbreviation, full name, or FIPS to its canonical record.

[ OPTIONS ]
NameTypeRequiredDescription
valuestring (body)YesThe state to resolve: "NC", "North Carolina", or "37".
[ EXAMPLE REQUEST ]
curl -X POST "https://atlasblock.dev/api/v1/states/verify" \
  -H "Content-Type: application/json" \
  -d '{"value":"north carolina"}'
[ 200 OK ]
{
  "status": "success",
  "data": {
    "query": "north carolina",
    "valid": true,
    "state": {
      "abbr": "NC",
      "name": "North Carolina",
      "fips": "37",
      "region": "South",
      "division": "South Atlantic"
    }
  }
}
POST/v1/states/verify
[ BODY · JSON ]
  • value · string (body) · requiredThe state to resolve: "NC", "North Carolina", or "37".
[ CURL ]
curl -X POST "https://atlasblock.dev/api/v1/states/verify" \
  -H "Authorization: Bearer $ATLASBLOCK_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"value":"north carolina"}'
[ 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.