# Data dictionary

The metric keys `get_financials` accepts, with the matching `statement`. Values come in the unit shown (currency in USD millions, ratios as decimals: 0.25 = 25%). Calculated lines show their formula; industry lines appear only for companies that report them.

## Income statement (statement=income)

| Key | Metric | Section | Unit | Applies to |
|---|---|---|---|---|
| `revenue` | Revenue | Revenue and cost | USD millions | All companies |
| `cost_of_revenue` | Cost of revenue | Revenue and cost | USD millions | Standard companies |
| `gross_profit` | Gross profit | Revenue and cost | USD millions | Standard companies |
| `rd_expense` | Research and development | Operating expenses | USD millions | Standard companies |
| `sga_expense` | Selling, general and administrative | Operating expenses | USD millions | All companies |
| `other_operating_expense` | Other operating expense (= total_operating_expenses - rd_expense - sga_expense) | Operating expenses | USD millions | Standard companies |
| `total_operating_expenses` | Total operating expenses | Operating expenses | USD millions | Standard companies |
| `operating_income` | Operating income | Operating expenses | USD millions | All companies |
| `da_income` | Depreciation and amortization | Operating expenses | USD millions | All companies |
| `ebitda` | EBITDA (= operating_income + da_income) | Operating expenses | USD millions | All companies |
| `interest_expense` | Interest expense | Below operating | USD millions | All companies |
| `interest_income` | Interest income | Below operating | USD millions | All companies |
| `other_nonoperating_income` | Other non-operating income | Below operating | USD millions | Standard companies |
| `pretax_income` | Pretax income | Below operating | USD millions | All companies |
| `income_tax` | Income tax | Below operating | USD millions | All companies |
| `effective_tax_rate` | Effective tax rate (= income_tax / pretax_income) | Below operating | Decimal ratio | All companies |
| `income_continuing_ops` | Income from continuing operations | Below operating | USD millions | All companies |
| `discontinued_ops` | Discontinued operations | Below operating | USD millions | All companies |
| `net_income` | Net income | Net income | USD millions | All companies |
| `minority_interest` | Minority interest | Net income | USD millions | All companies |
| `net_income_to_common` | Net income to common (= net_income - preferred_dividends) | Net income | USD millions | All companies |
| `eps_basic` | Basic EPS | Per share | USD per share | All companies |
| `eps_diluted` | Diluted EPS | Per share | USD per share | All companies |
| `shares_basic` | Basic shares | Per share | Millions of shares | All companies |
| `shares_diluted` | Diluted shares | Per share | Millions of shares | All companies |
| `dividends_per_share` | Dividends per share | Per share | USD per share | All companies |
| `gross_margin` | Gross margin (= gross_profit / revenue) | Calculated | Decimal ratio | Standard companies |
| `operating_margin` | Operating margin (= operating_income / revenue) | Calculated | Decimal ratio | Standard companies |
| `net_margin` | Net margin (= net_income / revenue) | Calculated | Decimal ratio | All companies |
| `revenue_growth` | Revenue growth (= revenue / revenue[prior year] - 1) | Calculated | Decimal ratio | All companies |
| `net_interest_income` | Net interest income | Banking | USD millions | Banks, Asset managers |
| `provision_credit_losses` | Provision for credit losses | Banking | USD millions | Banks, Asset managers |
| `nii_after_provision` | Net interest income after provision (= net_interest_income - provision_credit_losses) | Banking | USD millions | Banks |
| `noninterest_income` | Noninterest income | Banking | USD millions | Banks, Asset managers |
| `noninterest_expense` | Noninterest expense | Banking | USD millions | Banks, Asset managers |
| `efficiency_ratio` | Efficiency ratio (= noninterest_expense / revenue) | Calculated | Decimal ratio | Banks |
| `premiums_earned` | Premiums earned | Insurance | USD millions | Insurers |
| `net_investment_income` | Net investment income | Insurance | USD millions | Insurers |
| `investment_gains` | Investment gains (losses) | Insurance | USD millions | Insurers |
| `benefits_and_claims` | Benefits, losses and claims | Insurance | USD millions | Insurers |
| `acquisition_costs` | Policy acquisition costs | Insurance | USD millions | Insurers |
| `interest_credited` | Interest credited to policyholders | Insurance | USD millions | Insurers |
| `other_underwriting_expense` | Other underwriting expense | Insurance | USD millions | Insurers |
| `total_benefits_and_expenses` | Total benefits and expenses (= revenue - pretax_income (when untagged)) | Insurance | USD millions | Insurers |
| `underwriting_income` | Underwriting income (= premiums_earned - benefits_and_claims - acquisition_costs - other_underwriting_expense) | Calculated | USD millions | Insurers |
| `loss_ratio` | Loss ratio (= benefits_and_claims / premiums_earned) | Calculated | Decimal ratio | Insurers |
| `expense_ratio` | Expense ratio (= (acquisition_costs + other_underwriting_expense) / premiums_earned) | Calculated | Decimal ratio | Insurers |
| `combined_ratio` | Combined ratio (= loss_ratio + expense_ratio) | Calculated | Decimal ratio | Insurers |
| `rental_revenue` | Rental revenue | Real estate | USD millions | REITs |
| `property_operating_expenses` | Property operating expenses | Real estate | USD millions | REITs |
| `real_estate_gains` | Gains on sale of real estate | Real estate | USD millions | REITs |
| `real_estate_impairment` | Real estate impairment | Real estate | USD millions | REITs |
| `ffo` | Funds from operations (= net_income_to_common + da_income - real_estate_gains + real_estate_impairment) | Calculated | USD millions | REITs |
| `ffo_per_share` | FFO per share (= ffo / shares_diluted) | Calculated | USD per share | REITs |
| `ffo_payout` | Dividend payout of FFO (= dividends_paid / ffo) | Calculated | Decimal ratio | REITs |
| `fuel_and_purchased_power` | Fuel and purchased power | Utility | USD millions | Utilities |
| `om_expense` | Operations and maintenance | Utility | USD millions | Utilities |
| `taxes_other_than_income` | Taxes other than income | Utility | USD millions | Utilities, Oil and gas |
| `capex_to_revenue` | Capex to revenue (= capex / revenue) | Calculated | Decimal ratio | Utilities, Oil and gas |
| `lease_operating_expense` | Lease operating expense | Oil and gas | USD millions | Oil and gas |
| `exploration_expense` | Exploration expense | Oil and gas | USD millions | Oil and gas |
| `oil_gas_impairment` | Impairment of oil and gas properties | Oil and gas | USD millions | Oil and gas |
| `compensation_expense` | Compensation and benefits | Asset management | USD millions | Asset managers |
| `compensation_ratio` | Compensation ratio (= compensation_expense / revenue) | Calculated | Decimal ratio | Asset managers |

## Balance sheet (statement=balance)

| Key | Metric | Section | Unit | Applies to |
|---|---|---|---|---|
| `cash` | Cash and equivalents | Current assets | USD millions | All companies |
| `short_term_investments` | Short-term investments | Current assets | USD millions | Standard companies |
| `receivables` | Receivables | Current assets | USD millions | Standard companies |
| `inventory` | Inventory | Current assets | USD millions | Standard companies |
| `other_current_assets` | Other current assets (= total_current_assets - cash - short_term_investments - receivables - inventory) | Current assets | USD millions | Standard companies |
| `total_current_assets` | Total current assets | Current assets | USD millions | Standard companies |
| `ppe_net` | Property, plant and equipment | Non-current assets | USD millions | All companies |
| `goodwill` | Goodwill | Non-current assets | USD millions | All companies |
| `intangibles` | Intangible assets | Non-current assets | USD millions | All companies |
| `long_term_investments` | Long-term investments | Non-current assets | USD millions | Standard companies |
| `other_noncurrent_assets` | Other non-current assets (= total_assets - total_current_assets - ppe_net - goodwill - intangibles - long_term_investments) | Non-current assets | USD millions | Standard companies |
| `total_assets` | Total assets | Non-current assets | USD millions | All companies |
| `accounts_payable` | Accounts payable | Current liabilities | USD millions | Standard companies |
| `deferred_revenue` | Deferred revenue | Current liabilities | USD millions | Standard companies |
| `current_debt` | Current debt | Current liabilities | USD millions | Standard companies |
| `accrued_and_other_current_liabilities` | Accrued and other current liabilities (= total_current_liabilities - accounts_payable - deferred_revenue - current_debt) | Current liabilities | USD millions | Standard companies |
| `total_current_liabilities` | Total current liabilities | Current liabilities | USD millions | Standard companies |
| `long_term_debt` | Long-term debt | Non-current liabilities | USD millions | All companies |
| `operating_lease_liabilities` | Operating lease liabilities | Non-current liabilities | USD millions | All companies |
| `other_noncurrent_liabilities` | Other non-current liabilities (= total_liabilities - total_current_liabilities - long_term_debt - operating_lease_liabilities) | Non-current liabilities | USD millions | Standard companies |
| `total_liabilities` | Total liabilities (= liabilities_and_equity - total_equity - temporary_equity (when untagged)) | Non-current liabilities | USD millions | All companies |
| `common_stock_and_apic` | Common stock and paid-in capital | Equity | USD millions | All companies |
| `retained_earnings` | Retained earnings | Equity | USD millions | All companies |
| `aoci` | Accumulated other comprehensive income | Equity | USD millions | All companies |
| `treasury_stock` | Treasury stock | Equity | USD millions | All companies |
| `minority_interest_bs` | Minority interest | Equity | USD millions | All companies |
| `total_equity` | Total equity (= equity_parent + minority_interest_bs (when the combined line is untagged)) | Equity | USD millions | All companies |
| `shares_outstanding` | Shares outstanding | Equity | Millions of shares | All companies |
| `total_debt` | Total debt (= long_term_debt + current_debt) | Calculated | USD millions | All companies |
| `net_debt` | Net debt (= total_debt - cash - short_term_investments) | Calculated | USD millions | Standard companies |
| `working_capital` | Working capital (= total_current_assets - total_current_liabilities) | Calculated | USD millions | Standard companies |
| `cash_and_investments` | Cash and investments (= cash + short_term_investments) | Calculated | USD millions | Standard companies |
| `tangible_book_value` | Tangible book value (= equity_parent - goodwill - intangibles) | Calculated | USD millions | All companies |
| `invested_capital` | Invested capital (= total_debt + total_equity - cash_and_investments) | Calculated | USD millions | Standard companies |
| `book_value_per_share` | Book value per share (= equity_parent / shares_outstanding) | Calculated | USD per share | All companies |
| `fed_funds_sold` | Fed funds sold and reverse repos | Bank assets | USD millions | Banks |
| `securities_bank` | Investment securities | Bank assets | USD millions | Banks |
| `loans_gross` | Loans, gross | Bank assets | USD millions | Banks |
| `loan_loss_allowance` | Allowance for loan losses | Bank assets | USD millions | Banks |
| `loans_net` | Loans, net (= loans_gross - loan_loss_allowance (when untagged)) | Bank assets | USD millions | Banks |
| `deposits` | Deposits | Bank liabilities | USD millions | Banks, Asset managers |
| `fed_funds_purchased` | Fed funds purchased and repos | Bank liabilities | USD millions | Banks |
| `short_term_borrowings_bank` | Short-term borrowings | Bank liabilities | USD millions | Banks |
| `preferred_stock` | Preferred stock | Equity | USD millions | All companies |
| `loans_to_deposits` | Loans to deposits (= loans_net / deposits) | Calculated | Decimal ratio | Banks |
| `provision_to_loans` | Provision to loans (= provision_credit_losses / loans_net) | Calculated | Decimal ratio | Banks |
| `nii_to_assets` | Net interest income to assets (= net_interest_income / total_assets) | Calculated | Decimal ratio | Banks |
| `investments_total` | Total investments | Insurance assets | USD millions | Insurers |
| `fixed_maturities` | Fixed maturity securities | Insurance assets | USD millions | Insurers |
| `premiums_receivable` | Premiums receivable | Insurance assets | USD millions | Insurers |
| `reinsurance_recoverables` | Reinsurance recoverables | Insurance assets | USD millions | Insurers |
| `deferred_acquisition_costs` | Deferred acquisition costs | Insurance assets | USD millions | Insurers |
| `separate_account_assets` | Separate account assets | Insurance assets | USD millions | Insurers |
| `loss_reserves` | Loss and LAE reserves | Insurance liabilities | USD millions | Insurers |
| `future_policy_benefits` | Future policy benefits | Insurance liabilities | USD millions | Insurers |
| `policyholder_account_balances` | Policyholder account balances | Insurance liabilities | USD millions | Insurers |
| `unearned_premiums` | Unearned premiums | Insurance liabilities | USD millions | Insurers |
| `separate_account_liabilities` | Separate account liabilities | Insurance liabilities | USD millions | Insurers |
| `short_term_debt_fin` | Short-term debt | Insurance liabilities | USD millions | Insurers, REITs |
| `investment_yield` | Investment yield (= net_investment_income / investments_total) | Calculated | Decimal ratio | Insurers |
| `real_estate_gross` | Real estate, at cost | Real estate assets | USD millions | REITs |
| `real_estate_accum_depr` | Accumulated depreciation | Real estate assets | USD millions | REITs |
| `real_estate_net` | Real estate, net (= real_estate_gross - real_estate_accum_depr (when untagged)) | Real estate assets | USD millions | REITs |
| `debt_to_gross_assets` | Debt to gross assets (= total_debt / (total_assets + real_estate_accum_depr)) | Calculated | Decimal ratio | REITs |
| `net_debt_to_ebitda` | Net debt to EBITDA (= (total_debt - cash) / ebitda) | Calculated | Decimal ratio | REITs |
| `regulatory_assets` | Regulatory assets | Utility | USD millions | Utilities |
| `regulatory_liabilities` | Regulatory liabilities | Utility | USD millions | Utilities |
| `cfo_to_debt` | Cash from operations to debt (= cfo / total_debt) | Calculated | Decimal ratio | Utilities, Oil and gas |
| `oil_gas_properties_gross` | Oil and gas properties, gross | Oil and gas | USD millions | Oil and gas |
| `asset_retirement_obligations` | Asset retirement obligations | Oil and gas | USD millions | Oil and gas |
| `segregated_cash` | Cash and investments segregated | Brokerage | USD millions | Asset managers |
| `receivables_from_customers` | Receivables from brokerage clients | Brokerage | USD millions | Asset managers |
| `payables_to_customers` | Payables to brokerage clients | Brokerage | USD millions | Asset managers |

