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

# Get holdings

`GET /globalstocks/holdings`

Retrieve holdings for the user.

## Headers

- `access-token` string, required

## Response `200`

Successful operation

- InxHoldingResponse[]
  - `dhanClientId` string — User specific identification generated by Dhan
  - `tradingSymbol` string — Trading symbol
  - `displayName` string — Display name of the security
  - `securityId` string — Exchange standard identification for each scrip
  - `exchange` string — Exchange where the security is listed
  - `quantity` number, float — Quantity held (fractional supported)
  - `avgCostPrice` number, float — Average cost price per share
  - `costValue` number, float — Total cost value
  - `currentValue` number, float — Current market value
  - `gainValue` number, float — Gain/Loss value
  - `ltp` number, float — Last traded price
  - `prevClose` number, float — Previous close price
  - `longTermFlag` string — Long term holding flag (S=Short term, N=Not applicable)
  - `lastUpdated` string — Last updated timestamp

---

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