JSON endpoint that returns an up-to-date list of S&P500 constituents scraped from Wikipedia. I got tired of writing (or finding) code that gets the S&P500 symbols every time I needed them, so I threw together this endpoint. It should be around as long as Heroku and Wikipedia are around.
Beats me.
I grab it from Wikipedia and cache it on redis. When the page revision changes, the cache is updated.
sane indicates whether or not we're getting 505 symbols back, as expected. Keep in mind that Wikipedia might not always be right, so caveat emptor.
MIT