Latest forecast on a grid
Returns the latest forecast over a grid defined by latitude/longitude lists. Not available for the ECMWF_HRES* models.
Raw API key (no Bearer prefix).
In: header
Query Parameters
Model identifier. A single model, or several joined with + (multi-model queries allow only post-processed variables and forecast-horizon=latest).
"DWD_ICON-EU" | "DWD_ICON-D2" | "NCEP_GFS" | "MetNo_MEPS" | "MetNo_HIRESMEPS" | "SMHI_MESAN" | "ECMWF_ERA5" | "ECMWF_ERA5-land" | "ECMWF_HRES" | "ECMWF_HRES_OPERATIONAL" | "ECMWF_IFS_OPER" | "ECMWF_HRES_MIX" | "MeteoFrance_ARPEGE-EU" | "MeteoFrance_ARPEGE-GL" | "MeteoFrance_AROME" | "MeteoFrance_AROME-HD" | "MetOffice_GlobalHiRes" | "KNMI_HARMONIE-NL" | "KNMI_HARMONIE-EU" | "Rebase_AI"A single latitude or a comma-separated list (points), or the grid latitude axis (type=grid).
A single longitude or a comma-separated list.
Comma-separated variable names. Use Variable:height for a specific height level (e.g. WindSpeed:100).
Timezone for request parameters and returned timestamps.
"UTC"Output time resolution within a forecast (e.g. 1H). Values are interpolated to this frequency.
latest (continuous latest-value time series), full (entire horizon of each run), or a custom list of lead-time hours, e.g. [0, 1, 2, 6, 12].
"latest"If true, spatially interpolate to the requested coordinates; otherwise return the nearest grid point.
falseResponse container — inline json or a pre-signed URL to a netcdf file.
"json""json" | "netcdf"JSON shape — list (pandas-style, array of per-point objects) or xarray (Dataset dict).
"list""list" | "xarray"Response Body
application/json
application/json
curl -X GET "https://api.rebase.energy/weather/v2/area/operational?model=DWD_ICON-EU&latitude=60.1%2C+61.2%2C+59.33&longitude=16.5%2C+17.0%2C+18.1&variables=Temperature%2C+WindSpeed%2C+WindDirection"[
{
"ref_datetime": [
"2023-08-01T00:00:00Z",
"2023-08-01T00:00:00Z"
],
"valid_datetime": [
"2023-08-01T00:00:00Z",
"2023-08-01T01:00:00Z"
],
"Temperature": [
17.4,
17.1
],
"WindSpeed": [
5.2,
5
]
}
]{
"error": "string",
"message": "string"
}