Statements
Income statement, balance sheet and cash flow, as known on any date
A company's financial statements from its own SEC filings: quarterly, annual or trailing twelve months. Each period names the filing behind it and the second it became public. Add as_of and you get the statements as they were known on that date, with nothing filed later.
Parameters
| Parameter | Default | What it does |
|---|---|---|
statement | all three | income, balance_sheet, cash_flow, comma separated |
period | quarterly | quarterly, annual or ttm |
limit | 8 | Periods, newest first, up to 40 |
as_of | now | A date (2024-06-28) or a timestamp (2024-06-28T20:00:00Z). Only filings public by then count |
version | latest | latest or first_reported |
revisions | off | true: every version of each period, newest first |
lines | all | Line names, comma separated (below) |
provenance | off | true: the XBRL tag and flags behind each value (quarterly) |
bands | off | true: bands_at_filing on each period: the company's fundamentals_ bands from the daily snapshot on or before its filing date, never a later one |
share_basis | as_filed | as_filed: per-share values and share counts as printed. as_of: restated for stock splits up to the as_of day (today without it), never a later split |
Point in time
- What counts: a filing counts from the second the SEC accepted it (
public_at). A dateas_ofmeans filings public by 04:00 UTC the next day and filed on or before that date, the same rule as snapshot rows, so both see the same filings. A report the SEC accepted after 17:30 New York gets the next business day as its EDGAR filing date (filed_on) but counts from the day it was accepted. A timestamp counts every filing accepted by then. - Which company: the ticker means the company that held it on
as_of(today without it). A reused symbol gives the old company for an old date. On a day nobody held it, the answer is404no_data. Withoutas_of, a ticker nobody holds today gives its last company, markeddelisted: truewithheld_until, on every plan. latest: the newest version public byas_of: the original filing, an amendment or, for a year, a later 10-K's restatement. Nothing filed later changes an earlieras_of.first_reported: the first filing of the period (for a year, its original 10-K). It never changes afterwards.revisions=true: every version public byas_of, each with its filing.version_typesaysoriginal,amendedor, for a year,restated(a later 10-K printing it more than 2% different).- TTM: the last four quarters as known at
as_of, each at its own version then. Flows and EPS are summed and balance lines are the newest quarter's. Weighted share counts have no TTM value. If the quarters don't join up, the flows arenullandnotes.ttmsays why.notes.ttmismixed_basiswhen the quarters are on two bases: a 10-K recast its year (a business sold or spun off) and the year's total is more than 2% away from its four quarters, or a later filing reprinted one of the quarters more than 2% differently. The sums stay as filed; useperiod=annualfor the year on the 10-K's basis. - Annual: a fiscal year counts from its 10-K (or 20-F, 40-F).
- Restated: when a later 10-Q or 10-K reprints a quarter as its year-ago column more than 2% different in revenue or net income,
latesttakes that filing's income and cash-flow lines (the balance sheet stays the quarter's own) withversion_typerestated, from the moment that filing is public. Years work the same way through a later 10-K.first_reportednever changes. - Early numbers: once a company's earnings press release (8-K) is public and before its 10-Q or 10-K is, the quarter appears with
version_typeearnings_releaseand onlyrevenue,net_incomeandeps_diluted. The 10-Q or 10-K replaces it the moment it's public.first_reportedand TTM use filings only.
One limit to know: our reading can improve. A new mapping_version re-reads the same filings, never a later one, and every response says which reading it uses. A company whose filings the current reading no longer maps to it (a retired link) is not served from an old reading.
Values
- Money is in the company's reporting currency (
currency, per period), in whole units. Per-share values and share counts are as the filing printed them. - Signs: payments and charges are stored positive:
capital_expenditure,share_repurchases,dividends_paid,acquisitions,debt_repaid,investment_purchases,share_award_tax_withholding,interest_paid,income_taxes_paid,asset_impairment,goodwill_impairment,restructuring_charges,interest_expense,operating_expenses. These keep the filer's sign:deferred_income_taxes,other_nonoperating_income,fx_effect_on_cash,discontinued_operations_income,income_tax_expense(negative on a tax benefit).change_in_receivables,change_in_inventoryandchange_in_payableskeep the XBRL tag's sign (a rise is positive), so for receivables and inventory it is the opposite of the printed cash-flow statement. nullmeans the filing doesn't state the line, or we withheld it.notessays when a value is not simply as printed:withheld:<reason>(withheld, e.g.withheld:scale_mismatch),derived_q4(fourth-quarter EPS from the year less nine months),sign_fixed,inferred_zero(a 0 the filing doesn't print:total_debtwith no debt of any kind and immaterial interest;capital_expenditurefor a filer with next to no plant and no capital spending named anywhere;share_repurchasesordividends_paidwhen nothing in the filing shows any),listed_class(EPS of the listed share class, with no share count of that class),common_numerator(diluted EPS divides income available to common, not net income),no_revenue_tag(an IFRS filer that states no revenue line), and for a tracking stock (Liberty's Formula One, SiriusXM, Braves groups)tracking_group:<group>on net income, EPS and weighted share counts, which are the group's, andtracking_group_consolidatedon the other lines, which are the whole issuer's, so don't divide one by the other. When a filing states no capex line and the filer isn't one with next to no plant (banks, insurers, IFRS financials, or plant whose spending isn't on a line we read),capital_expenditureisnullwithnot_reportedandfree_cash_flowisnullwithcapex_unknown(oroperating_cash_flow_unknown).notes.periodcarries notes about the whole period (a year:year_incomplete,part_not_ok) and any newer kind as written.- Banks and insurers usually state no gross profit and no current assets or liabilities.
change_vs_year_ago_pctgives each flow and per-share line's change against the same period a year earlier, in %. If the filing restated that year-ago quarter (for example after selling a business), revenue, operating income, net income and diluted EPS compare with the restated figures, andnotes.year_agosaysrestated_in_filing. Otherwise the year-ago period is its newest version public byas_of; withfirst_reported, its newest version public when the quarter was first reported.nullwhen the year-ago figure is unknown, zero or negative.
Several companies
The same lines for up to 50 companies: tickers and lines (up to 30) are required, and period, limit, as_of and version work as above. Each row is one period of one company, with its filing and the lines flat.
What reported since
since (a timestamp, or a date) turns this into a feed: every statement version that became public after it, oldest first, one row each. tickers and lines are optional here and limit is up to 1,000 rows (default 100). For the next page, or the next poll, pass the response's next_since back as since: rows that share a second are never skipped or repeated. has_more says more rows are waiting.
Each row has public_at, when the SEC accepted the filing, and available_at, the first time TickerDB held it. A live model can only act on the later of the two. For history loaded after the fact, available_at is when we loaded it. since must be inside your plan's history; on Free, the feed lists periods that ended in the last 13 months.
In bulk history
History takes statement lines as fields named statement.<line>, for example statement.revenue, on daily rows. Each row gets the newest quarter that was public by that row's cutoff and filed by its date, at its newest version then. statement.period_end, statement.public_at and statement.currency come with them. Like the snapshot, statement.revenue, statement.net_income and statement.eps_diluted take the earnings release (8-K) until its 10-Q or 10-K is public; statement.release_period_end says when. Each statement field counts as one field for pricing.
Plans and cost
- Free: the newest 4 quarters, the newest fiscal year and the newest TTM of any company, as known now. No
as_of. - Plus: periods first filed in the last 3 years;
as_ofin the last 3 years. - Pro and Commercial: periods first filed from 2019;
as_offrom 2019-01-01. - Cost: 1 credit, plus 1 per 100 rows beyond the first 100. A row is one period of one company; with
revisions=true, each version is a row.
In the MCP server these are get_statements and get_statement_lines.
Lines
Line names have no prefix: the endpoint is their namespace. Schema lists them with level=statement.
Income statement (income)
| Line | Kind | What it is |
|---|---|---|
revenue | period | Total revenue (for banks, revenue net of interest expense). |
cost_of_revenue | period | Cost of revenue (cost of goods and services sold). |
gross_profit | period | Gross profit as stated, else revenue minus cost of revenue. |
research_development_expense | period | Research and development expense. |
selling_general_admin_expense | period | Selling, general and administrative expense. |
operating_expenses | period | Total operating expenses as stated. |
operating_income | period | Operating income (loss). |
interest_expense | period | Interest expense. |
interest_income | period | Interest and investment income, including dividend income where the filer reports them as one line. |
other_nonoperating_income | period | Other non-operating income (expense). |
equity_method_income | period | Income (loss) from equity-method investments. |
asset_impairment | period | Impairment of long-lived assets. |
goodwill_impairment | period | Goodwill impairment. |
restructuring_charges | period | Restructuring charges. |
pretax_income | period | Income (loss) before income taxes. |
income_tax_expense | period | Income tax expense, with the filer's sign: negative on a tax benefit. |
discontinued_operations_income | period | Income (loss) from discontinued operations. |
net_income | period | Net income (loss) attributable to the parent, before preferred dividends. |
net_income_noncontrolling | period | Net income attributable to noncontrolling interests. |
preferred_dividends | period | Preferred stock dividends and other adjustments. |
comprehensive_income | period | Comprehensive income attributable to the parent. |
ebit | period | Earnings before interest and taxes (derived). |
ebitda | period | EBIT plus depreciation and amortization (derived). |
eps_diluted | per share | Diluted earnings per share, as printed (share basis of the filing). |
eps_basic | per share | Basic earnings per share, as printed. |
shares_diluted | shares | Weighted-average diluted shares of the period. |
shares_basic | shares | Weighted-average basic shares of the period. |
Balance sheet (balance_sheet)
| Line | Kind | What it is |
|---|---|---|
cash | period end | Cash and cash equivalents; when the filer reports no plain cash figure, cash including restricted cash. |
short_term_investments | period end | Short-term investments (marketable securities). |
accounts_receivable | period end | Accounts receivable, net. |
inventory | period end | Inventory, net. |
other_current_assets | period end | Prepaid expenses and other current assets. |
current_assets | period end | Total current assets. |
property_plant_equipment | period end | Property, plant and equipment, net. |
goodwill | period end | Goodwill. |
intangible_assets | period end | Intangible assets other than goodwill, net. |
operating_lease_assets | period end | Operating lease right-of-use assets. |
long_term_investments | period end | Long-term investments. |
deferred_tax_assets | period end | Deferred tax assets, net. |
other_noncurrent_assets | period end | Other non-current assets. |
noncurrent_assets | period end | Total non-current assets, where stated. |
total_assets | period end | Total assets. |
accounts_payable | period end | Accounts payable. |
accrued_liabilities | period end | Accrued liabilities. |
deferred_revenue_current | period end | Deferred revenue, current. |
debt_current | period end | Short-term debt and the current part of long-term debt. |
operating_lease_liabilities_current | period end | Operating lease liabilities, current. |
current_liabilities | period end | Total current liabilities. |
debt_noncurrent | period end | Long-term debt, non-current. |
deferred_revenue_noncurrent | period end | Deferred revenue, non-current. |
operating_lease_liabilities_noncurrent | period end | Operating lease liabilities, non-current. |
deferred_tax_liabilities | period end | Deferred tax liabilities, net. |
other_noncurrent_liabilities | period end | Other non-current liabilities. |
noncurrent_liabilities | period end | Total non-current liabilities, where stated. |
total_liabilities | period end | Total liabilities. |
total_debt | period end | Total debt: current plus non-current (derived where not stated). |
common_stock_value | period end | Common stock, par or stated value. |
additional_paid_in_capital | period end | Additional paid-in capital. |
retained_earnings | period end | Retained earnings (accumulated deficit). |
accumulated_other_comprehensive_income | period end | Accumulated other comprehensive income (loss). |
treasury_stock | period end | Treasury stock, at cost. |
preferred_equity | period end | Preferred stock value. |
total_equity | period end | Total stockholders' equity attributable to the parent. |
noncontrolling_interest | period end | Noncontrolling (minority) interest in equity. |
shares_outstanding | period end | Shares outstanding from the cover page, as of shares_outstanding_as_of. |
Cash flow (cash_flow)
| Line | Kind | What it is |
|---|---|---|
operating_cash_flow | period | Net cash from operating activities. |
depreciation_amortization | period | Depreciation and amortization. |
stock_compensation | period | Stock-based compensation. |
deferred_income_taxes | period | Deferred income taxes. |
change_in_receivables | period | Change in receivables (working capital), with the XBRL tag's sign, not the printed one: a rise in receivables is positive, although it uses cash and the cash-flow statement prints it negative. |
change_in_inventory | period | Change in inventory (working capital), with the XBRL tag's sign, not the printed one: a rise in inventory is positive, although it uses cash and the cash-flow statement prints it negative. |
change_in_payables | period | Change in payables (working capital), with the XBRL tag's sign: a rise in payables is positive (it adds cash, so here the sign matches the printed statement). |
capital_expenditure | period | Capital expenditure, cash paid (positive). With no capex line in the filing it is 0 only for a filer with next to no plant (notes: inferred_zero); otherwise null (notes: not_reported), e.g. banks, insurers and IFRS financials. |
free_cash_flow | period | Operating cash flow minus capital expenditure. Null when either is unknown (notes: capex_unknown, operating_cash_flow_unknown), as for a bank with no capex line. |
acquisitions | period | Cash paid for acquisitions, net of cash acquired. |
investment_purchases | period | Purchases of investments. |
investment_sales | period | Sales and maturities of investments. |
investing_cash_flow | period | Net cash from investing activities. |
debt_issued | period | Proceeds from issuing debt. |
debt_repaid | period | Repayments of debt. |
share_issuance | period | Proceeds from issuing stock. |
share_repurchases | period | Cash paid to buy back stock (positive). |
dividends_paid | period | Dividends paid in cash (positive). |
share_award_tax_withholding | period | Taxes paid on net share settlement of awards. |
financing_cash_flow | period | Net cash from financing activities. |
fx_effect_on_cash | period | Effect of exchange rates on cash. |
net_change_in_cash | period | Net change in cash and equivalents. |
interest_paid | period | Cash paid for interest. |
income_taxes_paid | period | Cash paid for income taxes. |