Skip to main content

Holiday Master

This API call retrieves the list of holidays for all exchanges, segmented by their respective segments.

🛣️Path Parameters

ParameterTypeRequiredDescriptionExample/ENUM
tenantidstringYesUnique Identifier for the tenanttenant-12345

🔍Query Parameters

ParameterTypeOptionalDescriptionExample/ENUM
exchangestringYesThe exchange identifier (segment-specific)."NSE_EQ"
yearintegerYesThe year for which the holidays are being queried."2025"

🔑Header Parameters

HeaderTypeRequiredDescriptionExample/ENUM
AuthorizationstringYesBearer token for authentication.Bearer {{access_token}}
x-api-keystringYesUnique API key provided for access{{x-api-key}}

🟢Success Response - 200 Ok

FieldTypeDescriptionExample
statusstringIndicates the status of the API call"success"
codestringA Response code indicating the result of the API request"s-101"
messagestringA descriptive message about the status."Holiday master fetched successfully"
dataobjectObject containing holiday data for each exchange segment.See below

📘Data Object Info Fields

Exchange SegmentTypeDescriptionExample
NSE_EQarrayList of holiday dates for the NSE Equity segment.["2025-01-01", "2025-12-25"]
NSE_FOarrayList of holiday dates for the NSE Future and Options segment.["2025-01-01", "2025-12-25"]
BSE_EQarrayList of holiday dates for the BSE Equity segment.["2025-01-01", "2025-12-25"]
get/nontransactional/{tenantid}/v1/holidaymaster