Timings
Market Timings
Endpoint URL
Local Host : POST http://127.0.0.1:5000/api/v1/market/timings
Ngrok Domain : POST https://<your-ngrok-domain>.ngrok-free.app/api/v1/market/timings
Custom Domain: POST https://<your-custom-domain>/api/v1/market/timingsSample API Request
{
"apikey": "<your_app_apikey>",
"date": "2025-12-18"
}Sample API Response (Normal Trading Day)
{
"status": "success",
"data": [
{"exchange": "NSE", "start_time": 1745984700000, "end_time": 1746007200000},
{"exchange": "BSE", "start_time": 1745984700000, "end_time": 1746007200000},
{"exchange": "NFO", "start_time": 1745984700000, "end_time": 1746007200000},
{"exchange": "BFO", "start_time": 1745984700000, "end_time": 1746007200000},
{"exchange": "MCX", "start_time": 1745983800000, "end_time": 1746037500000},
{"exchange": "BCD", "start_time": 1745983800000, "end_time": 1746012600000},
{"exchange": "CDS", "start_time": 1745983800000, "end_time": 1746012600000}
]
}Sample API Response (Holiday - Empty)
Sample API Response (Muhurat Trading - Special Session)
Sample API Response (Partial Holiday - MCX Open)
Request Fields
Parameter
Description
Mandatory/Optional
Default Value
Response Fields
Field
Type
Description
Exchange Timing Object Fields
Field
Type
Description
Default Market Timings (IST)
Exchange
Start Time
End Time
Description
Response Scenarios
Scenario
Response
Example Usage
Get Timings for a Normal Day
Check if Market is Open on a Holiday
Check Muhurat Trading Timings
Python Example
JavaScript Example
Error Response
Error Codes
HTTP Status
Error Type
Description
Error Messages
Message
Description
Notes
Common Use Cases
Rate Limits
Last updated