Holidays
Market Holidays
Endpoint URL
Local Host : POST http://127.0.0.1:5000/api/v1/market/holidays
Ngrok Domain : POST https://<your-ngrok-domain>.ngrok-free.app/api/v1/market/holidays
Custom Domain: POST https://<your-custom-domain>/api/v1/market/holidaysSample API Request
{
"apikey": "<your_app_apikey>",
"year": 2025
}Sample API Response
{
"status": "success",
"year": 2025,
"timezone": "Asia/Kolkata",
"data": [
{
"date": "2025-02-26",
"description": "Maha Shivaratri",
"holiday_type": "TRADING_HOLIDAY",
"closed_exchanges": ["NSE", "BSE", "NFO", "BFO", "CDS", "BCD"],
"open_exchanges": [
{
"exchange": "MCX",
"start_time": 1740549000000,
"end_time": 1740602700000
}
]
},
{
"date": "2025-04-18",
"description": "Good Friday",
"holiday_type": "TRADING_HOLIDAY",
"closed_exchanges": ["NSE", "BSE", "NFO", "BFO", "CDS", "BCD", "MCX"],
"open_exchanges": []
},
{
"date": "2025-11-01",
"description": "Diwali Laxmi Pujan (Muhurat Trading)",
"holiday_type": "SPECIAL_SESSION",
"closed_exchanges": [],
"open_exchanges": [
{"exchange": "NSE", "start_time": 1730469000000, "end_time": 1730473500000},
{"exchange": "BSE", "start_time": 1730469000000, "end_time": 1730473500000},
{"exchange": "NFO", "start_time": 1730469000000, "end_time": 1730473500000},
{"exchange": "BFO", "start_time": 1730469000000, "end_time": 1730473500000},
{"exchange": "CDS", "start_time": 1730469000000, "end_time": 1730473500000},
{"exchange": "BCD", "start_time": 1730469000000, "end_time": 1730473500000},
{"exchange": "MCX", "start_time": 1730469000000, "end_time": 1730491500000}
]
}
]
}Request Fields
Parameter
Description
Mandatory/Optional
Default Value
Response Fields
Field
Type
Description
Holiday Object Fields
Field
Type
Description
Open Exchange Object Fields
Field
Type
Description
Holiday Types
Type
Description
Supported Exchanges
Exchange
Description
Example Usage
Get 2025 Holidays
Get Current Year Holidays
Python Example
Error Response
Error Codes
HTTP Status
Error Type
Description
Notes
Rate Limits
Last updated