This is a REST API for obtaining the updated data and parameters affecting electricity load and prices in the EU. The database are updated, filtered, and validated daily and includes historical data from 2013 covering 30 EU/EAA countries and 44 bidding zones.
This API is a RESTFUL API developed by Flask and Python. The API uses HTTP Basic Authentication for securing endpoints. The username and password should be provided in the request headers.
- URL:
/v1/table
- Method:
POST
- Authentication: Required
Parameter | Type | Description |
---|---|---|
table |
string | Name of the table to query |
bidding_zone |
string | Name of the bidding zone |
date_from |
string | Start date (YYYY-MM-DD HH:MM:SS) |
date_to |
string | End date (YYYY-MM-DD HH:MM:SS) |
- Status Code: 200 OK
- Content-Type: application/json
A JSON array containing the requested data.
In case of errors, a JSON object with an error message will be returned.
- Status Code: 404 Not Found or 500 Internal Server Error
- Content-Type: application/json
POST /v1/table HTTP/1.1
Host: example.com
Content-Type: application/x-www-form-urlencoded
Authorization: Basic Base64Encoded(LCL:pw)
table=actual_generation&bidding_zone=example_zone&date_from=2023-01-01 00:00:00&date_to=2023-01-02 00:00:00
flask run