GET /weather/history/:city
Klukkustundar veðurmyndir fyrir studdan borg, geymd samfelld af okkar eigin starfsfólki frá toppnum á hverri klukkustund. Skilar hitastigi, virku hitastigi, raka, úrkomu, vindhraða/stefnu, veðurkóða, og skýjahúfu. Sía með ?start og ?end (ISO 8601 eða YYYY-MM-DD). Gagnlegt til að byggja langtíma loftslags skjáborð, bera saman skilyrði á milli borga á tíma, og greina klukkustundar veðurmynstur án þess að nota uppstreymi gagnasöfnunar API.
city
nauðsynlegt
City name (see /weather/cities)
start
valfrjálst
Start datetime (ISO 8601 or YYYY-MM-DD)
end
valfrjálst
End datetime (ISO 8601 or YYYY-MM-DD)
limit
valfrjálst
sjálfgefið: 500
Max rows (cap 10000)
| Nafn | Nauðsynlegt | Sjálfgefið | Lýsing |
|---|---|---|---|
city |
Já | - | City name (see /weather/cities) |
start |
Nei | - | Start datetime (ISO 8601 or YYYY-MM-DD) |
end |
Nei | - | End datetime (ISO 8601 or YYYY-MM-DD) |
limit |
Nei | 500 | Max rows (cap 10000) |
curl "https://nordapi.ee/api/v1/weather/history/tallinn?limit=24"
curl "https://nordapi.ee/api/v1/weather/history/tallinn?limit=24"
curl "https://nordapi.ee/api/v1/weather/history/oslo?start=2026-04-01&end=2026-04-15"
curl "https://nordapi.ee/api/v1/weather/history/tokyo?limit=10000"
{
"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
}