Market Timings
API to retrieve the market timings for each exchange for a particular date.
Header Parameters
Name | Required | Type | Description |
---|---|---|---|
Accept | true | string | Defines the content format the client expects, which should be set to application/json . |
Path Parameters
Name | Required | Type | Description |
---|---|---|---|
date | true | string | The date for retrieving market timing information. Format: 'YYYY-MM-DD'. |
Responses
- 200
- 4XX
Response Body
{
"status": "success",
"data": [
{
"exchange": "MCX",
"start_time": 1704079800000,
"end_time": 1704108600000
},
{
"exchange": "NSE",
"start_time": 1704080700000,
"end_time": 1704103200000
},
{
"exchange": "NFO",
"start_time": 1704080700000,
"end_time": 1704103200000
},
{
"exchange": "CDS",
"start_time": 1704079800000,
"end_time": 1704108600000
},
{
"exchange": "BSE",
"start_time": 1704080700000,
"end_time": 1704103200000
},
{
"exchange": "BCD",
"start_time": 1704079800000,
"end_time": 1704108600000
},
{
"exchange": "BFO",
"start_time": 1704080700000,
"end_time": 1704103200000
}
]
}
Name | Type | Description |
---|---|---|
status | string | A string indicating the outcome of the request. Typically success for successful operations. |
data | object | Data object holding information about the market timings |
data[].exchange | string | Exchange for which the market is open. Valid exchanges can be found in the Exchange Appendix |
data[].start_time | number | Timestamp at which market will start. |
data[].end_time | number | Timestamp at which market will end. |
Error codes
Error code | Description |
---|---|
UDAPI1088 | Invalid date - The provided date does not confirm to the accepted format. |
Examples
A comprehensive set of examples is provided to illustrate various use cases and implementation scenarios for this API. To view detailed examples and access sample code, please refer to: API Examples.
Loading...