GET/v1/hazards
Natural-hazard risk for the containing county (FEMA National Risk Index).
[ OPTIONS ]
| Name | Type | Required | Description |
|---|---|---|---|
zip | string | No | US zip code (resolved to its county). |
county_fips | string | No | 5-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
}
]
}
}[ TRY IT ]Open playground →
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.
