Calendar

FREE
By metropolisapi
Updated a month ago
Data
8.5/10
Popularity Score
737ms
Latency
82%
Success Rate

Calendar API Documentation

Calendar API supplies an accurate and reliable information about holidays all over the world. Metropolis also provides an useful date calculator and a week day indicator [This API is deprecated].

View API Details
GETdate-calculator
GETholiday-check
GETholidays
GETweek
GETdate-calculator

Use this endpoint to add or subtract any number of days given a specific date. Add or subtract days to a given date (for example: ignoring weekends) to calculate a past or future event. Usage sample: What date will it be in 30 workdays ?

Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Required Parameters
dateSTRING
REQUIREDStart date. Format: yyyy-mm-dd
daysSTRING
REQUIREDDays to be added or subtracted given the start date.
operationSTRING
REQUIREDDate operation type: "add", "+", "subtract" or "-" days
countrySTRING
REQUIRED"ISO 2 letter country code" or "Name of the Country in English"
just-workdaysSTRING
REQUIRED"True" - Days in result will include just work days. Weekends will not be considered during the calculation. "False" - Days in result will include all days (including Weekends). Caution: We are sorry, but holidays are not considered at this time.
Code Snippet
Install SDK
Response ExampleSchema

Install SDK for (Node.js)Unirest

OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication