ValueinValuein
Data Catalog

What's in the datasets

Two datasets, one catalog: financial fundamentals (Free tier and up) and the smart-money dataset — insider and institutional ownership filings, on the Institutional tier. Browse every queryable field, its SEC XBRL tag, and how the tables relate.

111M+
Total Facts
19,000+
Entities
1993–Now
History
15
Tables

Schema Browser

Every queryable field across both datasets, with its SEC XBRL tag. Start with how the tables relate, then search the full field list below. Fields from the smart-money dataset carry an
Institutional
tag.

How the catalog tables relate

entity is the hub; every fact ties back to it and to the SEC filing it came from. Hover or focus a table to highlight its joins.

The financials core — the fact-lineage spine. Foreign keys point child → parent.
Core financialsReferenceDerived
How the catalog tables relate. 9 tables, 9 foreign-key relationships. Full text below the diagram.111111111entitycik name sector statussecurityidentity_id symbol valid_from/tofilingaccession_identity_id form_type accepted_atfactfact_identity_idaccession_idstandard_conceptstandard_conceptstandard_concept statement_type leveltaxonomy_guidestandard_concept human_name unit_typeratioentity_id ratio_name value accepted_atreferencescik symbol sector is_activeindex_membershipcik index_name effective_date removal_date
Relationships (text)
  • security references entity via entity_id → cik (many → 1)
  • filing references entity via entity_id → cik (many → 1)
  • fact references entity via entity_id → cik (many → 1)
  • fact references filing via accession_id (many → 1)
  • fact references standard_concept via standard_concept (many → 1)
  • standard_concept references taxonomy_guide via standard_concept (many → 1)
  • ratio references entity via entity_id → cik (many → 1)
  • references references entity via cik (many → 1)
  • index_membership references references via cik = cik (many → 1)

Field reference

Field NameTypeTableDescriptionSEC Tag
cikVARCHAR
references
SEC Central Index Key — 10-digit unique company identifier (from entity)dei:EntityCentralIndexKey
nameVARCHAR
references
Legal registered company name (from entity)dei:EntityRegistrantName
sectorVARCHAR
references
Broad market sector (from entity)
industryVARCHAR
references
Industry classification description (from entity)
sic_codeVARCHAR
references
Standard Industrial Classification code 4-digit (from entity)dei:EntitySICCode
statusVARCHAR
references
Entity status: ACTIVE, INACTIVE, or DELISTED (from entity)
entity_typeVARCHAR
references
SEC-defined filer category (from entity)
security_idINTEGER
references
Surrogate PK of the security record (from security)
symbolVARCHAR
references
Exchange ticker symbol (from security)dei:TradingSymbol
exchangeVARCHAR
references
Stock exchange name e.g. NASDAQ, NYSE (from security)
micVARCHAR
references
Market Identification Code ISO 10383 (from security)
valid_fromDATE
references
SCD Type 2 start date — when this ticker became active (from security)
valid_toDATE
references
SCD Type 2 end date — NULL means currently active (from security)
is_activeBOOLEAN
references
TRUE when valid_to IS NULL — use to filter current tickers only (from security). For index membership, JOIN index_membership ON references.cik = index_membership.cik — there is no is_sp500 flag (dropped 2026-05-02 because it was snapshot-only and single-index).
figiVARCHAR
references
Financial Instrument Global Identifier share-class level (from security)
composite_figiVARCHAR
references
Composite FIGI at the exchange level (from security)
share_class_figiVARCHAR
references
Share class FIGI (from security)
cikVARCHAR
entity
SEC Central Index Key — 10-digit unique company identifierdei:EntityCentralIndexKey
nameVARCHAR
entity
Legal registered company namedei:EntityRegistrantName
leiVARCHAR
entity
Legal Entity Identifier (ISO 17442 20-character code)
industryVARCHAR
entity
Industry classification description
sectorVARCHAR
entity
Broad market sector (e.g. Technology, Healthcare, Financials)
sic_codeVARCHAR
entity
Standard Industrial Classification code (4-digit)dei:EntitySICCode
sic_descriptionVARCHAR
entity
Full SEC SIC industry label (e.g. 'Electronic Computers'). Companion to sic_code — use this when a human-readable string is more useful than the raw 4-digit code.
fiscal_year_endVARCHAR
entity
Fiscal year end as MMDD (e.g. 1231 = December 31)

