---
title: "get current positions"
method: GET
path: "/positions"
tags: ["Positions & Portfolio"]
---

# get current positions

`GET /positions`

Users can retrieve a list of all open positions for the day. This includes all F&O carryforward positions as well.

## Headers

- `access-token` string, required

## Response `200`

Successful operation

- PositionResponse[]
  - `dhanClientId` string — User specific identification generated by Dhan
  - `tradingSymbol` string — Exchange standard trading symbol
  - `securityId` string — Exchange standard identification for each scrip
  - `positionType` 'LONG' | 'SHORT' | 'CLOSED' — | **Enum Values** | **Description** | |-----------------|-----------------------------------------------------| | LONG | When net bought quantity is more than sold quantity | | SHORT | When net sold quantity is more than bought quantity | | CLOSED | When no open position standing |
  - `exchangeSegment` 'NSE_EQ' | 'NSE_FNO' | 'BSE_EQ' | 'BSE_FNO' | 'MCX_COMM' — | **Enums** | **Exchange** | **Segment** | |--------------|--------------|-------------------| | NSE_EQ | NSE | Equity Cash | | NSE_FNO | NSE | Futures & Options | | BSE_EQ | BSE | Equity Cash | | BSE_FNO | BSE | Futures & Options | | MCX_COMM | MCX | Commodity |
  - `productType` 'CNC' | 'INTRADAY' | 'MARGIN' | 'MTF' | 'CO' | 'BO' — | **Enum Values** | **Description** | |-----------------|------------------------------------------------| | CNC | Cash & Carry for equity deliveries | | INTRADAY | Intraday for Equity, Futures & Options | | MARGIN | Carry Forward in Futures & Options | | CO | Cover Order; entry and stop loss | | BO | Bracket Order; entry, stop loss & target price | | MTF | Margin Traded Fund | **CO & BO product types will be valid only for Intraday**
  - `buyAvg` number, float — Average buy price
  - `costPrice` number, float — Cost price
  - `buyQty` integer — Total quantity bought
  - `sellAvg` number, float — Average sell price
  - `sellQty` integer — Total quantities sold
  - `netQty` integer — buyQty minus sellQty equals netQty
  - `realizedProfit` number, float — Profit or loss booked
  - `unrealizedProfit` number, float — Profit or loss standing for open position
  - `rbiReferenceRate` number, float — RBI mandated reference rate for forex
  - `multiplier` integer — Multiplying factor for currency F&O
  - `carryForwardBuyQty` integer — Carry forward F&O long quantities
  - `carryForwardSellQty` integer — Carry forward F&O short quantities
  - `carryForwardBuyValue` number, float — Carry forward F&O long value
  - `carryForwardSellValue` number, float — Carry forward F&O short value
  - `dayBuyQty` integer — Quantities bought today
  - `daySellQty` integer — Quantities sold today
  - `dayBuyValue` number, float — Value of quantities bought today
  - `daySellValue` number, float — Value of quantities sold today
  - `drvExpiryDate` string — For F&O, expiry date of contract
  - `drvOptionType` 'CALL' | 'PUT' | 'NA' — For Options, type CALL or PUT
  - `drvStrikePrice` number, float — For Options, Strike Price
  - `crossCurrency` boolean

---

[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)
