What the Weather Forecast API offers

The Weather Forecast API gives you high-resolution weather model data for any location. A request needs a location and the weather variables you want. You can then adjust the time range, the weather model and the units.

By default you get forecasts for 7 days, and you can extend that to 16 days. To read archived forecasts, use the Past Days feature. For the full archive of past forecast runs, see the Historical Forecast API. To start from scratch, read Getting started.

Usage limits

The free licence is only for non-commercial use and fewer than 10.000 daily API calls. Commercial and self-hosted options are listed under the usage licence setting.

Make your first request

1

Choose a location

Set a latitude and longitude. You can also search for a place, enter a list of locations or use a bounding box.

2

Pick your variables

Add hourly, daily or current variables to the request. The example below asks for temperature_2m as an hourly variable.

3

Adjust the time range

Choose how many forecast days and past days you want. For hourly variables, you can refine the range with &forecast_hours= and &past_hours=.

4

Send the request

Copy the API URL into your application.

The API URL for Berlin looks like this:

https://api.open-meteo.com/v1/forecast?latitude=52.52&longitude=13.41&hourly=temperature_2m

Choose a response format

Add a format parameter to download the same data as a spreadsheet or CSV file.

https://api.open-meteo.com/v1/forecast?latitude=52.52&longitude=13.41&hourly=temperature_2m

Weather variables

GroupWhat it covers
HourlyTemperature, humidity, precipitation, cloud cover, wind at several heights, soil temperature and soil moisture, and more
Solar radiationShortwave, direct, diffuse and direct normal irradiance, plus global tilted radiation
Pressure levelTemperature, dewpoint, relative humidity, cloud cover, wind and geopotential height by pressure level
15-minutelyShort-interval values, adjustable with &forecast_minutely_15= and &past_minutely_15=
DailyMaximum and minimum temperature, sunrise, sunset, precipitation sums and more
CurrentConditions right now, based on 15-minutely weather model data
15-minutely availability

15-minutely data is only available in Central Europe and North America. Other regions use interpolated hourly data.

Weather models

The default Best Match provides the best forecast for any given location worldwide. You can also select individual models and compare them. A Seamless option combines all models from a given provider.

Weather modelProviderResolutionForecast lengthUpdate frequency
ICONDeutscher Wetterdienst (DWD)2 - 11 km7.5 daysEvery 3 hours
GFS & RRFSNOAA3 - 25 km16 daysEvery hour
ARPEGE & AROMEMétéo-France1 - 25 km4 daysEvery hour

Common questions

Next steps