Is there a service or Open API that exists out there for providing the dates of existing holidays in the US including observed holidays?

Unfortunately, from my google searches I've just found a paid service timeanddate.com and bank-holidays.com from this particular SO thread.

I intend to just build my own event calendar application for self learning.


2 Answers 2


The system for (US) federal holidays is rather simple. As described in 5 USC 6103, it's basically just a short list of specific dates and rules for weekends.

This could certainly be integrated into your calendar but you might want to find a more complicated data source to practice with an API. To keep on the same theme, how about religious holidays? (example)


There is the free https://date.nager.at/ service. I found it useful for some projects, although I had to "borrow" some dates from Liechtenstein and Germany when working on requirements for an Austrian customer.

Unfortunately I have been looking here for a more complete service which includes some other dates like school holidays. For Germany we have https://ferien-api.de/. The bank-holidays offering comes close and adds a bit more which would be nice for travel plans, but so far, just for querying a few dates with curl once a month for private use, the pricing and usage restrictions appear prohibitive to me.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.