Weekly weather forecast

GET https://api.open-meteo.com/v1/forecast?latitude=37&longitude=-122.4&current_weather=true&daily=temperature_2m_max,temperature_2m_min&timezone=GMT

Request Params

KeyDatatypeRequiredDescription
latitudenumber
longitudestring
current_weatherboolean
dailystring
timezonestring

RESPONSES

status: OK

{"latitude":37.011063,"longitude":-122.39685,"generationtime_ms":0.2840757369995117,"utc_offset_seconds":0,"timezone":"GMT","timezone_abbreviation":"GMT","elevation":0,"current_weather":{"temperature":15.2,"windspeed":20.2,"winddirection":338,"weathercode":45,"is_day":0,"time":"2023-08-14T04:00"},"daily_units":{"time":"iso8601","temperature_2m_max":"°C","temperature_2m_min":"°C"},"daily":{"time":["2023-08-14","2023-08-15","2023-08-16","2023-08-17","2023-08-18","2023-08-19","2023-08-20"],"temperature_2m_max":[15.4,15,30.3,28,26.6,28.2,26.9],"temperature_2m_min":[14.7,14.2,15,14.2,12.7,12.7,13.6]}}