← All datasets

S&P 500 Companies

The 503 current constituents of the S&P 500 stock index from Wikipedia's constituent list, each enriched from Wikidata: ticker symbol, company name, GICS sector and sub-industry, headquarters city and state, the date added to the index, SEC CIK, founding year, employee count with its year, chief executive, official website and Wikidata QID. All eleven GICS sectors are present, led by Industrials, Financials and Information Technology. Headquarters is split into city and state for mapping, and each company carries its Wikipedia and Wikidata links for joining. Market capitalization is omitted because Wikidata carries it for under a fifth of the index and in mixed currencies, so it would be sparse and misleading. The count is 503 rather than 500 because a few companies list two share classes. A clean lookup table for S&P 500 ticker symbols, sectors and CIK codes, free as a CSV download. Ten acceptance tests, one enforcing the 25 percent fill rule on every column.
503 rows 1 file last pulled 2026-10-23
Where would you start?
Pick a question, or ask your own and answer it; publish what you find as an insight. The same question can carry many insights from different angles.
  • Which sectors dominate S&P 500 membership by age of company?
  • How does founding year distribute across today's index?
  • Which states headquarter the most index members?
S&P 500 Companies 503 rows × 16 columns
SymbolSecurityCompany_IDGICS_SectorGICS_Sub_IndustryHeadquartersHQ_CityHQ_StateDate_AddedFounded_YearEmployeesEmployees_YearCEOWebsiteCIKCompany_URL

Questions and answers

What is the S&P 500 Companies dataset?

The 503 current constituents of the S&P 500 stock index from Wikipedia's constituent list, each enriched from Wikidata: ticker symbol, company name, GICS sector and sub-industry, headquarters city and state, the date added to the index, SEC CIK, founding year, employee count with its year, chief executive, official website and Wikidata QID. All eleven GICS sectors are present, led by Industrials, Financials and Information Technology. Headquarters is split into city and state for mapping, and each company carries its Wikipedia and Wikidata links for joining. Market capitalization is omitted because Wikidata carries it for under a fifth of the index and in mixed currencies, so it would be sparse and misleading. The count is 503 rather than 500 because a few companies list two share classes. A clean lookup table for S&P 500 ticker symbols, sectors and CIK codes, free as a CSV download. Ten acceptance tests, one enforcing the 25 percent fill rule on every column.

How big is the S&P 500 Companies dataset?

503 rows in one CSV file, with 16 columns in total: Symbol, Security, Company_ID, GICS_Sector, GICS_Sub_Industry, Headquarters, HQ_City, HQ_State, Date_Added, Founded_Year, Employees, Employees_Year, CEO, Website, CIK, Company_URL.

Where does the data come from?

It is built by programmatically scraping en.wikipedia.org, last pulled on 2026-10-23. Datasets are versioned; older versions stay downloadable.

Is the dataset free to download?

Yes. Every CodeSights dataset is completely free as a CSV download; a free account is all it takes. Anyone can preview the data without signing in.

Can I see the code that built this dataset?

Yes. The exact Python scraper that built it is viewable on the dataset page by any signed-in member, so every number is reproducible.

Can the data contain errors?

Automated scraping leaves room for error and the underlying sources change over time, so no version is guaranteed accurate or complete. If a number matters, verify it against the original source.

Browse every free dataset on CodeSights