---
title: "Get Trade"
method: GET
path: "/api/prime/trading/v1/accounts/{accountId}/trades/{tradeId}"
tags: ["Orders"]
---

# Get Trade

`GET /api/prime/trading/v1/accounts/{accountId}/trades/{tradeId}`

## Request

- Base URL: `https://developers.bitgo.com`
- URL: `https://developers.bitgo.com/api/prime/trading/v1/accounts/{accountId}/trades/{tradeId}`
- Auth: none declared

Get the details of a single trade by trade id.

**Requires access token scope:** `trade_view`

## Path parameters

- `accountId` string, required
- `tradeId` string, required

## Response `200`

A trade

- PrimeTrade
  - `id` string, uuid, required
  - `orderId` string, uuid, required
  - `time` string, date-time, required: The date when the trade occurred
  - `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` 'buy' | 'sell', required: The side of the order
  - `price` string, decimal, required: Filled price, e.g. For BTC-USD product, 90000.00 USD
  - `quoteQuantity` string, decimal, required: Filled quote quantity, e.g. For BTC-USD product, 100.50 USD
  - `quantity` string, 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](/docs/trade-overview) for more details on each funding type.
  - `settled` boolean, required
  - `settleDate` string, date-time, nullable: The date when the trade was settled. Null if not yet settled.
  - `accountId` string, required: The ID of the account
  - `enterpriseId` string, required: The BitGo enterprise ID associated with this trade

## Other responses

- `400`: Bad request - Invalid trade ID
- `401`: Unauthorized - Invalid or missing authentication
- `403`: Forbidden - Insufficient permissions
- `404`: Not Found - Trade does not exist
- `500`: Internal Server Error

---

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