GET
/
platform
/
v2
/
sites
/
{site_id}
/
forecast
curl --request GET \
  --url https://api.rebase.energy/platform/v2/sites/{site_id}/forecast \
  --header 'Authorization: <api-key>'
{
  "valid_time": [
    "2024-01-01T00:00:00Z",
    "2024-01-01T01:00:00Z",
    "2024-01-01T02:00:00Z",
    "2024-01-01T03:00:00Z",
    "2024-01-01T04:00:00Z",
    "2024-01-01T05:00:00Z",
    "2024-01-01T06:00:00Z",
    "2024-01-01T07:00:00Z",
    "2024-01-01T08:00:00Z",
    "2024-01-01T09:00:00Z"
  ],
  "forecast": [
    6000,
    6000,
    6000,
    6000,
    6000,
    6000,
    6000,
    6000,
    6000,
    6000
  ],
  "model_name": [
    "My model",
    "My model",
    "My model",
    "My model",
    "My model",
    "My model",
    "My model",
    "My model",
    "My model",
    "My model"
  ],
  "model_version": [
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1
  ],
  "update_time": [
    "2024-01-01T00:00:00Z",
    "2024-01-01T00:00:00Z",
    "2024-01-01T00:00:00Z",
    "2024-01-01T00:00:00Z",
    "2024-01-01T00:00:00Z",
    "2024-01-01T00:00:00Z",
    "2024-01-01T00:00:00Z",
    "2024-01-01T00:00:00Z",
    "2024-01-01T00:00:00Z",
    "2024-01-01T00:00:00Z"
  ]
}

Authorizations

Authorization
string
header
required

Your API key. This is required to access our API programatically. You can view your API key in the Rebase dashboard.

Path Parameters

site_id
string
required

Query Parameters

start_date
string
end_date
string | null
tz
string | null
as_of
string | null

Response

200
application/json
Successful Response

The response is of type object.