---
title: "Get Trades by clientOrder ID"
method: GET
path: "/v1/trades/client-order-id/{clientOrderId}"
tags: ["trades"]
---

# Get Trades by clientOrder ID

`GET /v1/trades/client-order-id/{clientOrderId}`

## Request

- Base URL: `https://api.exchange.bullish.com/trading-api`
- URL: `https://api.exchange.bullish.com/trading-api/v1/trades/client-order-id/{clientOrderId}`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/bullish/apis/bullish-trading-api/docs/v1/trades/client-order-id/:clientOrderId/get.ts> (a function with typed inputs; its response is checked against the schema)

Gets trade(s) associated with the clientOrderID, requires [bearer token](/rest/authentication#add-authenticated-request-header) in authorization header

**Ratelimited:** `True`

## Path parameters

- `clientOrderId` string, required: Unique numeric (i64) identifier generated on the client side expressed as a string value

## Query parameters

- `tradingAccountId` string, required: unique trading account ID

## Response `200`

OK

- Trade
  - `tradeId` string, required
  - `orderId` string, required
  - `clientOrderId` string, required: Unique numeric (i64) identifier generated on the client side expressed as a string value
  - `symbol` string, required: market symbol. E.g. `BTCUSDC`
  - `price` string, required: see [asset value](/rest/general/price-quantity-precision) format
  - `quantity` string, required: see [asset value](/rest/general/price-quantity-precision) format
  - `quoteAmount` string, required: see [asset value](/rest/general/price-quantity-precision) format
  - `baseFee` string, required: see [asset value](/rest/general/price-quantity-precision) format
  - `quoteFee` string, required: see [asset value](/rest/general/price-quantity-precision) format
  - `side` string, required: order side can have the following string values `"BUY"`, `"SELL"`
  - `isTaker` boolean, required
  - `tradeRebateAmount` string, required: see [asset value](/rest/general/price-quantity-precision) format
  - `tradeRebateAssetSymbol` string, required: asset symbol as denoted in the world
  - `otcMatchId` string, required: unique numeric (i64) identifier generated on Bullish side expressed as a string value
  - `otcTradeId` string, required: unique numeric (i64) identifier generated on Bullish side expressed as a string value
  - `clientOtcTradeId` string, required: unique numeric (i64) identifier generated on the client side expressed as a string value
  - `createdAtDatetime` string, date-time, required: ISO 8601 with millisecond as string
  - `createdAtTimestamp` string, string, required: unsigned 64 bit integer value which is the number of milliseconds since EPOCH expressed as string

## Other responses

- `401`: Not Authenticated
- `403`: Access Forbidden
- `404`: Resource Not Found
- `429`: Too Many Requests
- `500`: Internal Server Error

---

[API](https://skmtc.dev/bullish/apis/bullish-trading-api.md) - [All operations](https://skmtc.dev/bullish/apis/bullish-trading-api/llms.txt) - [OpenAPI document](https://skmtc.dev/bullish/apis/bullish-trading-api/revisions/df5d69ccedcf?raw)
