docs/us_corporate/sp500_financials

sp500_financials

Annual XBRL financial facts for S&P 500 companies. Tier A. One row per CIK + fiscal_year. Coverage approximately 2009-2023. Includes revenue, net income, operating income, total assets, liabilities, stockholders equity, EPS, and shares outstanding. state_id joined from sec_submissions (HQ state).

tier aTier A: direct from SEC XBRL filings. Coverage gaps exist where companies did not report specific XBRL tags consistently.corporatesp500secfinancialsxbrl
grain
company-year
years
2009 – 2027
cadence
Annual (as 10-K filings are submitted)
overview

overview

~9,000 company-year rows. XBRL facts: revenue, net income, operating income, assets, liabilities, equity, EPS, shares outstanding.

current vintage — 2024

history — Yes — annual 2009–2024

provenance

source & licensing

authority
U.S. Securities and Exchange Commission
dataset
SEC EDGAR XBRL Company Facts
license
Public domain (U.S. Federal Government work)
citation
U.S. Securities and Exchange Commission (2025). EDGAR XBRL Company Facts API.
schema

fields

nametypedefinition
business_statestring2-char US state abbreviation of HQ from SEC EDGAR submissions.
cikkeystring10-digit zero-padded SEC CIK.
company_namestringCompany name from SEC EDGAR submissions.
country_idkeystringISO alpha-2 country code. Always US.
eps_basicfloat64Basic earnings per share in USD.
eps_dilutedfloat64Diluted earnings per share in USD.
net_income_usdfloat64Net income (loss) in USD for the fiscal year.
operating_income_usdfloat64Operating income (loss) in USD for the fiscal year.
period_end_datedateFiscal year end date for this reporting period.
revenue_usdfloat64Annual revenue in USD. NULL if not reported in XBRL. Revenue concept varies by company (GAAP allows multiple revenue line items).
shares_outstandingint64Common shares outstanding at fiscal year end.
state_idstring2-char state FIPS from HQ state (sec_submissions). NULL if HQ state unknown.
stockholders_equity_usdfloat64Total stockholders equity in USD at fiscal year end.
total_assets_usdfloat64Total assets in USD at fiscal year end.
total_liabilities_usdfloat64Total liabilities in USD at fiscal year end.
yearkeyint64Fiscal year (4-digit integer).
relationships

joins

primary key
cik, country_id, year
common joins
sp500_companies on (cik)
sp500_membership_periods on (cik)
usage

how to use this table

method

us-gaap XBRL facts extracted from SEC JSON API, filtered to S&P 500 CIKs, pivoted to annual fiscal year grain.

do not use for

Quarterly analysis; intra-year breakdowns not available.

last updated · Jul 7, 2026