← Geo & Weather

City Weather History

GET /weather/history/:city

Hourly weather snapshots for a supported city, stored continuously by our own workers from the top of every hour. Returns temperature, apparent temperature, humidity, precipitation, wind speed/direction, weather code, and cloud cover. Filter with ?start and ?end (ISO 8601 or YYYY-MM-DD). Useful for building long-running climate dashboards, comparing conditions across cities over time, and analyzing hourly weather patterns without hitting upstream archive APIs.

Parameters

city required

City name (see /weather/cities)

start optional

Start datetime (ISO 8601 or YYYY-MM-DD)

end optional

End datetime (ISO 8601 or YYYY-MM-DD)

limit optional default: 500

Max rows (cap 10000)

Example Requests

Basic usage
curl "https://nordapi.ee/api/v1/weather/history/tallinn?limit=24"
Last 24 hours for Tallinn
curl "https://nordapi.ee/api/v1/weather/history/tallinn?limit=24"
Oslo weather for a date range
curl "https://nordapi.ee/api/v1/weather/history/oslo?start=2026-04-01&end=2026-04-15"
Full stored history for Tokyo
curl "https://nordapi.ee/api/v1/weather/history/tokyo?limit=10000"

Live Response

{
  "city": "tallinn",
  "count": 1,
  "data": [
    {
      "apparent_temperature_c": 5.0,
      "cloud_cover_pct": 100.0,
      "observed_at": "2026-04-16T20:00:00Z",
      "precipitation_mm": 0.0,
      "relative_humidity": 91.0,
      "temperature_c": 7.3,
      "weather_code": 3,
      "wind_direction_deg": 27.0,
      "wind_speed_kmh": 8.6
    }
  ],
  "success": true
}