Cancel order by ID.
ETPA Public API (1.0)
For access to the ETPA platform, please send an e-mail to support@etpa.nl
Congestion Management
This API provides congestion data to support grid management and decision-making. It is used exclusively by GOPACS to access spread bucket information related to electricity grid congestion
NOTE: This endpoint can be only used by GOPACS.
Congestion State Check
This API allows GOPACS to check the current status of congestion spread buckets. It helps determine whether congestion data is available or up to date.
NOTE: This endpoint can be only used by GOPACS.
GOPACS Orderbook Locking
NOTE: This API can only be used by GOPACS.
GOPACS Orders – Grid Operator v2
NOTE: This API can only be used by GOPACS
Orders v2
The following things are changed from version 1:
- You will get an error code and an error message when the order is incorrect.
- You will get an
orderIdback from the post request to check the status of your order."Intraday"orders will be rejected from this endpoints when"XBID"functionality is enabled."Expost"orders will still work. You can create"Intraday"orders for"XBID"using the XBID Orders endpoints
- https://acc-trading.etpa.nl/public-api/2.0/electricity/orders/{id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X DELETE \
'https://acc-trading.etpa.nl/public-api/2.0/electricity/orders/{id}' \
-H 'api_key: YOUR_API_KEY_HERE'- https://acc-trading.etpa.nl/public-api/2.0/electricity/orders
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://acc-trading.etpa.nl/public-api/2.0/electricity/orders?my=true&timeblocks=INTRADAY' \
-H 'api_key: YOUR_API_KEY_HERE'[ { "id": "string", "orderType": "BUY", "participantId": "string", "individualId": "string", "productType": "ELECTRICITY", "type": "string", "quantity": 0, "originalQuantity": 0, "created": 1517406300000, "priority": 1517406300000, "start": 1517406300000, "end": 1517406300000, "timeblock": "BASELOAD", "price": 0, "ean": "string", "customExpirationTime": 1517406300000, "metadata": { … }, "duration": 0, "allowedToBeUsedForIdcons": true, "totalPrice": 0 } ]
Callback to return the Id of the order to after initial processing by our system. The callback url will receive a GET request with a parameter named 'id' containing the order Id. Due to the order being created asynchronously, the status cannot be returned by the current http request. After receival of the Id the order can be traced using the Server Sent Events.
The quantity can not be negative and 0. Also the decimal limit of the quantity is 1. The quantity is required field.
The start time is an epoch time. It is the time in milliseconds since the start of the unix time. The start time is required field.
The end time is an epoch time. It is the time in milliseconds since the start of the unix time. The end time is required field
Custom expiration time of an order. If no value is provided then the order will expire 15 minutes before the start time.The time must be a time in the future and must not be later than 15 minutes before the start time. The time provided must be a multiple of 15 minutes. For example 03:00, 03:15, 03:30 and 03:45.
- https://acc-trading.etpa.nl/public-api/2.0/electricity/orders
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
'https://acc-trading.etpa.nl/public-api/2.0/electricity/orders?callbackurl=string' \
-H 'Content-Type: application/json' \
-H 'api_key: YOUR_API_KEY_HERE' \
-d '{
"orderType": "BUY / SELL",
"participantId": "292c3db8-3ee1-4999-bbed-d579225d1596",
"quantity": 2,
"start": 1465596000000,
"end": 1465682400000,
"timeblock": "INTRADAY / EXPOST / GOPACS",
"price": 35,
"ean": 871685920001768800,
"metadata": {
"key1": "value1",
"key2": "value2"
},
"customExpirationTime": 1465682400000,
"allowedToBeUsedForIdcons": true
}'{ "href": "string", "hreflang": "string", "title": "string", "type": "string", "deprecation": "string", "profile": "string", "name": "string", "templated": true }
XBID Orders v1
The XBID Orders v1 will be used for managing orders for XBID. This API will also function in case of a disconnection of XBID.
Be aware: In case the XBID connection gets lost. The new orders which are created with the XBID order API will be automatically forwarded to the local intraday orderbook. You can use the XBID Status API for the current connection of XBID.
XBID Order Status v1
The XBID Order Status Controller provides endpoints to retrieve both the history and current status of XBID orders and baskets. It supports filtering by orderId or basketId and requires an API key for authentication. Responses include detailed order status entries or lists, with proper handling of cases where no matching records are found.
XBID Reporting v1
The XBID Order API is used for creating orders for XBID. It also remains functional in the event of a disconnection from XBID.
⚠️ Important: If the XBID connection is lost, any new orders created via the XBID Order API will be automatically forwarded to the local intraday orderbook. For monitoring the current connection status of XBID, you can use the XBID Status v1 API.
XBID Wallet v1
With XBID, wallets are separated. Before trading on XBID, you must transfer funds from your Trader Wallet to your XBID Wallet.
- Transfers can be performed via the UI or the API.
- This API provides:
- Information about all transactions that have occurred.
- The ability to transfer funds between the Trader Wallet and the XBID Wallet.