Get OHLC
POST/marketfeed/ohlc
Retrieve the Open, High, Low and Close price along with LTP for specified list of instruments.
Authentication (required*)
| Field | Input | Description |
|---|---|---|
access-token*string | Your current active JWT access token | |
client-id*string | Your unique Dhan Client ID |
Request Parameters
Request Parameters (required*)
| Field | Input | Description |
|---|---|---|
NSE_EQint-array | List of NSE Equity security IDs as integers (comma-separated, e.g. 1333, 11536) | |
NSE_FNOint-array | List of NSE F&O security IDs as integers (comma-separated, e.g. 49081, 49082) | |
BSE_EQint-array | List of BSE Equity security IDs as integers (comma-separated) |
Response Parameters
| Field | Description |
|---|---|
| statusstring | API response status |
| dataobject | Response payload grouped by exchange segment |
| data. | Segment-wise payload grouped by security ID |
| data. | Last traded price for instrument |
| data. | OHLC values for instrument |
| data. | Open price |
| data. | High price |
| data. | Low price |
| data. | Close price |