What are reliable sources to download plain-text files listing current composition of various popular indexes such as S&P 500 (SPX) or Dow Jones Industrials (DJI) or Nasdaq 100 (NDX) ?

At a minimum the file would include symbol, but hopefully name, sector, and other information.

The ideal format would be JSON , but XML or XLSX, but even simple formats such CSV or one symbol per line would be acceptable.

I've checked provider websites such as :

https://us.spindices.com/indices/equity/sp-500

but no luck yet.

• This is proprietary information, S&P etc. want you to pay for it. So it is not out there for everyone to find. There may be some underhanded ways of getting it but they should not be discussed here. – Alex C Apr 19 at 18:35
• Ok that's fine. If we go the legit route how exactly to purchase the data ? But wouldn't S&P want to provide the SPX and DJI components simply as a courtesy to seed the market for their other products ? How can academic institutions get this data ? What about independent software developers ? It seems unreasonable for this only to be included in institutional subscriptions. – BaltoStar Apr 19 at 18:42