How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Weather.gov Stations API

The Stations API from Weather.gov — 7 operation(s) for stations.

Weather.gov Stations 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 Stations. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, and an API reference.

This API exposes 7 operations across 7 paths, and defines 30 schemas. It is described by OpenAPI 3.2.0, at version 3.8.1.

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

7 operations 7 paths 30 schemas 7 GET

Metadata

The identity and technical contract details declared by the specification.

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

Authentication & Security 2

Weather.gov Stations 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 7

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

Stations 7
GET
/stations/{stationId}/observations
Weather.gov Returns a List of Observations for a Given Station
station_observation_list 5 params → 200default
GET
/stations/{stationId}/observations/latest
Weather.gov Returns the Latest Observation for a Station
station_observation_latest 2 params → 200default
GET
/stations/{stationId}/observations/{time}
Weather.gov Returns a Single Observation
station_observation_time 2 params → 200default
GET
/stations/{stationId}/tafs
Weather.gov Returns Terminal Aerodrome Forecasts for the Specified Airport…
tafs 1 param → 200default
GET
/stations/{stationId}/tafs/{date}/{time}
Weather.gov Returns a Single Terminal Aerodrome Forecast
taf 3 params → 200default
GET
/stations
Weather.gov Returns a List of Observation Stations
obs_stations 4 params → 200default
GET
/stations/{stationId}
Weather.gov Returns Metadata About a Given Observation Station
obs_station 1 param → 200default

Schemas 30

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

JsonLdContext
GeometryString
stringnull
A geometry represented in Well-Known Text (WKT) format.
ProblemDetail
object
Detail about an error. This document conforms to RFC 7807 (Problem Details for HTTP APIs).
6 properties 6 required
ObservationStationCollectionJsonLd
object
4 properties
Observation
object
30 properties
MetarSkyCoverage
string
MetarPhenomenon
object
An object representing a decoded METAR phenomenon string.
5 properties 4 required
ObservationStation
object
15 properties
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
Time
string
A time (in HHMM format). This is always specified in UTC (Zulu) time.
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…
ObservationStationCollectionGeoJson
StateTerritoryCode
string
GeoJsonPolygon
array
A GeoJSON polygon. Please refer to IETF RFC 7946 for information on the GeoJSON format.
GeoJsonBoundingBox
array
A GeoJSON bounding box. Please refer to IETF RFC 7946 for information on the GeoJSON format.
ObservationCollectionGeoJson
ObservationCollectionJsonLd
object
3 properties
PaginationInfo
object
Links for retrieving more data from paged data sets
1 property 1 required
ObservationStationGeoJson
GeoJsonGeometry
A GeoJSON geometry object. Please refer to IETF RFC 7946 for information on the GeoJSON format.
GeoJsonLineString
array
A GeoJSON line string. Please refer to IETF RFC 7946 for information on the GeoJSON format.
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…
GeoJsonCoordinate
array
A GeoJSON coordinate. Please refer to IETF RFC 7946 for information on the GeoJSON format.
GeoJsonFeatureCollection
object
A GeoJSON feature collection. Please refer to IETF RFC 7946 for information on the GeoJSON format.
3 properties 2 required
AreaCode
State/territory codes and marine area codes
ObservationGeoJson
GeoJsonFeature
object
A GeoJSON feature. Please refer to IETF RFC 7946 for information on the GeoJSON format.
5 properties 3 required
Date
string
Date (in YYYY-MM-DD format).
ObservationStationJsonLd
ObservationJsonLd

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

weather-gov-stations-api-openapi.yml Raw ↑

Other APIs Weather.gov publishes across the network.

Weather.gov Alerts API
Weather.gov Aviation API
Weather.gov Glossary API
Weather.gov Gridpoints API
Weather.gov Icons API
Weather.gov Offices API
Weather.gov Points API
Weather.gov Products API
Weather.gov Radar API
Weather.gov Radio API
Weather.gov Thumbnails API
Weather.gov Zones API
Where this information came from

This is an independent, third-party profile of Weather.gov Stations API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.