Before you begin
The weather APIs need no API key and no sign-up. All of them use plain HTTP GET requests with query parameters and return JSON, so curl or a browser is enough to start.
Non-commercial use up to 10,000 daily API calls is free. Attribution is required under the CC BY 4.0 data licence. For commercial use or higher call volumes, subscription plans are available.
Make your first request
Choose a location
Pass a latitude and a longitude. The example below uses 52.52 and 13.41.
Choose variables
Ask for current conditions with current, and for time series with hourly. Here you request temperature_2m and wind_speed_10m as current values, and add relative_humidity_2m to the hourly series.
Send an HTTP GET request
Call the forecast endpoint. No headers or credentials are required.
Read the JSON response
Values arrive under current and hourly, using the variable names you requested.
Request and response
curl "`https://api.open-meteo.com/v1/forecast?latitude=52.52&longitude=13.41¤t=te`"
{
"current": {
"time": "2022-01-01T15:00",
"temperature_2m": 2.4,
"wind_speed_10m": 11.9
}
}
The full response also includes an hourly object with one array per requested variable.
Choose an API
All the APIs share the same JSON format and parameter conventions, so moving between them means changing the endpoint.
| Need | API | Coverage |
|---|---|---|
| Gap-free climate baselines | Historical Weather API | ERA5 reanalysis, 1940 to present |
| Archived forecasts in the live Forecast API format | Historical Forecast API | Same models, parameters and response format |
| Forecast skill at fixed lead times | Previous Runs API | Lead-time offsets of 1–7 days |
For the full parameter list of the forecast endpoint, read the Docs. To compare everything on offer, see Features.
Common questions
Evaluate Oxide Lisp
The Oxide API exposes one operation for evaluating Lisp: POST /evaluate. Its server is:
https://oxide.bitshft.dev/v0