Environment

Historical observations for an NWS station

Changed on

Return historical observations for the requested NWS station, optionally filtered by a start/end ISO 8601 window. Observations are ordered newest first. Each record carries the same QC-flagged measurements as /observation/latest plus the raw METAR. Useful for station time-series analysis, climatology comparisons, and aviation post-event review. NWS retains recent observations in the API (typically the last ~7 days); for long-range archives use the NOAA NCEI CDO endpoints under /climate/*. Attribution: NOAA National Weather Service (api.weather.gov).

get/api/v1/weather/nws/station/{station_id}/observations

Request

  • Base URL: https://sugra.ai
  • URL: https://sugra.ai/api/v1/weather/nws/station/{station_id}/observations
  • Auth: API key in header x-api-key

Path parameters

station_idstring required

NWS station identifier (e.g. KJFK).

Query parameters

startstring nullable

Inclusive ISO 8601 start time (e.g. 2026-04-01T00:00:00Z).

endstring nullable

Inclusive ISO 8601 end time.

limitinteger

Maximum number of observations per response (NWS caps at 500).

Response

Historical observations plus time-range metadata.

Example response

{
  "meta": {
    "endpoint": "/api/v1/fred/us/cpi",
    "data_time": "2026-04-16T14:30:00Z",
    "response_time": "2026-04-16T14:30:12Z",
    "provider": "Sugra API v1.0.1",
    "data_age_days": 8.532,
    "source": "sugra_crypto",
    "attribution": "Short interest and Reg SHO daily short volume data is owned by and sourced from FINRA (Financial Industry Regulatory Authority).",
    "fallback_chain": [
      "sugra_crypto",
      "sugra_finance"
    ],
    "stale_since": "2026-09-08T12:00:00Z",
    "period": "2026-Q1",
    "notes": "the UKMTO report behind these counts is dated 2026-08-21 and is 11 days old"
  }
}

Changes