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.
SPX
andDJI
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. $\endgroup$