Supported parameters
| accessKey | Access key according to your subscription | Required parameter. |
| exchange | String value like MCX | Optional parameter . Name of supported exchange. How to get list of supported exchanges you can find here |
| Year | Numerical value like 2025 | Mandatory parameter. Specific year for data retrieval. Example: 2024 |
| xml | [true]/[false], default = [false] | Optional parameter. By default function will return JSON data. Functions will return XML data if set as [true] |
| Example | http://endpoint:port/GetHolidays/?accessKey=0a0b0c&exchange=MCX&year=2025&xml=true | |
What is returned ?
Holidays received from the Exchanges
Example of returned data in JSON format
| JSON | XML |
| { “Value”:[ {“Year”:2025,”Date”:”01-26-2025″,”Description”:”Republic Day”,”Exchanges”:”MCX;NSE;NSE_IDX;NFO;CDS;BSE;BSE_IDX;BSE_DEBT;BFO;NCX”}, ]} | <Holiday> <Value> <HolidayItem Year=”2025″ Date=”01-26-2025″ Description=”Republic Day” Exchanges=”MCX;NSE;NSE_IDX;NFO;CDS;BSE;BSE_IDX;BSE_DEBT;BFO;NCX”/> </Value> </Holiday> |
| CSV | Year,Date,Description,Exchanges 2025,”01-26-2025″,Republic Day,MCX;NSE;NSE_IDX;NFO;CDS;BSE;BSE_IDX;BSE_DEBT;BFO;NCX |

