Skip to navigation

List trades

This endpoint returns the trades of the account.

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Query parameters

sortstringOptionalformat: "(created_at-asc|created_at-desc)"Defaults to created_at-asc
Optionally sort the results
limitstringOptionalformat: "uint64"Defaults to 20

Optionally limit the number of results (between 1 and 500)

querylist of stringsOptional
Optionally filter the results
cursorstringOptionalformat: "base64"
Optionally provide a cursor to paginate over pages of results
fieldslist of stringsOptional

Optionally load some sub-resources

subAccountIdstringOptionalformat: "uuid"

The unique identifier of the sub-account the trades belong to.

Response

A successful response.
resultlist of objects
paginationobject
sortingKeyslist of objectsOptional
filterslist of objectsOptional
querylist of stringsOptional

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
500
Internal Server Error
503
Service Unavailable Error