ClimateZone API

Purpose
The ClimateZone API provides detailed information for a given zip code. An API call is made via
www.afanalytics.com/api/climatezone/zip
where the zip is the zip code being searched. The resultant JSON object contains the following data:

Data

Details

ZipThe zip code being searched.
TypeThe type of address. Examples are "Standard" or "P.O. Box"
Primary CityDisplays the major population city for the zip code.
StateThe state abbreviation to which the zip code belongs.
CountyThe county in which the zip code primarily belongs. Because zip codes do not always follow county lines, this should be treated as an approximation.
CountryThe country to which the zip code location belongs. Currently, only U.S. zip codes are in the database (to include Puerto Rico and the Virgin Islands).
LatitudeThe central geographic latitude for the zip code.
LongitudeThe central geographic longitude for the zip code.
Climate Zone NumberThe number displaying the climate zone, denoting the general temperature category. Combined with the Climate Zone Letter, this produces the ASHRAE Climate Zone.
Climate Zone LetterThe letter displaying the climate zone, denoting the general humidity category. Combined with the Climate Zone Number, this produces the ASHRAE Climate Zone.
ASHRAE Climate Zone Legend
  • Zone 0A: Extremely Hot Humid
  • Zone 0B: Extremely Hot Dry
  • Zone 1A: Very Hot Humid
  • Zone 1B: Very Hot Dry
  • Zone 2A: Hot Humid
  • Zone 2B: Hot Dry
  • Zone 3A: Warm Humid
  • Zone 3B: Warm Dry
  • Zone 3C: Warm Marine
  • Zone 4A: Mixed Humid
  • Zone 4B: Mixed Dry
  • Zone 4C: Mixed Marine
  • Zone 5A: Cool Humid
  • Zone 5B: Cool Dry
  • Zone 5C: Cool Marine
  • Zone 6A: Cold Humid
  • Zone 6B: Cold Dry
  • Zone 7: Very Cold
  • Zone 8: Subarctic/Arctic
Example
www.afanalytics.com/api/climatezone/88012
This call will produce the following JSON response:
{
"zip": 88012,
"type": "STANDARD",
"primary_city": "Las Cruces",
"state": "NM",
"county": "Doña Ana County",
"country": "US",
"latitude": 32.58,
"longitude": -106.77,
"climate_zone_number": 3,
"climate_zone_letter": "B"
}
Non-API Call
Alternatively, zip code climate information can be viewed through the AFAnalytics website by clicking:
Zip Code Quick Search