## Cash flow statement (statement=cash_flow)

| Key | Metric | Section | Unit | Applies to |
|---|---|---|---|---|
| `cf_net_income` | Net income | Operating | USD millions | All companies |
| `cf_da` | Depreciation and amortization | Operating | USD millions | All companies |
| `cf_sbc` | Stock-based compensation | Operating | USD millions | All companies |
| `cf_deferred_taxes` | Deferred taxes | Operating | USD millions | All companies |
| `cf_working_capital_change` | Change in working capital | Operating | USD millions | All companies |
| `cf_other_noncash` | Other non-cash items (= cfo - cf_net_income - cf_da - cf_sbc - cf_deferred_taxes - cf_working_capital_change) | Operating | USD millions | All companies |
| `cfo` | Cash from operations | Operating | USD millions | All companies |
| `capex` | Capital expenditure | Investing | USD millions | All companies |
| `acquisitions` | Acquisitions | Investing | USD millions | All companies |
| `investments_net` | Investments, net | Investing | USD millions | All companies |
| `other_investing` | Other investing (= cfi + capex + acquisitions - investments_net) | Investing | USD millions | All companies |
| `cfi` | Cash from investing | Investing | USD millions | All companies |
| `debt_issued` | Debt issued | Financing | USD millions | All companies |
| `debt_repaid` | Debt repaid | Financing | USD millions | All companies |
| `buybacks` | Share buybacks | Financing | USD millions | All companies |
| `dividends_paid` | Dividends paid | Financing | USD millions | All companies |
| `shares_issued` | Shares issued | Financing | USD millions | All companies |
| `other_financing` | Other financing (= cff - debt_issued + debt_repaid + buybacks + dividends_paid - shares_issued) | Financing | USD millions | All companies |
| `cff` | Cash from financing | Financing | USD millions | All companies |
| `fx_effect` | FX effect on cash | Reconciliation | USD millions | All companies |
| `net_change_in_cash` | Net change in cash (= cfo + cfi + cff + fx_effect (when untagged)) | Reconciliation | USD millions | All companies |
| `ending_cash` | Ending cash | Reconciliation | USD millions | All companies |
| `interest_paid` | Interest paid | Reconciliation | USD millions | All companies |
| `taxes_paid` | Taxes paid | Reconciliation | USD millions | All companies |
| `fcf` | Free cash flow (= cfo - capex) | Calculated | USD millions | All companies |
| `fcf_margin` | FCF margin (= fcf / revenue) | Calculated | Decimal ratio | All companies |
| `cash_conversion` | Cash conversion (= cfo / net_income) | Calculated | Decimal ratio | All companies |
| `reinvestment_rate` | Reinvestment rate (= capex / cfo) | Calculated | Decimal ratio | Oil and gas |