Showing 25 of 344 fields

Standard Concepts

The canonical standard_concept dictionary — 291 normalized financial concepts that 11,966 raw XBRL tags map onto. Filter fact.standard_concept by any of these for clean, comparable cross-company queries.

ConceptNameStatementDefinition
AntidilutiveSharesAntidilutive Shares
Income Statement
Shares excluded from diluted EPS as antidilutive.
ClaimsAndBenefitsClaims And Benefits
Income Statement
Insurance claims and policyholder benefits incurred.
ClinicalTrialCostsClinical Trial Costs
Income Statement
Costs incurred running clinical trials. Not always disclosed as a separate line — often embedded in R&D. When broken out, reveals development-stage focus.
CostOfRevenueCost Of Revenue
Income Statement
Direct costs attributable to revenue generation (COGS + COS).
CurrentIncomeTaxExpenseCurrent Income Tax Expense
Income Statement
Aggregated current-period income tax expense (federal + state + foreign). Distinct from the deferred-tax component, which moves through DeferredTaxExpense. Companies that report only an aggregated figure surface here; per-jurisdiction filers expose CurrentTaxFederal / CurrentTaxState / CurrentTaxForeign.
CurrentTaxFederalCurrent Tax Federal
Income Statement
Federal/national current income tax.
CurrentTaxForeignCurrent Tax Foreign
Income Statement
Foreign jurisdiction current income tax.
CurrentTaxStateCurrent Tax State
Income Statement
State and local current income tax.
DeferredTaxExpenseDeferred Tax Expense
Income Statement
Deferred income tax provision from timing differences.
DepletionExpenseDepletion Expense
Income Statement
Period write-down of natural-resource asset basis based on units extracted. Energy/mining specific cousin of depreciation.
DepreciationAndAmortizationDepreciation And Amortization
Income Statement
D&A expense from income statement or supplemental disclosure.
DiscontinuedOpsIncomeDiscontinued Ops Income
Income Statement
Net income from discontinued business segments.
DividendPerShareDividend Per Share
Income Statement
Cash dividends declared per common share.
EPSBasicEPS Basic
Income Statement
Basic earnings per share (US-GAAP + IFRS).
EPSBasicAndDilutedEPS Basic And Diluted
Income Statement
Combined basic and diluted EPS (equal when no dilutive securities).
EPSContinuingOpsBasicEPS Continuing Ops Basic
Income Statement
Basic EPS from continuing operations.
EPSContinuingOpsDilutedEPS Continuing Ops Diluted
Income Statement
Diluted EPS from continuing operations.
EPSDilutedEPS Diluted
Income Statement
Diluted earnings per share — most conservative, standard for valuation.
EPSDiscontinuedOpsEPS Discontinued Ops
Income Statement
EPS from discontinued operations.
EffectiveTaxRateEffective Tax Rate
Income Statement
Effective income tax rate.
EquityMethodIncomeEquity Method Income
Income Statement
Share of income from unconsolidated affiliates (20-50% ownership).
ExplorationCostsExploration Costs
Income Statement
Cost of exploring for new oil/gas/mineral reserves. Often written off in the period (successful efforts vs full cost accounting choice matters here).
ExplorationExpenseExploration Expense
Income Statement
Exploration costs for extractive industries (oil/gas, mining).
FederalIncomeTaxFederal Income Tax
Income Statement
US Federal income tax expense/benefit (current + deferred).
FeesAndCommissionsFees And Commissions
Income Statement
Fee and commission income for financial institutions.

Showing 25 of 291 concepts

Example Queries

Copy-ready SQL to get started. Works with DuckDB, Postgres, and the Python SDK.

10-Year Revenue Trend for AAPL

Fetch annual revenue for the past 10 years, point-in-time accurate.

