---
title: "technical data"
method: POST
path: "/data/technical"
tags: ["Data API's"]
---

# technical data

`POST /data/technical`

Fetch technical indicator values for an instrument. Pass the indicators you need - only those are computed and returned. All values are point-in-time as of the latest closed candle for the requested timeframe.

## Headers

- `access-token` string, required

## Request body

- TechnicalMetricsRequest
  - `securityId` string, required — Exchange standard ID for each security For eg. "1333"
  - `exchangeSegment` 'NSE_EQ' | 'IDX_I', required — | **Enums** | **Exchange** | **Segment** | |--------------|--------------|-------------------| | NSE_EQ | NSE | Equity Cash | | IDX_I | INDEX | Indices |
  - `instrument` 'INDEX' | 'EQUITY', required — | **Enums** | **Description** | |-----------|-------------------------| | INDEX | Index | | EQUITY | Equity |
  - `timeframe` '1' | '5' | '15' | 'D', required — Candle size used to compute all indicators in this request. **Note** : For intraday timeframes (1, 5, 15), indicators use candles from the current trading session only. | **Value** | **Type** | **Description** | |-----------|-----------|------------------------------------------------------------| | 1 | Intraday | 1-minute candles | | 5 | Intraday | 5-minute candles | | 15 | Intraday | 15-minute candles | | D | Daily | End-of-day daily candles. Default for positional analysis. |
  - `indicators` string[], required — Array of indicator identifiers to fetch. Only the indicators passed here are computed and returned. For eg. [ "SMA_20", "RSI_14", "MACD_HIST" ] **Moving Averages** | **Identifier** | **Description** | |-----------------|----------------------------------------| | SMA_5 | Simple Moving Average — 5-period | | SMA_10 | Simple Moving Average — 10-period | | SMA_20 | Simple Moving Average — 20-period | | SMA_50 | Simple Moving Average — 50-period | | SMA_100 | Simple Moving Average — 100-period | | SMA_200 | Simple Moving Average — 200-period | | EMA_5 | Exponential Moving Average — 5-period | | EMA_10 | Exponential Moving Average — 10-period | | EMA_20 | Exponential Moving Average — 20-period | | EMA_50 | Exponential Moving Average — 50-period | | EMA_100 | Exponential Moving Average — 100-period| | EMA_200 | Exponential Moving Average — 200-period| **Momentum / Oscillators** | **Identifier** | **Description** | **Fixed Parameters** | |-----------------|-------------------------------------------------------------|-------------------------------| | RSI_14 | Relative Strength Index | Period: 14 | | MACD_HIST | MACD histogram (MACD line minus Signal line) | Fast: 12 / Slow: 26 / Signal: 9| | STOCH | Stochastic Oscillator | K: 9 / D: 6 | | STOCHRSI_14 | Stochastic RSI | Period: 14 | | ATR_14 | Average True Range | Period: 14 | | ADX_14 | Average Directional Index — trend strength, not direction | Period: 14 | | UO | Ultimate Oscillator | Periods: 7 / 14 / 28 | | ROC | Rate of Change | Period: 12 | | WILLR | Williams %R | Period: 14 | **Pivot Points** **Note** : Pivot levels always use the previous session's OHLC regardless of the timeframe in the request. | **Identifier** | **Description** | |------------------|-------------------------------------------------------------------------------------------------------| | PIVOT_CLASSIC | Standard floor pivot. Levels computed from previous session OHLC. | | PIVOT_FIBONACCI | Fibonacci ratios applied to the pivot range. | | PIVOT_CAMARILLA | Tighter intraday levels derived from close and previous range. |

## Response `200`

Successful operation

- TechnicalMetricsResponse
  - `securityId` string — Echoed from request
  - `timeframe` string — Echoed from request
  - `data` object — | **Parameters** | **Data Type** | **Description** | **Sample value** | |-----------------|----------------|-------------------|--------------------| | data | Object | Keyed by indicator type. Only requested indicators are present. | { "SMA": [...], "RSI": {...} } | Note : SMA and EMA return an array of objects (one per requested period). All other indicators return a single object. PIVOT returns an object keyed by method name (Classic, Fibonacci, Camarilla). Note : action labels per indicator — SMA/EMA: Bullish / Bearish. RSI/STOCH/STOCHRSI/WILLR: Overbought / Oversold / Neutral. MACD: Bullish / Bearish. ATR: More Volatile / Less Volatile. ADX: Strong Trend / Weak Trend. UO: Bullish / Bearish. ROC: Uptrend And Accelerating / Decelerating / Downtrend And Accelerating / Decelerating.

---

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