## Screen metrics (screen_companies)

| Id | Metric | Unit |
|---|---|---|
| `revenue_ttm` | Revenue, TTM: Sum of the last four quarters of revenue. | USD millions |
| `revenue_growth_yoy` | Revenue growth, YoY: TTM revenue versus the TTM ending four quarters earlier. | percent |
| `revenue_cagr_3y` | Revenue CAGR, 3y: Compound annual growth of TTM revenue over twelve quarters. | percent |
| `net_income_growth_yoy` | Net income growth, YoY: TTM net income versus the prior TTM; null when either is not positive. | percent |
| `fcf_growth_yoy` | FCF growth, YoY: TTM free cash flow versus the prior TTM; null when either is not positive. | percent |
| `gross_margin` | Gross margin: TTM gross profit as a share of revenue. | percent |
| `gross_margin_change_yoy` | Gross margin change, YoY: TTM gross margin minus the prior TTM gross margin, in percentage points. | percent |
| `operating_margin` | Operating margin: TTM operating income as a share of revenue. | percent |
| `net_margin` | Net margin: TTM net income as a share of revenue. | percent |
| `fcf_margin` | FCF margin: TTM free cash flow (operating cash flow less capex) as a share of revenue. | percent |
| `rule_of_40` | Rule of 40: Revenue growth plus FCF margin, both in percent. | percent |
| `roic` | Return on invested capital: After-tax operating income (21% notional rate) over equity plus debt less cash. | percent |
| `roe` | Return on equity: TTM net income over latest shareholders' equity; null when equity is not positive. | percent |
| `roa` | Return on assets: TTM net income over average total assets. | percent |
| `accruals_ratio` | Accruals ratio: Net income less operating cash flow, over average total assets. Lower is cleaner earnings. | percent |
| `cash_conversion` | Cash conversion: TTM operating cash flow over TTM net income; null when net income is not positive. | ratio |
| `capex_to_revenue` | Capex / revenue: TTM capital expenditure as a share of revenue. | percent |
| `capex_to_da` | Capex / D&A: TTM capital expenditure over TTM depreciation and amortisation. | ratio |
| `sbc_to_fcf` | SBC / FCF: TTM stock-based compensation as a share of free cash flow; null when FCF is not positive. | percent |
| `shares_change_yoy` | Share count change, YoY: Diluted weighted shares in the latest quarter versus four quarters earlier. Negative means net buybacks. | percent |
| `net_debt` | Net debt: Total debt less cash and equivalents, latest quarter. | USD millions |
| `net_debt_to_ebitda` | Net debt / EBITDA: Net debt over TTM EBITDA; null when EBITDA is not positive. Not applicable to financials. | ratio |
| `debt_to_equity` | Debt / equity: Total debt over shareholders' equity; null when equity is not positive. | ratio |
| `current_ratio` | Current ratio: Current assets over current liabilities. Not applicable to financials. | ratio |
| `interest_coverage` | Interest coverage: TTM operating income over TTM interest expense; null when there is no interest expense. | ratio |
| `piotroski_f` | Piotroski F-score: Nine binary tests of profitability, leverage and efficiency, 0 to 9. | count |
| `days_since_10k` | Days since last 10-K: Days since the most recent annual report was filed. | days |
| `days_since_10q` | Days since last 10-Q: Days since the most recent quarterly report was filed. | days |
| `filings_8k_90d` | 8-K filings, 90d: Number of 8-K filings in the last 90 days. | count |
| `had_8k_101_90d` | Material agreement (8-K 1.01), 90d: 1 when an 8-K with item 1.01 was filed in 90 days. | 1/0 |
| `had_8k_205_90d` | Restructuring (8-K 2.05), 90d: 1 when an 8-K with item 2.05 was filed in 90 days. | 1/0 |
| `had_8k_401_90d` | Auditor change (8-K 4.01), 90d: 1 when an 8-K with item 4.01 was filed in 90 days. | 1/0 |
| `had_8k_502_90d` | Officer change (8-K 5.02), 90d: 1 when an 8-K with item 5.02 was filed in 90 days. | 1/0 |
| `insider_buyers_90d` | Distinct insider buyers, 90d: Distinct insiders who made an open-market purchase in 90 days. | count |
| `insider_buy_value_90d` | Insider purchases, 90d: Open-market insider purchases over 90 days. | USD millions |
| `insider_net_buy_90d` | Insider net buying, 90d: Open-market purchases less sales by insiders over 90 days. | USD millions |
| `insider_net_buy_1y` | Insider net buying, 1y: Open-market purchases less sales by insiders over 365 days. | USD millions |
| `insider_officer_bought_90d` | Officer bought, 90d: 1 when an officer made an open-market purchase in 90 days. | 1/0 |
| `holders_13f` | 13F holders: Institutional managers holding the security in their latest 13F. | count |
| `value_13f` | 13F holdings value: Sum of the filer-reported 13F position values. | USD millions |
| `founder_led` | Founder-led: 1 when a founder works at the company today as an executive or employee. | 1/0 |
| `founder_on_board` | Founder involved: 1 when a founder holds any role today, board seat included. | 1/0 |
| `founder_controlled` | Founder-controlled: 1 when living founders control the vote. | 1/0 |
| `family_controlled` | Founding-family controlled: 1 when the founding family (founder no longer involved) controls the vote. | 1/0 |
| `ceo_total_pay` | CEO total pay: The CEO's Summary Compensation Table total for the latest fiscal year. | USD millions |
| `ceo_pay_actually_received` | CEO pay actually received: The proxy's compensation actually paid to the CEO for the latest fiscal year. | USD millions |
