---
title: "Returns trades in account"
method: GET
path: "/accounts/{account}/trades"
tags: ["Trades"]
---

# Returns trades in account

`GET /accounts/{account}/trades`

## Request

- Base URL: `https://www.interactivebrokers.com/tradingapi/v1`
- URL: `https://www.interactivebrokers.com/tradingapi/v1/accounts/{account}/trades`
- Auth: API key in header `portal`

Returns a list of trades for the account starting at the given 'since' date to the current time (now()). Timezone is UTC. Any request with a future since date or going further than one week will result in an HTTP 400 bad request response. Calling /trades without since will return all trades for the past 24 hours.

## Request body

- string

## Response `200`

List of Trades

- object[]
  - `CustomerOrderId` number
  - `ContractId` number
  - `OrderId` string
  - `Ticker` string
  - `ListingExchange` string
  - `Currency` string
  - `Side` string
  - `OrderType` 1 | 2 | 3 | 4: Market = '1' Limit = '2' Stop = '3' StopLimit = '4'
  - `FilledQuantity` number
  - `RemainingQuantity` number
  - `Quantity` number
  - `TradePrice` number
  - `TradeSize` number
  - `AvgPrice` number
  - `ExecutionTime` string
  - `ExecId` string
  - `Commission` number
  - `CommissionCurrency` string
  - `LastMarket` string

## Other responses

- `202`: Unsuccessfull response
- `204`: Unsuccessfull response
- `400`: Unsuccessfull response
- `401`: Unsuccessfull response
- `403`: Unsuccessfull response
- `408`: Unsuccessfull response

---

[API](https://skmtc.dev/interactivebrokers/apis/ibkr-3rd-party-web-api.md) - [All operations](https://skmtc.dev/interactivebrokers/apis/ibkr-3rd-party-web-api/llms.txt) - [OpenAPI document](https://skmtc.dev/interactivebrokers/apis/ibkr-3rd-party-web-api/revisions/97f75703dba5?raw)
