Skip to content

ETPA XBID Public API (2.0.0)

Languages
Servers
https://acc-trading.etpa.nl

XBID Public Trades v1

Operations

Get all public XBID trades

Request

Get all public XBID trades which can be filtered and paged.

Constraints:

  • If no content is found for the provided parameters, the request will return a 204 No Content.
  • If the system is unavailable, the request will return a BAD REQUEST response.`.
Security
api-key
Query
searchFieldstring
searchPatternstring
pageableobject(Pageable)required
pageable.​pageinteger(int32)>= 0
pageable.​sizeinteger(int32)>= 1
pageable.​sortArray of strings
curl -i -X GET \
  'https://acc-trading.etpa.nl/public-api/1.0/xbid/public-trades?searchField=string&searchPattern=string&page=0&size=1&sort=string' \
  -H 'api_key: YOUR_API_KEY_HERE'

Responses

OK

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

Get Recent Public XBID Trades

Request

The recent Public XBID trades API will return all the trades of the last 2 days.

Constraints:

  • If the system is unavailable, the request will return a BAD REQUEST response.
Security
api-key
Query
pageableobject(Pageable)required
pageable.​pageinteger(int32)>= 0
pageable.​sizeinteger(int32)>= 1
pageable.​sortArray of strings
curl -i -X GET \
  'https://acc-trading.etpa.nl/public-api/1.0/xbid/public-trades/recent?page=0&size=1&sort=string' \
  -H 'api_key: YOUR_API_KEY_HERE'

Responses

Xbid connection is down or has been disabled

Response
No content

XBID Public Trades v2

Operations