Skip to content

Reporting v2

The reporting API is used for reporting purposes. It can be used by users who have trade, wallet or reporting access.

Get orders and trades report

Request

Security
api-key
Query
participantIdstring

Fetch orders and trades with the filter field participantId. This is only useful for brokers.

orderIdstring

Filter on orderId.

tradeIdstring

Filter on tradeId.

cursorstring

nextCursor provided by a previous response

countinteger, (int32), [ 1 .. 100 ]

Number of orders and trades to return

Default:100
startinteger, (int64)

Fetch orders and trades with the filter field since Unix timestamp in milliseconds.

Default:0
endinteger, (int64)

Fetch orders and trades with the filter field until Unix timestamp in milliseconds.

Default:0
filterstring

switch the field the start and end filter searches on

Default:"CREATION"
Enum:"CREATION""TRANSACTION"
GET
/public-api/2.0/electricity/reporting/orders-trades
curl -i -X GET \
  'https://acc-trading.etpa.nl/public-api/2.0/electricity/reporting/orders-trades?participantId=string&orderId=string&tradeId=string&cursor=string&count=100&start=0&end=0&filter=CREATION' \
  -H 'api_key: YOUR_API_KEY_HERE'

Responses

Order and trades

Headers
X-Rate-Limit-Remainingobject

This header provides the amount of requests you are allowed to make for that period in time.

Bodyapplication/json
dataArray of objects(PublicApiOrderReportEntry)required
nextCursorstring
Response
{ "data": [ {} ], "nextCursor": "string" }