The endpoint makes use of the pagination 2.0. It will allow you to retrieve all trades sorted by latest first
Security
api-key
GET
curl -i -X GET \
'https://acc-trading.etpa.nl/public-api/3.0/electricity/trades?pageNumber=0&pageSize=10&my_own_trades=true&participantId=string&orderId=string&tradeId=string&start=0&end=0&field=START&timeblocks=INTRADAY' \
-H 'api_key: YOUR_API_KEY_HERE'Response
{
"totalElements": 0,
"totalPages": 0,
"size": 0,
"content": [
{
"id": "string",
"tradeId": "string",
"productType": "ELECTRICITY",
"timeblock": "BASELOAD",
"buyerId": "string",
"sellerId": "string",
"orderIdBuy": "string",
"orderIdSell": "string",
"buyerEan": "string",
"sellerEan": "string",
"buyTraderName": "string",
"sellTraderName": "string",
"buyOrderMetadata": {
"property1": "string",
"property2": "string"
},
"sellOrderMetadata": {
"property1": "string",
"property2": "string"
},
"quantity": 0,
"start": 1694422800000,
"end": 1694422800000,
"executed": 1694422800000,
"duration": 0,
"mwhTraded": 0,
"price": 0,
"type": "string",
"tradedForIdcons": true,
"reverted": true,
"revertedAt": 1694422800000
}
],
"number": 0,
"sort": {
"empty": true,
"sorted": true,
"unsorted": true
},
"first": true,
"last": true,
"numberOfElements": 0,
"pageable": {
"offset": 0,
"sort": {
"empty": true,
"sorted": true,
"unsorted": true
},
"paged": true,
"pageSize": 0,
"pageNumber": 0,
"unpaged": true
},
"empty": true
}