Market Data
| Method | API's |
|---|---|
| Post | {{BASE_URL}}/open-api/od/ChartAPIService/chart/get/multi/ohlc |
Request Structure
Input parameters
| Field | TYPE | Description |
|---|---|---|
| token | String | Get the tokens from Contract master files or API |
| exchange | String | Exchange segment. Part of contract master file. Right now, only NSE, NFO, CDS, and MCX are supported |
Response Structure
{
"status": "Ok",
"message": "Success",
"reason": null,
"result": [
{
"e": "NSE",
"ltp": 1350.9,
"poi": 0.0,
"ft": "10:57",
"volume": 115383.0,
"high": 1360.2,
"avg": "1349.03",
"low": 1332.0,
"tk": "22",
"oi": 0.0,
"close": 1340.9,
"open": 1350.9
}
]
}
Response Parameter
| Field | Type | Description |
|---|---|---|
| status | string | Status of the API response (e.g., Ok for a successful request). |
| message | string | Human-readable message indicating the result of the request. |
| reason | string | Reason for failure, if any; null when the request is successful. |
| e | string | Exchange code (e.g., NSE). |
| ltp | number | Last Traded Price of the instrument. |
| poi | number | Previous Open Interest (typically 0 for cash market instruments). |
| ft | string | Feed time or last update time in HH:mm format. |
| volume | number | Total traded volume for the current trading session. |
| high | number | Highest traded price during the current trading session. |
| avg | string | Average traded price for the current trading session. |
| low | number | Lowest traded price during the current trading session. |
| tk | string | Instrument token or unique identifier used by the API. |
| oi | number | Current Open Interest (typically 0 for cash market instruments). |
| close | number | Previous trading session's closing price. |
| open | number | Opening price for the current trading session. |