List trades by settlement

Permissions required: Execute trades or Read trade activity

List trades for the provided settlement. With the permission Read trade activity all trades of the organization may be read. With the permission Execute trades only the trades created by this API key may be read.

Trades are sorted in a descending order by their timestamp (i.e. the most recent trade or the trade with a timestamp closest to endDateTime is listed first).

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

The ID of the settlement to retrieve

Query Params
date-time

The start date-time of the trades in YYYY-MM-DDTHH:MM:SS.nnnnnnnnn format. The earliest valid start date-time is '2017-01-01T00:00:00.000000000'. Date-times are always in UTC RFC 3339 'date-time'.

date-time

The end date-time of the trades (exclusive) in YYYY-MM-DDTHH:MM:SS.nnnnnnnnn format. Defaults to the current date-time if not specified. endDateTime must be after startDateTime. Date-times are always in UTC RFC 3339 'date-time'.

string
enum

Filter by the side of a trade. If provided, only trades matching this side will be returned.

Allowed:
string

Filter by the trading pair of a trade. If provided, only trades matching this pair of assets will be returned.

string

When paginating this is used to provide the starting point for the page to fetch (retrieved from the previous response body)

int64
1 to 2000
Defaults to 100

Maximum number of results to return per query

Responses

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json