Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

NOAA — National Oceanic and Atmospheric Administration Zones API

The Zones API from NOAA — National Oceanic and Atmospheric Administration — 6 operation(s) for zones.

NOAA — National Oceanic and Atmospheric Administration Zones API is one of 24 APIs that NOAA — National Oceanic and Atmospheric Administration publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Zones. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, a GitHub repository, and a changelog.

This API exposes 6 operations across 6 paths, and defines 39 schemas. It is described by OpenAPI 3.1.2, at version 3.9.2.

Requests are made against a single base URL, https://api.weather.gov.

6 operations 6 paths 39 schemas 6 GET

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.1.2
API Version
3.9.2
Base URL
https://api.weather.gov
Authentication
API Key, API Key
Resource Areas
1

Authentication & Security 2

NOAA — National Oceanic and Atmospheric Administration Zones API declares 2 security schemes for authenticating requests. An API key is passed in the header as User-Agent (userAgent). An API key is passed in the header as API-Key (apiKeyAuth). By default, every request must be authenticated.

  • userAgent — We require that all consumers of the API include a User-Agent header in requests. This is due to a high number of scripts exhibiting abusive behavior (intentio…
  • apiKeyAuth — We are testing including a more traditional API Key system on certain endpoints. This is due to a large change in the weather.gov site. The API remains open an…

Paths & Operations 6

Across 6 paths, the API surfaces 6 operations — 6 GET. Each is listed below with its method, path, parameters, and response codes.

Zones 6
GET
/zones
Returns a list of zones
zone_list 8 params → 200default
GET
/zones/{type}
Returns a list of zones of a given type
zone_list_type 9 params → 200default
GET
/zones/{type}/{zoneId}
Returns metadata about a given zone
zone 3 params → 200default
GET
/zones/{type}/{zoneId}/forecast
Returns the current zone forecast for a given zone
zone_forecast 2 params → 200default
GET
/zones/forecast/{zoneId}/observations
Returns a list of observations for a given zone
zone_obs 4 params → 200default
GET
/zones/forecast/{zoneId}/stations
Returns a list of observation stations for a given zone
zone_stations 3 params → 200default

Schemas 39

The contract defines 39 schemas that model the data the API accepts and returns. The most detailed are Observation (30 properties), Zone (18 properties), ObservationStation (15 properties), ProblemDetail (6 properties). Each schema is shown below with its type and property counts.

AreaCode
State/territory codes and marine area codes
ZoneForecast
object
An object representing a zone area forecast.
5 properties
ObservationCollectionGeoJson
ObservationCollectionJsonLd
object
3 properties
ZoneCollectionGeoJson
MarineAreaCode
string
Marine area code as defined in NWS Directive 10-302: AM: Western North Atlantic Ocean and along U.S. East Coast south of Currituck Beach Light NC following the…
GeoJsonBoundingBox
array
A GeoJSON bounding box. Please refer to IETF RFC 7946 for information on the GeoJSON format.
PointString
string
GeoJsonGeometry
A GeoJSON geometry object. Please refer to IETF RFC 7946 for information on the GeoJSON format.
ZoneJsonLd
GeoJsonLineString
array
A GeoJSON line string. Please refer to IETF RFC 7946 for information on the GeoJSON format.
GeoJsonFeature
object
A GeoJSON feature. Please refer to IETF RFC 7946 for information on the GeoJSON format.
5 properties 3 required
GeoJsonFeatureCollection
object
A GeoJSON feature collection. Please refer to IETF RFC 7946 for information on the GeoJSON format.
3 properties 2 required
NWSForecastOfficeId
string
Three-letter identifier for a NWS office.
Observation
object
30 properties
NWSZoneType
string
NWSZoneID
string
UGC identifier for a NWS forecast zone or county. The first two letters will correspond to either a state code or marine area code (see /components/schemas/Sta…
Zone
object
18 properties
MetarPhenomenon
object
An object representing a decoded METAR phenomenon string.
5 properties 4 required
MetarSkyCoverage
string
ObservationStation
object
15 properties
UnitOfMeasure
string
A string denoting a unit of measure, expressed in the format "{unit}" or "{namespace}:{unit}". Units with the namespace "wmo" or "wmoUnit" are defined in the W…
PaginationInfo
object
Links for retrieving more data from paged data sets
1 property 1 required
LandRegionCode
string
Land region code. These correspond to the six NWS regional headquarters: AR: Alaska Region CR: Central Region ER: Eastern Region PR: Pacific Region SR: Souther…
ZoneForecastGeoJson
ObservationStationCollectionGeoJson
ObservationStationCollectionJsonLd
object
4 properties
MarineRegionCode
string
Marine region code. These are groups of marine areas combined. AL: Alaska waters (PK) AT: Atlantic Ocean (AM, AN) GL: Great Lakes (LC, LE, LH, LM, LO, LS, SL)…
QuantitativeValue
object
A structured value representing a measurement and its unit of measure. This object is a slightly modified version of the schema.org definition at https://schem…
5 properties
StateTerritoryCode
string
ZoneCollectionJsonLd
object
2 properties
GeoJsonCoordinate
array
A GeoJSON coordinate. Please refer to IETF RFC 7946 for information on the GeoJSON format.
ZoneGeoJson
ZoneForecastJsonLd
GeometryString
stringnull
A geometry represented in Well-Known Text (WKT) format.
RegionCode
GeoJsonPolygon
array
A GeoJSON polygon. Please refer to IETF RFC 7946 for information on the GeoJSON format.
ProblemDetail
object
Detail about an error. This document conforms to RFC 7807 (Problem Details for HTTP APIs).
6 properties 6 required
JsonLdContext

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

noaa-gov-zones-api-openapi.yml Raw ↑

Other APIs NOAA — National Oceanic and Atmospheric Administration publishes across the network.

Space Weather Prediction Center (SWPC) Data Service
CO-OPS Data Retrieval API (Tides & Currents)
CO-OPS Metadata API (MDAPI v1)
CO-OPS Derived Product API (DPAPI v0.1)
NCEI Access Data Service (v1)
NCEI Climate Data Online (CDO) v2 API
National Data Buoy Center (NDBC) Web Data Service
NOAA CoastWatch ERDDAP Server
NOAA Open Data Dissemination (NODD)
NOAA Fisheries One Stop Shop (FOSS) ODS / ORDS
NOAA InPort Metadata Catalog
NOAA — National Oceanic and Atmospheric Administration Alerts API