Atlasblock API

GET/v1/hazards

Natural-hazard risk for the containing county (FEMA National Risk Index).

[ OPTIONS ]
NameTypeRequiredDescription
zipstringNoUS zip code (resolved to its county).
county_fipsstringNo5-digit county FIPS. Use instead of zip.
[ EXAMPLE REQUEST ]
curl "https://atlasblock.dev/api/v1/hazards?zip=28203"
[ 200 OK ]
{
  "status": "success",
  "data": {
    "zip": "28203",
    "county_fips": "37119",
    "county": "Mecklenburg",
    "state": "NC",
    "risk_score": 97.07,
    "risk_rating": "Relatively High",
    "expected_annual_loss": 317991131,
    "social_vulnerability": {
      "score": 17.94,
      "rating": "Very Low"
    },
    "community_resilience": {
      "score": 59.67,
      "rating": "Relatively Moderate"
    },
    "top_perils": [
      {
        "peril": "flood",
        "expected_annual_loss": 256410844
      },
      {
        "peril": "tornado",
        "expected_annual_loss": 24454435
      }
    ]
  }
}
GET/v1/hazards?zip=28203
[ QUERY ]
[ CURL ]
curl "https://atlasblock.dev/api/v1/hazards?zip=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.