POST/v1/climate/compare
Climate facts for several zips side by side.
[ OPTIONS ]
| Name | Type | Required | Description |
|---|---|---|---|
zips | string[] (body) | Yes | Up to 25 zips to compare. |
[ EXAMPLE REQUEST ]
curl -X POST "https://atlasblock.dev/api/v1/climate/compare" \ -H "Content-Type: application/json" \ -d '{"zips":["28203","59718"]}'
[ 200 OK ]
{
"status": "success",
"data": {
"count": 2,
"results": [
{
"zip": "28203",
"city": "Charlotte",
"state": "NC",
"valid": true,
"climate": {
"avg_temp_f": 61.2,
"snow_inches": 2.3,
"hot_days_over_90f": 32
}
}
]
}
}[ TRY IT ]Open playground →
POST/v1/climate/compare
[ BODY · JSON ]
zips· string[] (body) · required — Up to 25 zips to compare.
[ CURL ]
curl -X POST "https://atlasblock.dev/api/v1/climate/compare" \ -H "Authorization: Bearer $ATLASBLOCK_API_KEY" \ -H "Content-Type: application/json" \ -d '{"zips":["28203","59718"]}'
[ 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.
[ MORE IN ENVIRONMENT ]
