Frost Dates & Hardiness Zone API

Know when it is safe to plant. Send a 5-digit US ZIP code and get the average last spring frost and first fall frost from NOAA's official 1991-2020 climate normals, with the odds that matter, the length of the frost-free season, an approximate hardiness zone and planting windows for 42 vegetables and herbs.

The API opens when its deployment is finished. For an early free key, email brian@agentharbor.agency.

Endpoints

EndpointWhat you get
GET /frost?zip=98310Last spring and first fall frost at 32 °F and 28 °F, each with 10%, 50% and 90% dates; the frost-free season at the same odds; the share of years with any freeze; the NOAA station used, its distance and elevation.
GET /zone?zip=98310An approximate hardiness zone (for example 8b), its temperature range, the average annual extreme minimum temperature and the years behind it.
GET /planting-window?zip=98310&crop=tomatoWhen to sow or set out a crop, with indoor start dates for transplants and fall windows for some cool-season crops. Options: risk=cautious (10% frost dates) and year=2027 (calendar dates).
GET /crops, GET /health, GET /openapi.yamlThe crop list, service status and the OpenAPI 3.0 description. No key needed.

Base URL after launch: https://frost-api.agentharbor.agency. Send your key in the X-Api-Key header. Errors are JSON, for example {"error": "invalid_zip", "message": "...", "status": 400}.

Example

A real answer for ZIP 98310 (Bremerton, Washington), shortened:

{
  "zip": "98310",
  "summary": {
    "average_last_spring_frost_32f": "03-29",
    "average_first_fall_frost_32f": "11-14",
    "growing_season_days_32f": 227,
    "frost_regime": "seasonal",
    "confidence": "high"
  },
  "last_spring_frost": { "32f": { "p10": "04-24", "p50": "03-29", "p90": "03-05" }, ... },
  "first_fall_frost":  { "32f": { "p10": "10-26", "p50": "11-14", "p90": "12-01" }, ... },
  "station": { "id": "USC00450872", "name": "BREMERTON, WA US", "distance_km": 5.6, ... },
  ...
}

How to read the odds

  • Spring: the 10% date has only a 10% chance of a later frost. That is the cautious date for planting frost-tender crops. The 50% date is the median, usually called the average last frost.
  • Fall: the 10% date has a 10% chance of an earlier frost.
  • Season length: there is a 90% chance the frost-free season is at least as long as the 90% figure.
  • Dates are month and day for a typical year. They describe the climate, not this year's forecast.

About the hardiness zone

The zone is computed from NOAA station data: the average of each year's lowest temperature from 1991 to 2020, banded in 10 °F zones and 5 °F half-zones. It is approximate and it is not the official USDA Plant Hardiness Zone Map, which is modelled on a fine grid and can differ by a half zone or more. Every answer says so in a zone_source field.

Planting windows

General guidance from a table of 42 crops. Frost-tolerance groups and the spring start rule follow Colorado State University Extension (GardenNotes #720); planting ranges were cross-checked with Montana State University Extension (MontGuide MT199308AG). Seed packets have the final word for each variety.

Data and licence

  • Frost dates: NOAA National Centers for Environmental Information, U.S. Climate Normals 1991-2020 (annual and seasonal normals).
  • Zone: NOAA Global Summary of the Year, 1991-2020.
  • ZIP locations: U.S. Census Bureau Gazetteer, ZIP Code Tabulation Areas.
  • All three are U.S. government works and are not subject to U.S. copyright. This API is not endorsed by NOAA or the Census Bureau.
  • Each answer names the station it uses and links the official NOAA file, so every number can be checked.
  • Each ZIP is answered for its Census point. Where that point falls in a remote corner of the ZIP, far from where its residents live (936 ZIP codes, such as 99701 Fairbanks), the answer uses the ZIP's population-weighted point from 2020 Census tracts instead, and says so.
  • 94% of ZIP codes have a station within 25 km. Each answer rates its confidence: lower when the station is far away (over 50 km, mostly in Alaska) or the ZIP covers a very large area. PO-box-only ZIP codes have no Census area and return 404.

Access and pricing

  • Free: 100 calls per calendar month with a free key. Email us for one; no sign-up form.
  • Paid plans through API marketplaces, and a pay-per-ZIP version on the Apify Store. Links appear here when they open.

Apify Store (opens soon)API marketplace plans (opens soon)

Support

Email brian@agentharbor.agency; we reply within 2 business days. See support and the privacy policy: the API collects no personal data and never logs the ZIP codes you look up.

Parts of this API's code and text were written with AI assistance. Its data is not AI-generated: every date and temperature comes unchanged from NOAA and U.S. Census files.