Skip to main content
GET
/
api
/
partners
/
v2.0
/
org
/
{org_id}
/
trading
/
dayahead
/
loadcurve
Get
curl --request GET \
  --url https://api.example.com/api/partners/v2.0/org/{org_id}/trading/dayahead/loadcurve \
  --header 'Authorization: Bearer <token>'
{
  "metadata": {
    "requested_at": "2023-11-07T05:31:56Z",
    "query": {
      "org_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "resolution": "15MIN",
      "day": "2023-12-25",
      "keywords": [
        "<string>"
      ]
    },
    "trade_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "error": "<string>"
  },
  "data": {
    "optimized_load_curve": [
      {
        "timestamp": "2023-11-07T05:31:56Z",
        "energy": 123
      }
    ],
    "unoptimized_load_curve": [
      {
        "timestamp": "2023-11-07T05:31:56Z",
        "energy": 123
      }
    ]
  }
}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Path Parameters

org_id
string<uuid>
required

The organization ID of the user's organization

Query Parameters

resolution
enum<string>
required
Available options:
15MIN,
1HOUR
day
string<date>
required
keywords
string
required

Supported Keywords: ['unoptimized_load_curve', 'optimized_load_curve']

event_emitter
string

Response

OK

metadata
GetMetadata · object
required
data
GetData · object
required