Skip to content

Get orders and trades report

Request

Security
api-key
Query
participantIdstring

Filter xbid orders and trades by participantId. This is only useful for brokers.

orderIdstring

Filter on orderId.

tradeIdstring

Filter on tradeId.

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"
pageableobject(Pageable)required
Example:page=0&size=1
GET
/public-api/1.0/xbid/reporting/orders-trades
curl -i -X GET \
  'https://acc-trading.etpa.nl/public-api/1.0/xbid/reporting/orders-trades?participantId=string&orderId=string&tradeId=string&start=0&end=0&filter=CREATION&pageable=page%3D0%26size%3D1' \
  -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
contentArray of objects(PageCustomContent)

List of content

pageableobject(Pageable)

Pagination details

lastboolean

Indicates if this is the last page

Example:true
totalElementsinteger, (int64)

Total number of elements

Example:0
totalPagesinteger, (int32)

Total number of pages

Example:0
firstboolean

Indicates if this is the first page

Example:true
sizeinteger, (int32)

Size of the page

Example:1
numberinteger, (int32)

Page number

Example:0
sortobject(PageCustomSort)

Sorting details

numberOfElementsinteger, (int32)

Number of elements in the page

Example:0
emptyboolean

Indicates if the content is empty

Example:true
Response
{ "content": [ {} ], "pageable": { "page": 0, "size": 1, "sort": {}, "offset": 0, "paged": true, "unpaged": false }, "last": true, "totalElements": 0, "totalPages": 0, "first": true, "size": 1, "number": 0, "sort": { "empty": true, "sorted": false, "unsorted": true }, "numberOfElements": 0, "empty": true }