Working days

Is a date a working day

Whether the date is a working day and why not, the previous and next working days, and with add=N the date N working days later (negative for earlier). A T+1 settlement date is calendar=settlement&add=1.

get/v1/working-days/{date}

Request

  • Base URL: https://api.dharun.dev
  • URL: https://api.dharun.dev/v1/working-days/{date}
  • Auth: none declared

Path parameters

datestring required

Date, YYYY-MM-DD.

Query parameters

calendar'bank' | 'market' | 'settlement' | 'central'

bank (default; needs state), market (NSE trading), settlement (NSE clearing) or central (central government offices).

statestring

State code or name. Required for the bank calendar.

officestring

Bank calendar only. One Reserve Bank office's list, such as Srinagar or Kochi, for a state with several offices (Maharashtra, Uttar Pradesh, Jammu and Kashmir, Kerala). Without it, a day off at any of the state's offices counts.

addinteger

Working days to add, -366 to 366.

Response

Success

dataunknown required

Changes

No recorded changes to this operation across all 1 revision of this API.