Calendar

Get all holidays for a given year

Retrieves a list of all holidays for a given year.

get/holidays/{year}

Request

  • Base URL
    https://api.treasuryspring.com/api/v1
  • Auth
    HTTP bearer

Path parameters

yearinteger required

Year

Response

List of holidays

countrystring required

Country/Calendar this holiday belongs to

datestring date required

Date of holiday

namestring required

Name of holiday

Example response

[
  {
    "country": "United Kingdom",
    "date": "2000-01-01",
    "name": "New year"
  }
]

Changes

No recorded changes to this operation across all 8 revisions of this API.