Skip to main content
GET
Historical Weather (ERA5 Archive)
Retrieve historical reanalysis weather (ERA5 / ERA5-Land and related models) for any coordinate. start_date and end_date (both yyyy-mm-dd) are required and define the interval; data is available from 1940 to the near-present. Request fields with hourly and/or daily variable lists, and set timezone to localize daily aggregates. The response returns the resolved grid-cell metadata and hourly/daily blocks, each with a time array, one array per variable, and a matching *_units object. Example: GET /apis/v1/openmeteo/archive?latitude=52.52&longitude=13.41&start_date=2022-01-01&end_date=2022-12-31&hourly=temperature_2m,precipitation&daily=temperature_2m_max,temperature_2m_min&timezone=Europe/Berlin. Billing: $0.00015 per call (150 micros USD), metered per request. All Open-Meteo endpoints are GET pass-through — authenticate with your AIsa API key as a bearer token (the same key used across every AIsa /apis/* endpoint); AIsa handles provider access.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

latitude
string
required

WGS84 latitude of the location. Multiple coordinates can be comma-separated.

Example:

"52.52"

longitude
string
required

WGS84 longitude of the location (negative for the Americas). Multiple coordinates can be comma-separated.

Example:

"13.41"

start_date
string<date>
required

Start of the interval, yyyy-mm-dd (ISO 8601).

Example:

"2024-01-01"

end_date
string<date>
required

End of the interval, yyyy-mm-dd (ISO 8601).

Example:

"2024-01-07"

hourly
string

Comma-separated list of hourly variables to return. Common values: temperature_2m, relative_humidity_2m, dew_point_2m, apparent_temperature, precipitation, rain, showers, snowfall, weather_code, pressure_msl, cloud_cover, wind_speed_10m, wind_direction_10m, wind_gusts_10m, shortwave_radiation, visibility. Also includes soil temperature/moisture variables.

Example:

"temperature_2m,precipitation"

daily
string

Comma-separated list of daily aggregation variables to return. Requires timezone. Common values: temperature_2m_max, temperature_2m_min, temperature_2m_mean, precipitation_sum, rain_sum, snowfall_sum, weather_code, sunrise, sunset, sunshine_duration, wind_speed_10m_max, uv_index_max.

Example:

"temperature_2m_max,temperature_2m_min,precipitation_sum"

elevation
string

Manual elevation (meters). Defaults to a 90m DEM.

Example:

"38"

temperature_unit
enum<string>
default:celsius

Temperature unit. Default celsius.

Available options:
celsius,
fahrenheit
wind_speed_unit
enum<string>
default:kmh

Wind speed unit. Default kmh.

Available options:
kmh,
ms,
mph,
kn
precipitation_unit
enum<string>
default:mm

Precipitation unit. Default mm.

Available options:
mm,
inch
timeformat
enum<string>
default:iso8601

Time output format. Default iso8601.

Available options:
iso8601,
unixtime
models
string

Comma-separated reanalysis models, e.g. era5, era5_land, ecmwf_ifs, cerra. Default best match.

Example:

"era5"

timezone
string

IANA time zone name (e.g. Europe/Berlin) or auto to resolve from coordinates. Defaults to GMT.

Example:

"Europe/Berlin"

cell_selection
enum<string>
default:land

Grid-cell preference for the coordinate. Default land.

Available options:
land,
sea,
nearest

Response

200 - application/json

Historical weather for the interval.

The response is of type object.