Weather.gov Zones API
The Zones API from Weather.gov — 6 operation(s) for zones.
Weather.gov Zones API is one of 13 APIs that Weather.gov 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, and an API reference.
This API exposes 6 operations across 6 paths, and defines 39 schemas. It is described by OpenAPI 3.1.2, at version 3.8.1.
Requests are made against a single base URL, https://api.weather.gov.
Metadata
The identity and technical contract details declared by the specification.
Authentication & Security 2
Weather.gov 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.
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.
Specification
The full machine-readable OpenAPI contract behind this narrative.
Source
More from Weather.gov 12
Other APIs Weather.gov publishes across the network.