List Trades

get/api/prime/trading/v1/accounts/{accountId}/trades

Lists trades from the trading account. This will include trades that have not yet settled.

Path Parameters

  • accountIdstringRequired
    The id of the trading account to retrieve

Query Parameters

  • offsetinteger
  • limitinteger
  • orderIdstring<uuid>
    The orderId of the trades to retrieve
  • dateGtestring<date-time>
    Return exchange trades with a trade date that is greater than or equal to the given timestamp
  • dateLtstring<date-time>
    Return exchange trades with a trade date that is less than the given timestamp

200 Response

data array[object] required
id string <uuid>required
orderId string <uuid>required
time string <date-time>required
product string required
Product name e.g. BTC-USD
side string required
Side of a trade, from the perspective of the requesting user
Allowed values: buy sell
Example: buy
price string <decimal>required
quoteQuantity string <decimal>required
Quote quantity, e.g. For BTC-USD product, 100.50 USD
quantity string <decimal>required
Base quantity, e.g. For BTC-USD product, 0.0045 BTC
settled boolean required

default Response

error string required
errorName string required
reqId string required