Content 2
F&O Content¶
Method | API | Detail |
---|---|---|
Post | optionChain/getOptionChain | |
Post | /restpy/get_strike_data | Get Marketing Response to show in banner |
GET | /indices | Fetch Index Details |
GET | /futuremonth | Fetch 5 Future Details |
GET | /futuresall | Get Multiple Future Details with titles |
Option Chain¶
Request Structure
Input parameters
Field | Type | Description |
---|---|---|
underlying | String | |
expiry | String | |
interval | String |
Response Structure
{
"result": {
"lotsize": "50",
"futToken": 57920,
"data": [
{
"CE": {
"ltp": "465.75",
"forInsName": "NIFTY 09NOV 18950 CE",
"gVal": "0.03218649026440223",
"oi": "29600",
"pdoi": "29600.0",
"pdc": "465.75",
"token": "42622"
},
"PE": {
"ltp": "2.8",
"forInsName": "NIFTY 09NOV 18950 PE",
"gVal": "3.8694696637038675",
"oi": "3533650",
"pdoi": "3533650",
"pdc": "2.8",
"token": "42623"
},
"strikeprice": "18950"
},
{
"CE": {
"ltp": "416.2",
"forInsName": "NIFTY 09NOV 19000 CE",
"gVal": "0.47029246754574205",
"oi": "432500",
"pdoi": "432500.0",
"pdc": "416.2",
"token": "42624"
},
"PE": {
"ltp": "3.25",
"forInsName": "NIFTY 09NOV 19000 PE",
"gVal": "7.260628133852672",
"oi": "6630500",
"pdoi": "6630500",
"pdc": "3.25",
"token": "42625"
},
"strikeprice": "19000"
}
{
"result": {
"lotsize": "50",
"futToken": 57920,
"data": [
{
"CE": {
"ltp": "465.75",
"forInsName": "NIFTY 09NOV 18950 CE",
"gVal": "0.03218649026440223",
"oi": "29600",
"pdoi": "29600.0",
"pdc": "465.75",
"token": "42622"
},
"PE": {
"ltp": "2.8",
"forInsName": "NIFTY 09NOV 18950 PE",
"gVal": "3.8694696637038675",
"oi": "3533650",
"pdoi": "3533650",
"pdc": "2.8",
"token": "42623"
},
"strikeprice": "18950"
},
{
"CE": {
"ltp": "416.2",
"forInsName": "NIFTY 09NOV 19000 CE",
"gVal": "0.47029246754574205",
"oi": "432500",
"pdoi": "432500.0",
"pdc": "416.2",
"token": "42624"
},
"PE": {
"ltp": "3.25",
"forInsName": "NIFTY 09NOV 19000 PE",
"gVal": "7.260628133852672",
"oi": "6630500",
"pdoi": "6630500",
"pdc": "3.25",
"token": "42625"
},
"strikeprice": "19000"
},
{
"CE": {
"ltp": "364.75",
"forInsName": "NIFTY 09NOV 19050 CE",
"gVal": "0.07579048552124446",
"oi": "69700",
"pdoi": "69700.0",
"pdc": "364.75",
"token": "42626"
},
"PE": {
"ltp": "3.8",
"forInsName": "NIFTY 09NOV 19050 PE",
"gVal": "2.371516831232144",
"oi": "2165700",
"pdoi": "2165700",
"pdc": "3.8",
"token": "42627"
},
"strikeprice": "19050"
},
{
"CE": {
"ltp": "317.45",
"forInsName": "NIFTY 09NOV 19100 CE",
"gVal": "0.8782779792755973",
"oi": "807700",
"pdoi": "807700.0",
"pdc": "317.45",
"token": "42631"
},
"PE": {
"ltp": "4.85",
"forInsName": "NIFTY 09NOV 19100 PE",
"gVal": "5.331943369181122",
"oi": "4869200",
"pdoi": "4869200",
"pdc": "4.85",
"token": "42636"
},
"strikeprice": "19100"
},
{
"CE": {
"ltp": "268.7",
"forInsName": "NIFTY 09NOV 19150 CE",
"gVal": "0.3404591250602817",
"oi": "313100",
"pdoi": "313100.0",
"pdc": "268.7",
"token": "42647"
},
"PE": {
"ltp": "6.4",
"forInsName": "NIFTY 09NOV 19150 PE",
"gVal": "3.295561933524818",
"oi": "3009550",
"pdoi": "3009550",
"pdc": "6.4",
"token": "42656"
},
"strikeprice": "19150"
},
{
"CE": {
"ltp": "222.8",
"forInsName": "NIFTY 09NOV 19200 CE",
"gVal": "1.8694805198335656",
"oi": "1719250",
"pdoi": "1719250.0",
"pdc": "222.8",
"token": "42665"
},
"PE": {
"ltp": "9.2",
"forInsName": "NIFTY 09NOV 19200 PE",
"gVal": "7.516264004126091",
"oi": "6863950",
"pdoi": "6863950",
"pdc": "9.2",
"token": "42667"
},
"strikeprice": "19200"
},
{
"CE": {
"ltp": "177.05",
"forInsName": "NIFTY 09NOV 19250 CE",
"gVal": "1.6235692099249652",
"oi": "1493100",
"pdoi": "1493100.0",
"pdc": "177.05",
"token": "42670"
},
"PE": {
"ltp": "13.45",
"forInsName": "NIFTY 09NOV 19250 PE",
"gVal": "4.99582244229988",
"oi": "4562250",
"pdoi": "4562250",
"pdc": "13.45",
"token": "42681"
},
"strikeprice": "19250"
},
{
"CE": {
"ltp": "135.35",
"forInsName": "NIFTY 09NOV 19300 CE",
"gVal": "4.24513709433197",
"oi": "3904000",
"pdoi": "3904000.0",
"pdc": "135.35",
"token": "42682"
},
"PE": {
"ltp": "21.45",
"forInsName": "NIFTY 09NOV 19300 PE",
"gVal": "8.462812071225443",
"oi": "7728350",
"pdoi": "7728350",
"pdc": "21.45",
"token": "42683"
},
"strikeprice": "19300"
},
{
"CE": {
"ltp": "98.0",
"forInsName": "NIFTY 09NOV 19350 CE",
"gVal": "2.417683866684862",
"oi": "2223400",
"pdoi": "2223400.0",
"pdc": "98.0",
"token": "42686"
},
"PE": {
"ltp": "34.0",
"forInsName": "NIFTY 09NOV 19350 PE",
"gVal": "6.791405729002982",
"oi": "6202000",
"pdoi": "6202000",
"pdc": "34.0",
"token": "42689"
},
"strikeprice": "19350"
},
{
"CE": {
"ltp": "67.05",
"forInsName": "NIFTY 09NOV 19400 CE",
"gVal": "7.214286452151683",
"oi": "6634550",
"pdoi": "6634550.0",
"pdc": "67.05",
"token": "42690"
},
"PE": {
"ltp": "53.05",
"forInsName": "NIFTY 09NOV 19400 PE",
"gVal": "7.200182213788022",
"oi": "6575300",
"pdoi": "6575300",
"pdc": "53.05",
"token": "42691"
},
"strikeprice": "19400"
},
{
"CE": {
"ltp": "43.4",
"forInsName": "NIFTY 09NOV 19450 CE",
"gVal": "6.949780919826824",
"oi": "6391300",
"pdoi": "6391300.0",
"pdc": "43.4",
"token": "42693"
},
"PE": {
"ltp": "79.2",
"forInsName": "NIFTY 09NOV 19450 PE",
"gVal": "1.739846016208705",
"oi": "1588850",
"pdoi": "1588850",
"pdc": "79.2",
"token": "42703"
},
"strikeprice": "19450"
},
{
"CE": {
"ltp": "26.5",
"forInsName": "NIFTY 09NOV 19500 CE",
"gVal": "8.816597355162154",
"oi": "8108100",
"pdoi": "8108100.0",
"pdc": "26.5",
"token": "42705"
},
"PE": {
"ltp": "113.0",
"forInsName": "NIFTY 09NOV 19500 PE",
"gVal": "1.8272845436935303",
"oi": "1668700",
"pdoi": "1668700",
"pdc": "113.0",
"token": "42706"
},
"strikeprice": "19500"
},
{
"CE": {
"ltp": "14.95",
"forInsName": "NIFTY 09NOV 19550 CE",
"gVal": "4.461471629403011",
"oi": "4102950",
"pdoi": "4102950.0",
"pdc": "14.95",
"token": "42707"
},
"PE": {
"ltp": "151.8",
"forInsName": "NIFTY 09NOV 19550 PE",
"gVal": "0.24052439025725653",
"oi": "219650",
"pdoi": "219650",
"pdc": "151.8",
"token": "42723"
},
"strikeprice": "19550"
},
{
"CE": {
"ltp": "8.15",
"forInsName": "NIFTY 09NOV 19600 CE",
"gVal": "7.936742672816171",
"oi": "7298950",
"pdoi": "7298950.0",
"pdc": "8.15",
"token": "42724"
},
"PE": {
"ltp": "195.0",
"forInsName": "NIFTY 09NOV 19600 PE",
"gVal": "0.3547912699446898",
"oi": "324000",
"pdoi": "324000",
"pdc": "195.0",
"token": "42730"
},
"strikeprice": "19600"
},
{
"CE": {
"ltp": "4.65",
"forInsName": "NIFTY 09NOV 19650 CE",
"gVal": "4.955034059504774",
"oi": "4556850",
"pdoi": "4556850.0",
"pdc": "4.65",
"token": "42731"
},
"PE": {
"ltp": "242.2",
"forInsName": "NIFTY 09NOV 19650 PE",
"gVal": "0.057763084844390085",
"oi": "52750",
"pdoi": "52750",
"pdc": "242.2",
"token": "42732"
},
"strikeprice": "19650"
},
{
"CE": {
"ltp": "2.85",
"forInsName": "NIFTY 09NOV 19700 CE",
"gVal": "6.174314854554579",
"oi": "5678150",
"pdoi": "5678150.0",
"pdc": "2.85",
"token": "42734"
},
"PE": {
"ltp": "289.0",
"forInsName": "NIFTY 09NOV 19700 PE",
"gVal": "0.2054832771762995",
"oi": "187650",
"pdoi": "187650",
"pdc": "289.0",
"token": "42735"
},
"strikeprice": "19700"
},
{
"CE": {
"ltp": "1.9",
"forInsName": "NIFTY 09NOV 19750 CE",
"gVal": "2.21423480153386",
"oi": "2036300",
"pdoi": "2036300.0",
"pdc": "1.9",
"token": "42736"
},
"PE": {
"ltp": "337.3",
"forInsName": "NIFTY 09NOV 19750 PE",
"gVal": "0.04221359091471541",
"oi": "38550",
"pdoi": "38550",
"pdc": "337.3",
"token": "42741"
},
"strikeprice": "19750"
},
{
"CE": {
"ltp": "1.45",
"forInsName": "NIFTY 09NOV 19800 CE",
"gVal": "3.9637227808040207",
"oi": "3645200",
"pdoi": "3645200.0",
"pdc": "1.45",
"token": "42748"
},
"PE": {
"ltp": "386.35",
"forInsName": "NIFTY 09NOV 19800 PE",
"gVal": "0.09324221183885906",
"oi": "85150",
"pdoi": "85150",
"pdc": "386.35",
"token": "42753"
},
"strikeprice": "19800"
},
{
"CE": {
"ltp": "1.3",
"forInsName": "NIFTY 09NOV 19850 CE",
"gVal": "5.507913146495832",
"oi": "5065300",
"pdoi": "5065300.0",
"pdc": "1.3",
"token": "42755"
},
"PE": {
"ltp": "435.7",
"forInsName": "NIFTY 09NOV 19850 PE",
"gVal": "0.015932756103997643",
"oi": "14550",
"pdoi": "14550",
"pdc": "435.7",
"token": "42756"
},
"strikeprice": "19850"
},
{
"CE": {
"ltp": "1.1",
"forInsName": "NIFTY 09NOV 19900 CE",
"gVal": "3.5357294508016994",
"oi": "3251600",
"pdoi": "3251600.0",
"pdc": "1.1",
"token": "42759"
},
"PE": {
"ltp": "483.85",
"forInsName": "NIFTY 09NOV 19900 PE",
"gVal": "0.0844819335686198",
"oi": "77150",
"pdoi": "77150",
"pdc": "483.85",
"token": "42760"
},
"strikeprice": "19900"
},
{
"CE": {
"ltp": "0.9",
"forInsName": "NIFTY 09NOV 19950 CE",
"gVal": "2.2245105560270564",
"oi": "2045750",
"pdoi": "2045750.0",
"pdc": "0.9",
"token": "42761"
},
"PE": {
"ltp": "537.15",
"forInsName": "NIFTY 09NOV 19950 PE",
"gVal": "0.0027923386986387624",
"oi": "2550",
"pdoi": "2550",
"pdc": "537.15",
"token": "42779"
},
"strikeprice": "19950"
}
],
"futLTP": "19443.50",
"exchange": "nse_fo",
"spotLTP": "",
"spotToken": 26000,
"pcr": "0.9930108558724849",
"ticksize": "0.0"
},
"stat": "Ok"
}
Field | Type | description |
---|---|---|
ltp | String | Last available NAV price of the fund |
forInsName | String | |
gVal | String | |
oi | String | The Open Interest for a futures or options contract ? |
pdoi | String | |
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 |
futLTP | String | |
exchange | String | |
spotLTP | String | |
spotToken | String | |
pcr | String | |
ticksize | String |
FNO Screeners¶
Indices¶
Response Structure
[
{
"newsId": 1230,
"date": "2023-11-07 00:00:00",
"newsType": "Indian markets",
"headLine": "IPO",
"description": "https://aliceblueonline.com/ipo/ask-automotive-limited-ipo/",
"industry": "Tech",
"source": "Alice Blue",
"subject": "ASK Automotive Limited IPO Fundamental Analysis",
"scripName": null,
"exch": "",
"token": "10576",
"stockName": "NIFTYBEES-EQ",
"companyName": "NIP IND ETF NIFTY BEES",
"imageUrl": "http://amoga.tech/Images/Default.png"
},
{
"newsId": 1229,
"date": "2023-11-06 00:00:00",
"newsType": "Indian markets",
"headLine": "Banking Stocks",
"description": "https://aliceblueonline.com/antiq/opportunity/best-banking-stocks-in-india/",
"industry": "Tech",
"source": "News",
"subject": "Best Banking Stocks in India",
"scripName": null,
"exch": "",
"token": "10576",
"stockName": "NIFTYBEES-EQ",
"companyName": "NIP IND ETF NIFTY BEES",
"imageUrl": "http://amoga.tech/Images/Default.png"
}
],
"message": "Success"
}
parameters
Field | Type | description |
---|---|---|
newsId | String | |
date | String | |
newsType | String | |
headLine | String | |
description | String | |
industry | String | |
source | String | |
subject | String | |
scripName | String | |
exch | String | |
token | String | |
stockName | String | |
companyName | String | |
imageUrl | String |
Futures¶
Response Structure
{
"status": "Ok",
"message": "Success",
"result": [
{
"scripName": "NIFTY NOV FUT",
"sortOrder": null,
"exchange": "NFO",
"expiry": "2023-11-30",
"pdc": "19486.5",
"token": "57920",
"symbol": "NIFTY"
},
{
"scripName": "BANKNIFTY NOV FUT",
"sortOrder": null,
"exchange": "NFO",
"expiry": "2023-11-30",
"pdc": "43839.8",
"token": "57919",
"symbol": "BANKNIFTY"
},
{
"scripName": "FINNIFTY NOV FUT",
"sortOrder": null,
"exchange": "NFO",
"expiry": "2023-11-28",
"pdc": "19633.0",
"token": "35096",
"symbol": "FINNIFTY"
},
{
"scripName": "CRUDEOIL NOV FUT",
"sortOrder": null,
"exchange": "MCX",
"expiry": "2023-11-17",
"pdc": "6826.0",
"token": "257264",
"symbol": "CRUDEOIL"
},
{
"scripName": "GOLD DEC FUT",
"sortOrder": null,
"exchange": "MCX",
"expiry": "2023-12-05",
"pdc": "60770.0",
"token": "250883",
"symbol": "GOLD"
},
{
"scripName": "USDINR 10th NOV FUT",
"sortOrder": null,
"exchange": "CDS",
"expiry": "2023-11-10",
"pdc": "83.2125",
"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 |
Detailed Future¶
Request Structure
Input parameters
Field | Type | Description |
---|---|---|
userId | String |
Response Structure
{
"status": "SUCCESS",
"message": null,
"result": [
{
"listId": 1,
"listName": "NIFTY FUTURES",
"scrips": [
{
"scripName": "NIFTY22NOVFUT",
"sortOrder": 0,
"exchange": "NFO",
"expiry": "2022-11-24",
"token": "53395",
"pdc": "17688.65",
"symbol": "NIFTY22NOVFUT"
},
{
"scripName": "BANKNIFTYNOVFUT",
"sortOrder": 0,
"exchange": "NFO",
"expiry": "2022-11-24",
"token": "53394",
"pdc": "17688.65",
"symbol": "NIFTY22NOVFUT"
}
]
},
{
"listId": 2,
"listName": "BANK NIFTY FUTURES",
"scrips": [
{
"scripName": "BANKNIFTYNOVFUT",
"sortOrder": 1,
"exchange": "NFO",
"expiry": "2022-11-24",
"token": "53394",
"pdc": "17688.65",
"symbol": "NIFTY22NOVFUT"
},
{
"scripName": "NIFTY22NOVFUT",
"sortOrder": 0,
"exchange": "NFO",
"expiry": "2022-11-24",
"token": "32456",
"pdc": "17688.65",
"symbol": "NIFTY22NOVFUT"
}
]
}
]
}
parameters
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) |
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 |
pdc | String | Previce Day Close Value |
symbol | String | Exchange symbol of the of the instrument |
Mobile DashBoard¶
Method | API | Detail |
---|---|---|
GET | dashboard/investment | Get investing dashboard |
GET | dashboard/trading | Get trading dashboard |
Investing¶
Request Structure
No Body
Response Structure
{
"status": "Ok",
"message": "Success",
"preferences": {
"mCard": "M",
"indices": "T",
"scanners": "T",
"cards": "F",
"topSector": "T",
"funds": "T",
"holdings": "T"
},
"indicesData": [
{
"scripName": "NIFTY 50",
"sortOrder": 0,
"exchange": "NSE",
"expiry": null,
"token": "26000",
"pdc": "0",
"symbol": "NIFTY 50 INDEX"
}
],
"topSectorData": [
{
"sectorName": "BANKING",
"imageUrl": "https://image-utl",
"threeMonths": "+10.46% ",
"sixMonths": "+10.46% ",
"oneYear": "+10.46% "
}
],
"mcardData": [
{
"title": "Social Strategy",
"subTitle": "Balanced diversified portfolios",
"imageUrl": "https://image-utl",
"cardValue": "+10.46%",
"buttonName": "Know More",
"buttonUrl": "https://know_more",
"inApp": "true",
"cardColor": "FFF8E5",
"buttonColor": "FFF8E5"
}
]
}
Field | Type | description |
---|---|---|
preferences | String | Equity Cash |
indicesData | List | Futures & Options |
topSectorData | List | Currency |
mcardData | List | Cash |
Trading¶
Request Structure
No Body
Response Structure
{
"status": "Ok",
"message": "Success",
"preference": [
{
"key": "positions",
"show": "T",
"isEnabled": "T",
"sortOrder": "1"
}
],
"futuresData": [],
"fnoScannersData": [],
"heatMapData": [
{
"sectorId": 1,
"sectorName": "METAL",
"oneDay": "+10.46"
}
]
}
parameters
Field | Type | description |
---|---|---|
preferences | String | Equity Cash |
futuresData | String | Futures & Options |
fnoScannersData | String | Currency |
heatMapData | String | Cash |
Charts¶
Intraday Charts¶
Response Structure
{
"ticker": "2885",
"minmov2": 0,
"timezone": "Asia/Kolkata",
"session": "0915-1530",
"has_intraday": true,
"description": "RELIANCE-EQ",
"supported_resolutions": [
"1",
"2",
"3",
"4",
"5",
"10",
"15",
"30",
"45",
"60",
"75",
"120",
"125",
"180",
"240",
"D",
"1W",
"1M",
"3M",
"6M",
"12M"
],
"type": "0",
"tickSize": "0.05",
"exchange-listed": "NSE",
"pointvalue": 1,
"corrections": "1800-1930:20221024",
"request_exchange": "NSE",
"name": "RELIANCE",
"exchange-traded": "NSE",
"minmov": 1,
"pricescale": 100,
"session_holidays": "20220126,20220301,20220318,20220414,20220415,20220503,20220809,20220815,20220831,20221005,20221024,20221026,20221108,20230126,20230307",
"visible_plots_set": "ohlcv",
"has_no_volume": false
}
History¶
Response Structure
Corporate Action¶
Marketing¶
Method | API | Detail |
---|---|---|
GET | /marketing | Get Marketing Response to show in banner |
Request Structure
Input parameters
Field | Type | Description |
---|---|---|
userId | String |
Response Structure
{
"stat": "ok",
"message": "if(stat is ok) ? return 'success' : 'fail message'",
"result": [
{
"title": "Social Strategy",
"subTitle": "Balanced diversified portfolios",
"imageUrl": "https://image-utl",
"cardValue": "+10.46%",
"buttonName": "Know More",
"buttonUrl": "https://know_more",
"inApp": true, // if(true) open in app via webview else open in Browser
"cardColor": "FFF8E5"
"buttonColor": "FFF8E5"
},
{
"title": "Social Strategy",
"subTitle": "Balanced diversified portfolios",
"imageUrl": "https://image-utl",
"cardValue": "+10.46%",
"buttonName": "Know More",
"buttonUrl": "https://know_more",
"inApp": true, // if(true) open in app via webview else open in Browser
"cardColor": "FFF8E5"
"buttonColor": "FFF8E5"
},
{
"title": "Social Strategy",
"subTitle": "Balanced diversified portfolios",
"imageUrl": "https://image-utl",
"cardValue": "+10.46%",
"buttonName": "Know More",
"buttonUrl": "https://know_more",
"inApp": true, // if(true) open in app via webview else open in Browser
"cardColor": "FFF8E5"
"buttonColor": "FFF8E5"
}
]
}
parameters
Field | Type | description |
---|---|---|
title | String | Equity Cash |
subTitle | String | Futures & Options |
imageUrl | String | Currency |
cardValue | String | Cash |
buttonName | String | |
buttonUrl | String | |
inApp | String | |
cardColor | String | |
buttonColor | String |