SP500 Historical Constituents

Hey,
I was wondering if anyone knows the best way to get an API that can get me the historical constituents of the sp500? Ideally, i want to create a grid of 1’s and 0’s that show if a stock was in the sp500 on a given day.
It would also be great to do for the most liquid_500 too, but that’s of less important.

Any tips would be greatly appreciated, thanks!

Hello,

Thanks for reaching out.
Historical constituents are available through the Fundamental API. Additionally, we offer a new product in our Marketplace that might interest you. Indices Historical Constituents Data API.

Feel free to reach out if you have any further questions.

I’ve already tested your new product, and I’m really happy with it :slightly_smiling_face: :+1: