Forecasts

Historical forecast for point(s)

POST
/weather/v2/point/historical

Authorization

Authorization<token>

Raw API key (no Bearer prefix).

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

curl -X POST "https://api.rebase.energy/weather/v2/point/historical" \  -H "Content-Type: application/json" \  -d '{    "model": "DWD_ICON-EU",    "latitude": [      60.1,      61.2    ],    "longitude": [      16.5,      17    ],    "variables": "Temperature, WindSpeed",    "start-date": "2023-08-01",    "end-date": "2023-08-03",    "reference-time-freq": "6H",    "output-format": "json",    "output-schema": "list"  }'

[
  {
    "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"
}