latestOpenAPI 3.0.32026-08-224982,0272.8 MB

e445c15e5bee

Orders

Get Trade

Get the details of a single trade by trade id.

Requires access token scope: trade_view

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

Path parameters

accountIdstring required

The ID of the account

tradeIdstring required

The id of the trade to retrieve

Response

A trade

idstring uuid required
orderIdstring uuid required
timestring date-time required

The date when the trade occurred

creationDatestring date-time required

The date when the trade was created in our system

productstring required

Product name e.g. BTC-USD

side'buy' | 'sell' required

The side of the order

pricestring decimal required

Filled price, e.g. For BTC-USD product, 90000.00 USD

quoteQuantitystring decimal required

Filled quote quantity, e.g. For BTC-USD product, 100.50 USD

quantitystring decimal required

Filled base quantity, e.g. For BTC-USD product, 0.0045 BTC

fundingType'margin' | 'funded' required

The funding type of the order.

  • Funded orders will be placed using the Go account balance.
  • Margin orders will be placed using the margin account balances. See our Trade Guide for more details on each funding type.
settledboolean required
settleDatestring date-time nullable

The date when the trade was settled. Null if not yet settled.

accountIdstring required

The ID of the account

enterpriseIdstring required

The BitGo enterprise ID associated with this trade

Example response

{
  "id": "7e0c768e-2d16-4c1e-b39d-06fa20009397",
  "orderId": "d50ec984-77a8-460a-b958-66f114b0de9b",
  "time": "2025-11-26T15:27:35.1234Z",
  "creationDate": "2025-11-26T15:27:41.5318Z",
  "side": "buy",
  "product": "BTC-USD",
  "quoteQuantity": "100.50",
  "price": "22333.33",
  "quantity": "0.0045",
  "fundingType": "funded",
  "settled": true,
  "settleDate": "2025-11-27T10:00:00.0000Z",
  "accountId": "66fdc289c4f722d994fedj8021f5ffb1",
  "enterpriseId": "59cd72485007a239fb00282ed480da1f"
}