Skip to main content
GET
Historical Forecast
Retrieve the actual high-resolution forecasts that were issued in the past (archived model runs, not reanalysis) for a coordinate. start_date and end_date (yyyy-mm-dd) are required and select the archived interval. The variable model matches the forecast endpoint: request fields with hourly and/or daily lists. The response returns grid-cell metadata and the requested resolution blocks, each with a time array, one array per variable, and a matching *_units object. Example: GET /apis/v1/openmeteo/historical-forecast?latitude=52.52&longitude=13.41&start_date=2023-06-01&end_date=2023-06-07&hourly=temperature_2m,precipitation. 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.

Example:

"temperature_2m,precipitation,wind_speed_10m"

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 forecast models to retrieve archived runs for. Default best match.

Example:

"best_match"

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

Archived forecast for the interval.

The response is of type object.