GET /weather/forecast
Hämta en flerdygnsväderprognos för upp till 16 dagar, med dagliga max- och mintemperaturer, sannolikhet för nederbörd, vindhastighet och väderkoder. Stöder uppslag via koordinater eller stadsnamn. Användbart för reseplaneringsappar, schemaläggningsverktyg för evenemang, jordbruksdashboards och alla funktioner som hjälper användare att planera utifrån framtida väderförhållanden. Data från Open-Meteos prognosmodeller.
lat
valfri
Latitude
lon
valfri
Longitude
city
valfri
City name
days
valfri
standard: 7
Forecast days
| Namn | Obligatorisk | Standard | Beskrivning |
|---|---|---|---|
lat |
Nej | - | Latitude |
lon |
Nej | - | Longitude |
city |
Nej | - | City name |
days |
Nej | 7 | Forecast days |
curl "https://nordapi.ee/api/v1/weather/forecast?city=tokyo&days=7"
curl "https://nordapi.ee/api/v1/weather/forecast?city=tokyo&days=7"
curl "https://nordapi.ee/api/v1/weather/forecast?city=london&days=3"
curl "https://nordapi.ee/api/v1/weather/forecast?lat=-33.87&lon=151.21&days=16"
curl "https://nordapi.ee/api/v1/weather/forecast?city=oslo"
{
"city": "tokyo",
"data": {
"daily": {
"precipitation_sum": [
0.6,
0.0,
0.6,
1.0,
0.6,
4.2,
0.0
],
"temperature_2m_max": [
21.8,
23.8,
26.2,
27.7,
25.4,
21.4,
25.7
],
"temperature_2m_min": [
17.9,
16.4,
17.9,
18.8,
18.2,
17.0,
16.1
],
"time": [
"2026-06-10",
"2026-06-11",
"2026-06-12",
"2026-06-13",
"2026-06-14",
"2026-06-15",
"2026-06-16"
],
"weather_code": [
51,
2,
51,
53,
51,
53,
3
],
"wind_speed_10m_max": [
6.6,
8.3,
6.5,
8.7,
11.7,
9.8,
9.3
]
},
"daily_units": {
"precipitation_sum": "mm",
"temperature_2m_max": "°C",
"temperature_2m_min": "°C",
"time": "iso8601",
"weather_code": "wmo code",
"wind_speed_10m_max": "km/h"
},
"elevation": 37.0,
"generationtime_ms": 0.19180774688720703,
"latitude": 35.7,
"longitude": 139.625,
"timezone": "Asia/Tokyo",
"timezone_abbreviation": "GMT+9",
"utc_offset_seconds": 32400
},
"success": true
}