Indices & Chart
F&O Content¶
Method | API | Detail |
---|---|---|
GET | /indices | Fetch Index Details |
GET | /futuremonth | Fetch 5 Future Details |
GET | /futuresall | Get Multiple Future Details with titles |
Indices¶
Response Structure
{
"status": "Ok",
"message": "Success",
"result": [
{
"token": "26000",
"symbol": "NIFTY 50",
"tradingSymbol": null,
"formattedInsName": "NIFTY 50",
"exchange": "NSE",
"expiry": null,
"pdc": "19406.7",
"sortOrder": 0
},
{
"token": "26009",
"symbol": "NIFTY BANK",
"tradingSymbol": null,
"formattedInsName": "NIFTY BANK",
"exchange": "NSE",
"expiry": null,
"pdc": "43737.9",
"sortOrder": 0
},
{
"token": "26017",
"symbol": "INDIA VIX",
"tradingSymbol": null,
"formattedInsName": "INDIA VIX",
"exchange": "NSE",
"expiry": null,
"pdc": "11.19",
"sortOrder": 0
},
{
"token": "26037",
"symbol": "NIFTY FIN SERVICE",
"tradingSymbol": null,
"formattedInsName": "NIFTY FIN SERVICE",
"exchange": "NSE",
"expiry": null,
"pdc": "19560.6",
"sortOrder": 0
}
]
}
parameters
Field | Type | Description |
---|---|---|
token | String | Identifier for the instrument |
symbol | String | Exchange symbol of the of the instrument |
tradingSymbol | String | Trading-specific symbol |
formattedInsName | String | Formatted name |
exchange | String | Exchange where the instrument is listed |
expiry | String | Expiration date |
pdc | String | Previous Day Close Value |
sortOrder | String | Sorting sequence number |
Futures¶
Response Structure
{
"status": "Ok",
"message": "Success",
"result": [
{
"scripName": "NIFTY NOV FUT",
"sortOrder": null,
"exchange": "NFO",
"expiry": "2023-11-30",
"pdc": "19476.9",
"token": "57920",
"symbol": "NIFTY"
},
{
"scripName": "BANKNIFTY NOV FUT",
"sortOrder": null,
"exchange": "NFO",
"expiry": "2023-11-30",
"pdc": "43926.85",
"token": "57919",
"symbol": "BANKNIFTY"
},
{
"scripName": "FINNIFTY NOV FUT",
"sortOrder": null,
"exchange": "NFO",
"expiry": "2023-11-28",
"pdc": "19636.65",
"token": "35096",
"symbol": "FINNIFTY"
},
{
"scripName": "CRUDEOIL NOV FUT",
"sortOrder": null,
"exchange": "MCX",
"expiry": "2023-11-17",
"pdc": "6507.0",
"token": "257264",
"symbol": "CRUDEOIL"
},
{
"scripName": "GOLD DEC FUT",
"sortOrder": null,
"exchange": "MCX",
"expiry": "2023-12-05",
"pdc": "60347.0",
"token": "250883",
"symbol": "GOLD"
},
{
"scripName": "USDINR 10th NOV FUT",
"sortOrder": null,
"exchange": "CDS",
"expiry": "2023-11-10",
"pdc": "83.27",
"token": "2963",
"symbol": "USDINR"
}
]
}
Field | Type | description |
---|---|---|
scripName | String | The Name of script |
sortOrder | Int | order of script in list |
exchange | String | Name of the exchange (NSE, BSE, NFO, CDS, BCD, MCX) |
expiry | String | Expiry date (for derivatives) |
pdc | String | Previce Day Close Value |
token | String | Token of the scrip. Token Number is a unique code given to all companies listed on the exchange. Selected Instrument token number will be displayed under scrip details |
symbol | String | Exchange symbol of the of the instrument |
Chart¶
1 Min Charts¶
Response Structure
{
"c": [
19425.75,
19422.0,
19414.65,
19416.1,
19414.7
],
"s": "ok",
"t": [
1699415159,
1699415219,
1699415279,
1699415339,
1699415399
],
"v": [
0.0,
0.0,
0.0,
0.0,
0.0,
],
"h": [
19455.7,
19427.3,
19422.25,
19418.6,
19417.1
],
"l": [
19417.15,
19421.7,
19414.2,
19409.95,
19412.1
],
"iv": 0.0,
"o": [
19449.6,
19427.3,
19422.25,
19414.5,
19416.15
]
}
5 Min chart¶
Response Structure
{
"c": [
19074.75,
19082.15,
19070.65,
19088.45,
19083.95
],
"s": "ok",
"t": [
1698810300,
1698810600,
1698810900,
1698811200,
1698811500
],
"v": [
0.0,
0.0,
0.0,
0.0,
0.0
],
"h": [
19086.55,
19092.35,
19083.2,
19096.05,
19092.2
],
"l": [
19032.6,
19067.25,
19063.15,
19065.8,
19079.2
]
}
Day chart¶
Response Structure
{
"c": [
18178.1,
18114.9,
18125.4,
18268.4,
18210.95,
17857.25
],
"s": "ok",
"t": [
1634774400,
1634860800,
1635120000,
1635206400,
1635292800
],
"v": [
0.0,
0.0,
0.0,
0.0,
0.0
],
"h": [
18384.2,
18314.25,
18241.4,
18310.45,
18342.05
],
"l": [
18048.0,
18034.35,
17968.5,
18099.3,
18167.9
],
"iv": 0.0,
"o": [
18382.7,
18230.7,
18229.5,
18154.5,
18295.85
]
}
parameters
Field | Type | Description |
---|---|---|
c | List | Closing prices |
s | String | Status indicator |
t | List | Timestamps |
v | List | Volumes |
h | List | High values |
l | List | Low values |
iv | Float | Initial value |
o | List | Opening prices |