REST APIWeather

NWS API (api.weather.gov)

NWS API (api.weather.gov) is a rest api from NOAA National Weather Service providing weather data. The free, authoritative US government REST API for weather forecasts, gridded forecasts, and station observations. Many Polymarket temperature markets (e.g. "NYC high temp") resolve against NWS-reported observed highs, making this the canonical settlement source for US weather markets.

At a glance

ProviderNOAA National Weather Service
TypeREST API
CategoryWeather
Real-timeNo — request/response
AuthNone — open endpoint
PricingFree (public US government open data) — Free: all endpoints, no cost, open data for any purpose, No paid tiers — single free service for all users, Generous unpublished rate limit; over-limit returns 429 errors that clear within ~5s

What data it provides

  • Station observations (current temperature, dewpoint, wind, humidity, conditions) via /stations/{id}/observations and /latest
  • Multi-day textual forecasts via /gridpoints/{office}/{x},{y}/forecast (~2.5km grid)
  • Hourly forecasts via /forecast/hourly
  • Raw gridded forecast data (temperature, precipitation probability, etc.) via /gridpoints
  • Point lookup /points/{lat},{lon} to resolve grid + forecast/observation URLs
  • Active weather alerts/warnings via /alerts/active (CAP format)

Features

  • Free authoritative US-only coverage (CONUS, AK, HI, territories); not global
  • Auth via required descriptive User-Agent header (contact email recommended); no API key today
  • Unpublished but generous rate limit; recommended ~1s delay between requests
  • Output in GeoJSON, JSON-LD, plus CAP/ATOM for alerts via Accept header
  • Recent observations available; deep historical climate records require NOAA NCEI/CDO, not this API
  • No official SDK; widely used via plain HTTP and community Python/JS wrappers

Links

Use it in a bot

Other weather data sources

Listed, not endorsed. Pricing and capabilities change without notice — check the provider's own documentation before you depend on anything here. Browse the full data resources directory or the strategy database.
Join Discord