OK
ETPA XBID Public API (2.0.0)
Download OpenAPI description
Languages
Servers
https://acc-trading.etpa.nl
- https://acc-trading.etpa.nl/public-api/2.0/xbid/public-trades/{deliveryAreaId}
- 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/xbid/public-trades/{deliveryAreaId}?deliveryDay=string&deliveryStartTime=2019-08-24T14%3A15%3A22Z&deliveryEndTime=2019-08-24T14%3A15%3A22Z&page=0&size=1&sort=string' \
-H 'api_key: YOUR_API_KEY_HERE'Response
application/json
{ "totalPages": 0, "totalElements": 0, "pageable": { "paged": true, "pageNumber": 0, "pageSize": 0, "offset": 0, "sort": { … }, "unpaged": true }, "size": 0, "content": [ { … } ], "number": 0, "sort": { "sorted": true, "empty": true, "unsorted": true }, "numberOfElements": 0, "first": true, "last": true, "empty": true }
Request
Retrieve historical public trades within a specified time range. This endpoint is suitable when needing historical trade data in within controlled time ranges without overloading ETPA's system
Constraints:
The difference between
endandstartmust not exceed 6 hours.If the requested time interval is too wide, an
400 errorwill be thrown.If the system is unavailable, the request will return a
BAD REQUESTresponse.
Security
api-key
- https://acc-trading.etpa.nl/public-api/2.0/xbid/public-trades/history
- 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/xbid/public-trades/history?start=2019-08-24T14%3A15%3A22Z&end=2019-08-24T14%3A15%3A22Z' \
-H 'api_key: YOUR_API_KEY_HERE'