trades

Get Trades by clientOrder ID

Gets trade(s) associated with the clientOrderID, requires bearer token in authorization header

Ratelimited: True

get/v1/trades/client-order-id/{clientOrderId}

Request

Path parameters

clientOrderIdstring required

Unique numeric (i64) identifier generated on the client side expressed as a string value

Example:299834741023572480

unique numeric (i64) identifier generated on the client side

Query parameters

tradingAccountIdstring required

unique trading account ID

Example:111000000000001

Id of the trading account

Response

OK

tradeIdstring required
orderIdstring required
clientOrderIdstring required

Unique numeric (i64) identifier generated on the client side expressed as a string value

symbolstring required

market symbol. E.g. BTCUSDC

pricestring required

see asset value format

quantitystring required

see asset value format

quoteAmountstring required

see asset value format

baseFeestring required

see asset value format

quoteFeestring required

see asset value format

sidestring required

order side can have the following string values "BUY", "SELL"

isTakerboolean required
tradeRebateAmountstring required

see asset value format

tradeRebateAssetSymbolstring required

asset symbol as denoted in the world

otcMatchIdstring required

unique numeric (i64) identifier generated on Bullish side expressed as a string value

otcTradeIdstring required

unique numeric (i64) identifier generated on Bullish side expressed as a string value

clientOtcTradeIdstring required

unique numeric (i64) identifier generated on the client side expressed as a string value

createdAtDatetimestring date-time required

ISO 8601 with millisecond as string

createdAtTimestampstring string required

unsigned 64 bit integer value which is the number of milliseconds since EPOCH expressed as string

Example response

{
  "tradeId": "100020000000000060",
  "orderId": "297735387747975680",
  "clientOrderId": "299834741023572480",
  "symbol": "BTCUSDC",
  "price": "1.00000000",
  "quantity": "1.00000000",
  "quoteAmount": "1.00000000",
  "baseFee": "1.00000000",
  "quoteFee": "1.00000000",
  "side": "BUY",
  "isTaker": true,
  "tradeRebateAmount": "1.00000000",
  "tradeRebateAssetSymbol": "USDC",
  "otcMatchId": "15",
  "otcTradeId": "200000000000000098",
  "clientOtcTradeId": "20050900225",
  "createdAtDatetime": "2025-05-20T01:01:01.000Z",
  "createdAtTimestamp": "1621490985000"
}

Changes

No recorded changes to this operation across all 1 revision of this API.