---
title: "Get past trades"
method: GET
path: "/globalstocks/trades"
tags: ["Global Stocks"]
---

# Get past trades

`GET /globalstocks/trades`

Retrieve past trades.

## Headers

- `access-token` string, required

## Response `200`

Successful operation

- InxTradeResponse[]
  - `dhanClientId` string — User specific identification generated by Dhan
  - `orderId` string — Order specific identification generated by Dhan
  - `exchangeOrderId` string — Order specific identification generated by Exchange
  - `transactionType` string — Signifies the type of transaction whether it's BUY or SELL
  - `exchangeSegment` string — Exchange segment
  - `productType` string — Product type
  - `orderType` string — Order type
  - `tradingSymbol` string — Exchange standard trading symbol
  - `securityId` string — Exchange standard identification for each scrip
  - `tradedQuantity` number, float — Number of shares traded (fractional supported)
  - `tradedPrice` number, float — Price at which trade executed
  - `tradeDate` string — Trade date
  - `createTime` string — Record create date time
  - `exchangeTime` string — Time at which order reached at exchange end
  - `orderStatus` string — Trade status
  - `brokerage` number, float — Brokerage charges
  - `otherCharges` number, float — Other fees
  - `tradeValue` number, float — Average trade value

---

[API](https://skmtc.dev/dhan/apis/dhanhq-api.md) · [All operations](https://skmtc.dev/dhan/apis/dhanhq-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/dhan/dhanhq-api/revisions/2d368b9ed32d/schema)
