NYSE Holidays - A Story in Shitty Paid APIs
I was looking at a way to automatically notify me if it was a holiday at the NYSE so I knew if it was a day I would get off or not, thinking that it shouldn’t be that hard to find an API endpoint that would automate this for me so I didn’t need to maintain my own file for this.
What I found, which was immensely stupid was the existence of paid-for APIs which gave you this information. This isn’t complex data that needed to be tended to at all times, nor was it some sort of information that was locked behind a paywall. Its on the NYSE Website, and this updates years ahead of time.
I understand the requirements for paid access for market data feeds and such, but just a simple API endpoint to provide the calendar of holidays is downright silly.
So I made one myself, if you go to/curl https://pryazhen.com/nyse-holidays.json, you’ll get a list of all of the NYSE holidays through 2027. It’s also on Github.
Something Something Information should be free.