Stations and data

Nearby Stations Endpoint

Return a single, deduplicated list of nearby weather stations.

Merges the Meteostat station index and the NOAA ISD-history inventory. Stations within 0.5 km of each other are collapsed into one entry (Meteostat record preferred when available, ISD fills any gaps).

The two source lookups (Meteostat DataFrame filter + ISD file scan) run concurrently via a ThreadPoolExecutor so the combined latency ≈ max of the two individual latencies rather than their sum.

This is the canonical endpoint for the map station layer — callers do not need to know which underlying dataset a station comes from.

get/api/stations/nearby

Request

  • Base URL: https://epw.tools
  • URL: https://epw.tools/api/stations/nearby
  • Auth: none declared

Query parameters

latnumber required

Latitude in decimal degrees

lonnumber required

Longitude in decimal degrees

yearinteger

Optional year to flag active/inactive stations

radius_kmnumber
max_resultsinteger

Response

Successful Response

unknown required

Changes

No recorded changes to this operation across all 1 revision of this API.