sql
SELECT f.filing_date,  f.report_date,  fa.numeric_value / 1e9 AS revenue_billionsFROM filing fJOIN references r ON f.entity_id = r.cikJOIN fact fa      ON fa.accession_id = f.accession_idWHERE r.symbol = 'AAPL'  AND r.is_active = TRUE  AND fa.standard_concept = 'Revenues'  AND f.form_type = '10-K'ORDER BY f.filing_date DESCLIMIT 10;

Debt-to-Equity Ratio — S&P500 Tech

Screen for leverage across the technology sector using the latest annual filing. Index membership comes from the index_membership table.

sql
SELECT  r.symbol,  r.name                                               AS company_name,  r.sector,  f.filing_date                                        AS annual_filing_date,  debt.numeric_value / 1e9                             AS long_term_debt_billions,  equity.numeric_value / 1e9                           AS equity_billions,  debt.numeric_value / NULLIF(equity.numeric_value, 0) AS debt_to_equityFROM references rJOIN index_membership im ON im.cik = r.cikJOIN LATERAL (  SELECT accession_id, filing_date  FROM filing  WHERE entity_id = r.cik AND form_type = '10-K'  ORDER BY filing_date DESC  LIMIT 1) f ON trueJOIN fact debt   ON debt.accession_id = f.accession_id  AND debt.standard_concept = 'LongTermDebt'JOIN fact equity ON equity.accession_id = f.accession_id  AND equity.standard_concept = 'StockholdersEquity'WHERE im.index_name = 'SP500'  AND im.removal_date IS NULL  AND r.is_active = TRUE  AND r.sector ILIKE '%technology%'ORDER BY debt_to_equity DESC NULLS LAST;

Free Cash Flow — Latest Quarter (S&P500)

Calculate FCF (operating cash flow minus capex) across the S&P500.

sql
SELECT  r.symbol,  r.name                                                              AS company_name,  r.sector,  f.filing_date                                                       AS latest_quarter,  COALESCE(ocf.derived_quarterly_value, ocf.numeric_value) / 1e6     AS ocf_millions,  ABS(COALESCE(capex.derived_quarterly_value, capex.numeric_value)) / 1e6 AS capex_millions,  (COALESCE(ocf.derived_quarterly_value, ocf.numeric_value)    - ABS(COALESCE(capex.derived_quarterly_value, capex.numeric_value))) / 1e6 AS fcf_millionsFROM references rJOIN index_membership im ON im.cik = r.cikJOIN LATERAL (  SELECT accession_id, filing_date  FROM filing  WHERE entity_id = r.cik AND form_type = '10-Q'  ORDER BY filing_date DESC  LIMIT 1) f ON trueJOIN fact ocf   ON ocf.accession_id = f.accession_id  AND ocf.standard_concept = 'NetCashProvidedByUsedInOperatingActivities'JOIN fact capex ON capex.accession_id = f.accession_id  AND capex.standard_concept = 'PaymentsToAcquirePropertyPlantAndEquipment'WHERE im.index_name = 'SP500'  AND im.removal_date IS NULL  AND r.is_active = TRUEORDER BY fcf_millions DESC NULLS LASTLIMIT 20;

Intrinsic Value Screen — S&P500

Screen S&P500 companies by DCF intrinsic value vs current price (margin of safety).

sql
SELECT  r.symbol,  r.name                   AS company_name,  r.sector,  v.valuation_date,  v.model_type,  v.per_share_value,  v.current_price,  v.margin_of_safety,  v.valuation_labelFROM valuation vJOIN references r ON v.entity_id = r.cikJOIN index_membership im ON im.cik = r.cikWHERE im.index_name = 'SP500'  AND im.removal_date IS NULL  AND r.is_active = TRUE  AND v.model_type = 'dcf'  AND v.valuation_date = (    SELECT MAX(valuation_date) FROM valuation WHERE entity_id = v.entity_id  )  AND v.per_share_value IS NOT NULLORDER BY v.margin_of_safety DESC NULLS LASTLIMIT 20;

Ready to query 111M+ facts?

Get a free API key and start querying in 60 seconds.