Summary
Today's Holidays API serves up weird/funny holidays for a particular month and/or day. It can also search the list of holidays.
Today's Holidays API serves up weird/funny holidays for a particular month and/or day. It can also search the list of holidays.
Below is a list of endpoints used to access the API.
https://todaysholidaysapi.com/holidays
This endpoint accepts no parameters and returns a list of all holidays for every month of the year.
https://todaysholidaysapi.com/holidays/${month}
Replace month
in the URL with the int
month you would like holidays returned for.
https://todaysholidaysapi.com/holidays/${month}/%{day}
Replace month
and day
in the URL with the int
month and day you
would like holidays returned for.
https://todaysholidaysapi.com/holidays/search?s=${searchQuery}
Replace searchQuery
and in the URL with the encodeURIComponent
string you would
like holidays searched for.
This returns all matching holidays throughout the year.