Get Trade

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

Get the details of a single trade by trade id.

Path Parameters

  • accountIdstringRequired
    The ID of the account
  • tradeIdstringRequired
    The id of the trade to retrieve

200 Response

id string <uuid>required
orderId string <uuid>required
time string <date-time>required
The exchange trade date (when the trade occurred at the LP)
creationDate string <date-time>required
The date when the trade was created in our system
product string required
Product name e.g. BTC-USD
side string required
The side of the order
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
fundingType string 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](/docs/trade-overview) for more details on each funding type.
Allowed values: margin funded
Default: funded
settled boolean required

default Response

error string required
errorName string required
reqId string required