Utility API's
Apart from the API's which allows the user to place trades on the Exchange via TIQS, we also feel that there are always a good amount of utility API's which the user needs. Here are a list of all the API's which we provide for now.
Type | Endpoint | Description |
---|---|---|
GET | /info/holidays | Get the list of the holidays for the current year |
GET | /info/index-list | Get the list of the indexes listed on the Exchange |
GET | /info/option-chain-symbols | Get the list of Option Chain Symbols with Expiries |
POST | /info/option-chain | Get the Option chain for an Index of a particular expiry |
POST | /info/greeks | Get the greeks values for Multiple Tokens at once |
Holidays List
Sample Request
curl --location 'https://api.tiqs.trading/info/holidays' \
--header 'appId: <YOUR_APP_ID>' \
--header 'token: <YOUR_TOKEN>'
Sample Response
{
"data": {
"holidays": {
"01-05-2024": "Maharashtra Day",
"01-11-2024": "Diwali Laxmi Pujan*",
"02-10-2024": "Mahatma Gandhi Jayanti",
"08-03-2024": "Mahashivratri",
"11-04-2024": "Id-Ul-Fitr (Ramadan Eid)",
"15-08-2024": "Independence Day",
"15-11-2024": "Gurunanak Jayanti",
"17-04-2024": "Shri Ram Navmi",
"17-06-2024": "Bakri Id",
"17-07-2024": "Moharram",
"22-01-2024": "Exchange Holiday",
"25-03-2024": "Holi",
"25-12-2024": "Christmas",
"26-01-2024": "Republic Day",
"29-03-2024": "Good Friday"
},
"specialTradingDays": {
"20-01-2024": [
"09:00-15:30"
]
}
},
"status": "success"
}
Index List
Sample Request
curl --location 'https://api.tiqs.trading/info/index-list' \
--header 'appId: <YOUR_APP_ID>' \
--header 'token: <YOUR_TOKEN>'
Sample Response
{
"data": [
{
"name": "nifty pvt bank",
"token": "26047"
},
{
"name": "nifty it",
"token": "26008"
},
{
"name": "nifty bank",
"token": "26009"
},
{
"name": "nifty 50",
"token": "26000"
},
...more
],
"status": "success"
}
Option Chain Symbols
Sample Request
curl --location 'https://api.tiqs.trading/info/option-chain-symbols' \
--header 'appId: <YOUR_APP_ID>' \
--header 'token: <YOUR_TOKEN>' \
--data ''
Sample Response
{
"data": {
"BANKNIFTY": [
"08-MAY-2024",
"15-MAY-2024",
"22-MAY-2024",
"29-MAY-2024",
"05-JUN-2024",
"26-JUN-2024",
"31-JUL-2024",
"25-SEP-2024",
"24-DEC-2024",
"26-MAR-2025"
],
"FINNIFTY": [
"07-MAY-2024",
"14-MAY-2024",
"21-MAY-2024",
"28-MAY-2024",
"04-JUN-2024",
"25-JUN-2024",
"30-JUL-2024"
],
"MIDCPNIFTY": [
"13-MAY-2024",
"17-MAY-2024",
"27-MAY-2024",
"03-JUN-2024",
"10-JUN-2024",
"24-JUN-2024",
"29-JUL-2024"
],
"NIFTY": [
"09-MAY-2024",
"16-MAY-2024",
"23-MAY-2024",
"30-MAY-2024",
"06-JUN-2024",
"27-JUN-2024",
"25-JUL-2024",
"26-SEP-2024",
"26-DEC-2024",
"27-MAR-2025",
"26-JUN-2025",
"24-DEC-2025",
"25-JUN-2026",
"31-DEC-2026",
"24-JUN-2027",
"30-DEC-2027",
"29-JUN-2028",
"28-DEC-2028"
],
"nifty next 50": [
"31-MAY-2024",
"28-JUN-2024",
"26-JUL-2024"
]
},
"status": "success"
}
Option Chain
Sample Request
curl --location 'https://api.tiqs.trading/info/option-chain' \
--header 'appId: <YOUR_APP_ID>' \
--header 'token: <YOUR_TOKEN>' \
--header 'Content-Type: application/json' \
--data '{
"token": "26009",
"exchange": "INDEX",
"count": "10",
"expiry": "03-APR-2024"
}'
Sample Response
{
"data": [
{
"exchange": "NFO",
"symbol": "BANKNIFTY28MAR24C45100",
"token": "66652",
"optionType": "CE",
"strikePrice": "45100.00",
"pricePrecision": "2",
"tickSize": "0.05",
"lotSize": "15"
},
{
"exchange": "NFO",
"symbol": "BANKNIFTY28MAR24C45200",
"token": "66654",
"optionType": "CE",
"strikePrice": "45200.00",
"pricePrecision": "2",
"tickSize": "0.05",
"lotSize": "15"
},
{
"exchange": "NFO",
"symbol": "BANKNIFTY28MAR24C45300",
"token": "66656",
"optionType": "CE",
"strikePrice": "45300.00",
"pricePrecision": "2",
"tickSize": "0.05",
"lotSize": "15"
},
{
"exchange": "NFO",
"symbol": "BANKNIFTY28MAR24C45400",
"token": "66658",
"optionType": "CE",
"strikePrice": "45400.00",
"pricePrecision": "2",
"tickSize": "0.05",
"lotSize": "15"
},
{
"exchange": "NFO",
"symbol": "BANKNIFTY28MAR24C45500",
"token": "66660",
"optionType": "CE",
"strikePrice": "45500.00",
"pricePrecision": "2",
"tickSize": "0.05",
"lotSize": "15"
},
{
"exchange": "NFO",
"symbol": "BANKNIFTY28MAR24C45000",
"token": "52219",
"optionType": "CE",
"strikePrice": "45000.00",
"pricePrecision": "2",
"tickSize": "0.05",
"lotSize": "15"
},
{
"exchange": "NFO",
"symbol": "BANKNIFTY28MAR24C44900",
"token": "66650",
"optionType": "CE",
"strikePrice": "44900.00",
"pricePrecision": "2",
"tickSize": "0.05",
"lotSize": "15"
},
{
"exchange": "NFO",
"symbol": "BANKNIFTY28MAR24C44800",
"token": "66648",
"optionType": "CE",
"strikePrice": "44800.00",
"pricePrecision": "2",
"tickSize": "0.05",
"lotSize": "15"
},
{
"exchange": "NFO",
"symbol": "BANKNIFTY28MAR24C44700",
"token": "66644",
"optionType": "CE",
"strikePrice": "44700.00",
"pricePrecision": "2",
"tickSize": "0.05",
"lotSize": "15"
},
{
"exchange": "NFO",
"symbol": "BANKNIFTY28MAR24C44600",
"token": "66642",
"optionType": "CE",
"strikePrice": "44600.00",
"pricePrecision": "2",
"tickSize": "0.05",
"lotSize": "15"
},
{
"exchange": "NFO",
"symbol": "BANKNIFTY28MAR24P45100",
"token": "66653",
"optionType": "PE",
"strikePrice": "45100.00",
"pricePrecision": "2",
"tickSize": "0.05",
"lotSize": "15"
},
{
"exchange": "NFO",
"symbol": "BANKNIFTY28MAR24P45200",
"token": "66655",
"optionType": "PE",
"strikePrice": "45200.00",
"pricePrecision": "2",
"tickSize": "0.05",
"lotSize": "15"
},
{
"exchange": "NFO",
"symbol": "BANKNIFTY28MAR24P45300",
"token": "66657",
"optionType": "PE",
"strikePrice": "45300.00",
"pricePrecision": "2",
"tickSize": "0.05",
"lotSize": "15"
},
{
"exchange": "NFO",
"symbol": "BANKNIFTY28MAR24P45400",
"token": "66659",
"optionType": "PE",
"strikePrice": "45400.00",
"pricePrecision": "2",
"tickSize": "0.05",
"lotSize": "15"
},
{
"exchange": "NFO",
"symbol": "BANKNIFTY28MAR24P45500",
"token": "66661",
"optionType": "PE",
"strikePrice": "45500.00",
"pricePrecision": "2",
"tickSize": "0.05",
"lotSize": "15"
},
{
"exchange": "NFO",
"symbol": "BANKNIFTY28MAR24P45000",
"token": "52221",
"optionType": "PE",
"strikePrice": "45000.00",
"pricePrecision": "2",
"tickSize": "0.05",
"lotSize": "15"
},
{
"exchange": "NFO",
"symbol": "BANKNIFTY28MAR24P44900",
"token": "66651",
"optionType": "PE",
"strikePrice": "44900.00",
"pricePrecision": "2",
"tickSize": "0.05",
"lotSize": "15"
},
{
"exchange": "NFO",
"symbol": "BANKNIFTY28MAR24P44800",
"token": "66649",
"optionType": "PE",
"strikePrice": "44800.00",
"pricePrecision": "2",
"tickSize": "0.05",
"lotSize": "15"
},
{
"exchange": "NFO",
"symbol": "BANKNIFTY28MAR24P44700",
"token": "66647",
"optionType": "PE",
"strikePrice": "44700.00",
"pricePrecision": "2",
"tickSize": "0.05",
"lotSize": "15"
},
{
"exchange": "NFO",
"symbol": "BANKNIFTY28MAR24P44600",
"token": "66643",
"optionType": "PE",
"strikePrice": "44600.00",
"pricePrecision": "2",
"tickSize": "0.05",
"lotSize": "15"
}
],
"status": "success"
}
Greeks
Sample Request
curl --location 'https://api.tiqs.trading/info/greeks' \
--header 'appId: <YOUR_APP_ID>' \
--header 'token: <YOUR_TOKEN>' \
--header 'Content-Type: application/json' \
--data '[43797, 43798]'
Sample Response
{
"data": [
{
"iv": 0.16202843326302246,
"delta": -0.805477854173547,
"gamma": 0.00044036985056966155,
"theta": -48.87731964443301,
"vega": 2.9009721614423136
},
{
"iv": 0.24180179126861037,
"delta": 0.24836677957405004,
"gamma": 0.0003400777113221101,
"theta": -61.900704895596824,
"vega": 3.3432775633298264
}
],
"status": "success"
}