The recent trades will only return your trades back from the last 2 days. The participantId is only useful for brokers.
The pagination works slightly different than the other endpoints. It will return the first 1000 results and after that you can add the pageNumber as a parameter to get the remaining results.
Security
api-key
GET
curl -i -X GET \
'https://acc-trading.etpa.nl/public-api/2.0/electricity/trades/recent?participantId=string&pageNumber=0' \
-H 'api_key: YOUR_API_KEY_HERE'OK
Array [
]
Response
[ { "id": "string", "productType": "ELECTRICITY", "timeblock": "BASELOAD", "buyerId": "string", "sellerId": "string", "orderIdBuy": "string", "orderIdSell": "string", "quantity": 0, "start": 1704070000000, "end": 1704070000000, "price": 0, "duration": 0, "executed": 1704070000000, "type": "string", "buyerEan": "string", "sellerEan": "string", "buyOrderMetadata": { … }, "sellOrderMetadata": { … }, "mwhTraded": 0, "tradedForIdcons": true, "traderUsernameBuy": "string", "traderUsernameSell": "string", "reverted": true } ]