Skip to content

List the trades of the participants registered to your BRP

Request

Note: For BRPs (PV-partijen) only.

Returns a Spring Page JSON with trade records under the 'content' field, filtered and ordered by the timestamp you select with dateFilter.

The BRP Participant is automatically derived from your session. Providing one is optional — if you do, it must be your own BRP identifier. Details of any counterparty registered to another BRP are blanked.

How to use: provide a time window using epoch-millis for dateFrom/dateTo. Choose which timestamp the window applies to with dateFilter: TRANSACTION_DATE (the default, when the trade was executed) or DELIVERY_DATE (the start of the delivery period); the same field determines the ordering. Paginate with page (0-based) and size. Set the ordering direction with sortDirection, which defaults to ASC.

Query
dateFilterstring

Selects which timestamp the dateFrom/dateTo window applies to, and which field the results are ordered by. TRANSACTION_DATE is when the trade was executed and DELIVERY_DATE the start of its delivery period. Note: this is only available in ACC at the moment; it is not yet in production.

Default:"TRANSACTION_DATE"
Enum:"TRANSACTION_DATE""DELIVERY_DATE"
dateFrominteger, (int64)required

Start of the window, inclusive, as epoch milliseconds. Applies to the field named by dateFilter. May not be more than two years before the start of the current day.

dateTointeger, (int64)required

End of the window, inclusive, as epoch milliseconds. Applies to the field named by dateFilter. The window may not exceed the maximum range configured for the service. Certain values (I.e. ORDER_CREATION_DATE/TRANSACTION_DATE) may not be in the future

sortDirectionstring

Direction the results are ordered in. The field ordered on is the one named by dateFilter.

Default:"ASC"
Enum:"ASC""DESC"
pageinteger, >= 0

Zero-based page index (0..N)

Default:0
sizeinteger, >= 1

The size of the page to be returned

Default:20
sortArray of strings

Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.

brpParticipantIdstring

Derived from your session when omitted; when supplied it must be your own BRP identifier.

GET
/public-api/4.0/electricity/reporting/brp-participant-trades
curl -i -X GET \
  'https://acc-trading.etpa.nl/public-api/4.0/electricity/reporting/brp-participant-trades?dateFilter=TRANSACTION_DATE&dateFrom=0&dateTo=0&sortDirection=ASC&page=0&size=20&sort=string&brpParticipantId=string'

Responses

Success. Paginated list of trades.

Bodyapplication/json
totalElementsinteger, (int64)
totalPagesinteger, (int32)
pageableobject(PageableObject)
sizeinteger, (int32)
contentArray of objects
numberinteger, (int32)
sortobject(SortObject)
numberOfElementsinteger, (int32)
firstboolean
lastboolean
emptyboolean
Response
{ "totalElements": 0, "totalPages": 0, "pageable": { "paged": true, "pageSize": 0, "pageNumber": 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 }