Every API here is available over the APIs.io API and to AI agents over MCP.
openapi: 3.2.0
info:
title: TGMCharts Statements API
version: 1.0.0
summary: Stock fundamentals, derived valuation series, and chart renders for developers and AI agents.
description: 'Precomputed daily from company filings and market data — never live-fetched at request time. Missing or not-meaningful values are honest nulls/empties with an `applicability` explanation; nothing is zero-filled or fabricated. Free tier: a free account is required for data calls (Google or a confirmed email, no card, 500 units a day), CORS-open; attribution required ("data by TGMCharts", linking tgmcharts.com). Send a free API key (Authorization: Bearer tgm_live_… or x-api-key, minted at https://tgmcharts.com/developers/keys); paid tiers raise the quota (units: JSON call = 1, chart render = 5, MCP tool call = 2; X-RateLimit-* headers on keyed responses; 401 with reason sign_in_required without a key, 401 on a bad key, 429 with Retry-After when a quota is exhausted). No key is needed for this document, the docs, MCP discovery, or chart image URLs (embedded as images; keyless renders are rate-limited per IP). Please cache responses for at least an hour — data changes at most daily. MCP endpoint for AI agents: POST https://tgmcharts.com/api/v1/mcp (streamable HTTP, stateless). Docs as text: https://tgmcharts.com/llms.txt (for people: https://tgmcharts.com/developers).'
termsOfService: https://tgmcharts.com/terms
contact:
url: https://tgmcharts.com/contact
servers:
- url: https://tgmcharts.com
security:
- apiKey: []
tags:
- name: Statements
paths:
/api/v1/statements/{symbol}/{statement}:
get:
operationId: getFinancialStatement
summary: Raw as-filed financial statement (income, balance sheet, or cash flow) from SEC…
description: 'Public-domain lineage end-to-end: values come exclusively from SEC XBRL company facts, latest-filed per period, with the winning us-gaap tag, accession number, and filing date on every value (`provenance`). Quarters not filed discretely are derived only by same-tag, same-fiscal-year differencing (marked `derived`, withheld under restatements); per-share values are as filed (not split-adjusted); missing data is null — never zero-filled, never backfilled from another source. Symbols pending EDGAR ingestion answer 200 with status: preparing; ETFs and IFRS/non-USD filers answer 200 with status: unavailable (honest terminal state).'
parameters:
- name: symbol
in: path
required: true
description: Ticker symbol (US-listed stocks and ETFs; about 4,000 covered; a person can add an uncovered one on its stock page).
schema:
type: string
pattern: ^[A-Za-z][A-Za-z0-9.-]{0,9}$
- name: statement
in: path
required: true
description: Which statement.
schema:
type: string
enum:
- income-statement
- balance-sheet
- cash-flow
- name: period
in: query
required: false
description: annual (default) or quarterly (as-filed discrete quarters plus disclosed derived ones).
schema:
type: string
enum:
- annual
- quarterly
- name: years
in: query
required: false
description: Trailing fiscal years of rows (1-30; default 10; quarterly serves 4×years rows, capped at 120). Out-of-range is a 400, never clamped.
schema:
type: integer
minimum: 1
maximum: 30
- name: format
in: query
required: false
description: json (default) or csv (one row per fiscal period, one column per concept, provenance comments).
schema:
type: string
enum:
- json
- csv
responses:
'200':
description: Statement rows (newest first) with per-value provenance — or an honest preparing/unavailable body for symbols the EDGAR lane hasn't ingested / can't map.
headers:
X-RateLimit-Limit:
description: 'Keyed requests only: the account''s units per window.'
schema:
type: integer
X-RateLimit-Remaining:
description: 'Keyed requests only: units left in the current window.'
schema:
type: integer
X-RateLimit-Window:
description: 'Keyed requests only: the quota window.'
schema:
type: string
enum:
- day
- month
content:
application/json:
schema:
$ref: '#/components/schemas/StatementResponse'
examples:
KO-income-statement:
summary: The live annual income-statement for KO, years=2
value:
symbol: KO
entityName: COCA COLA CO
cik: '0000021344'
statement: income-statement
period: annual
currency: USD
source: SEC EDGAR XBRL company facts (public domain)
asOf: '2026-11-25T22:52:47.313Z'
methodology: 'Values as filed with the SEC (XBRL company facts, public domain), selected latest-filed per period among the filings that carry the company''s own financial statements (10-K, 10-Q, 20-F, 40-F, 8-K and 6-K reports, registration statements, and their amendments) — never a proxy statement''s pay-versus-performance table; the winning us-gaap tag, accession number, and filing date are recorded per value in `provenance`. Quarters not filed discretely (Q4 generally; Q2-Q3 for cash-flow items, which 10-Qs tag year-to-date only) are derived solely by differencing two same-tag, same-fiscal-year facts and are marked derived with both source accessions; derivation is withheld when a surrounding filing restates prior periods. Shares outstanding are never shares issued without evidence: where a filer tags no outstanding count, it is derived as shares issued less treasury shares, both from one filing at the same date (marked derived with both tags), or served as shares issued at a filing''s own balance-sheet date where that filing''s cover-page outstanding count agrees within 2%, or where the filer reports no treasury stock at all (each marked derived with its reason); otherwise it is null. A share count the filer tagged at the wrong scale (off by a thousand or a million, contradicted by the same period''s EPS and net income and by its neighbouring counts) is rescaled and marked with `scale`, or withheld when its true value cannot be told. Per-share values are as filed and NOT adjusted for subsequent stock splits. Missing data is null — never zero-filled, never backfilled from any other source.'
concepts:
- key: revenue
label: Revenue
unit: USD
tags:
- Revenues
- RevenueFromContractWithCustomerExcludingAssessedTax
- RevenueFromContractWithCustomerIncludingAssessedTax
- SalesRevenueNet
- SalesRevenueGoodsNet
- SalesRevenueServicesNet
- key: costOfRevenue
label: Cost of Revenue
unit: USD
tags:
- CostOfRevenue
- CostOfGoodsAndServicesSold
- key: grossProfit
label: Gross Profit
unit: USD
tags:
- GrossProfit
- key: operatingExpenses
label: Operating Expenses
unit: USD
tags:
- OperatingExpenses
- key: researchAndDevelopmentExpenses
label: Research & Development Expense
unit: USD
tags:
- ResearchAndDevelopmentExpense
- ResearchAndDevelopmentExpenseExcludingAcquiredInProcessCost
- key: sellingGeneralAndAdministrativeExpenses
label: Selling, General & Administrative Expense
unit: USD
tags:
- SellingGeneralAndAdministrativeExpense
- key: operatingIncome
label: Operating Income
unit: USD
tags:
- OperatingIncomeLoss
- key: interestExpense
label: Interest Expense
unit: USD
tags:
- InterestExpense
- InterestExpenseNonoperating
- key: pretaxIncome
label: Pre-Tax Income
unit: USD
tags:
- IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest
- IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments
- key: incomeTaxExpense
label: Income Tax Expense
unit: USD
tags:
- IncomeTaxExpenseBenefit
- key: netIncome
label: Net Income
unit: USD
tags:
- NetIncomeLoss
- ProfitLoss
- key: epsBasic
label: EPS (Basic)
unit: USD/shares
tags:
- EarningsPerShareBasic
- key: epsDiluted
label: EPS (Diluted)
unit: USD/shares
tags:
- EarningsPerShareDiluted
- key: weightedAverageShsOut
label: Weighted Average Shares (Basic)
unit: shares
tags:
- WeightedAverageNumberOfSharesOutstandingBasic
- key: weightedAverageShsOutDil
label: Weighted Average Shares (Diluted)
unit: shares
tags:
- WeightedAverageNumberOfDilutedSharesOutstanding
rows:
- fiscalYear: 2025
fiscalPeriod: FY
periodStart: '2025-01-01'
periodEnd: '2025-12-31'
form: 10-K
filed: '2026-02-20'
metrics:
revenue: 47941000000
costOfRevenue: 18397000000
grossProfit: 29544000000
operatingExpenses: null
researchAndDevelopmentExpenses: null
sellingGeneralAndAdministrativeExpenses: 14521000000
operatingIncome: 13762000000
interestExpense: 1654000000
pretaxIncome: 15998000000
incomeTaxExpense: 2861000000
netIncome: 13107000000
epsBasic: 3.05
epsDiluted: 3.04
weightedAverageShsOut: 4303000000
weightedAverageShsOutDil: 4313000000
provenance:
revenue:
tag: Revenues
accn: 0001628280-26-010047
form: 10-K
filed: '2026-02-20'
filerCik: '0000021344'
costOfRevenue:
tag: CostOfGoodsAndServicesSold
accn: 0001628280-26-010047
form: 10-K
filed: '2026-02-20'
filerCik: '0000021344'
grossProfit:
tag: GrossProfit
accn: 0001628280-26-010047
form: 10-K
filed: '2026-02-20'
filerCik: '0000021344'
sellingGeneralAndAdministrativeExpenses:
tag: SellingGeneralAndAdministrativeExpense
accn: 0001628280-26-010047
form: 10-K
filed: '2026-02-20'
filerCik: '0000021344'
operatingIncome:
tag: OperatingIncomeLoss
accn: 0001628280-26-010047
form: 10-K
filed: '2026-02-20'
filerCik: '0000021344'
interestExpense:
tag: InterestExpense
accn: 0001628280-26-010047
form: 10-K
filed: '2026-02-20'
filerCik: '0000021344'
pretaxIncome:
tag: IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest
accn: 0001628280-26-010047
form: 10-K
filed: '2026-02-20'
filerCik: '0000021344'
incomeTaxExpense:
tag: IncomeTaxExpenseBenefit
accn: 0001628280-26-010047
form: 10-K
filed: '2026-02-20'
filerCik: '0000021344'
netIncome:
tag: NetIncomeLoss
accn: 0001628280-26-010047
form: 10-K
filed: '2026-02-20'
filerCik: '0000021344'
epsBasic:
tag: EarningsPerShareBasic
accn: 0001628280-26-010047
form: 10-K
filed: '2026-02-20'
filerCik: '0000021344'
epsDiluted:
tag: EarningsPerShareDiluted
accn: 0001628280-26-010047
form: 10-K
filed: '2026-02-20'
filerCik: '0000021344'
weightedAverageShsOut:
tag: WeightedAverageNumberOfSharesOutstandingBasic
accn: 0001628280-26-010047
form: 10-K
filed: '2026-02-20'
filerCik: '0000021344'
weightedAverageShsOutDil:
tag: WeightedAverageNumberOfDilutedSharesOutstanding
accn: 0001628280-26-010047
form: 10-K
filed: '2026-02-20'
filerCik: '0000021344'
- fiscalYear: 2024
fiscalPeriod: FY
periodStart: '2024-01-01'
periodEnd: '2024-12-31'
form: 10-K
filed: '2026-02-20'
metrics:
revenue: 47061000000
costOfRevenue: 18324000000
grossProfit: 28737000000
operatingExpenses: null
researchAndDevelopmentExpenses: null
sellingGeneralAndAdministrativeExpenses: 14582000000
operatingIncome: 9992000000
interestExpense: 1656000000
pretaxIncome: 13086000000
incomeTaxExpense: 2437000000
netIncome: 10631000000
epsBasic: 2.47
epsDiluted: 2.46
weightedAverageShsOut: 4309000000
weightedAverageShsOutDil: 4320000000
provenance:
revenue:
tag: Revenues
accn: 0001628280-26-010047
form: 10-K
filed: '2026-02-20'
filerCik: '0000021344'
costOfRevenue:
tag: CostOfGoodsAndServicesSold
accn: 0001628280-26-010047
form: 10-K
filed: '2026-02-20'
filerCik: '0000021344'
grossProfit:
tag: GrossProfit
accn: 0001628280-26-010047
form: 10-K
filed: '2026-02-20'
filerCik: '0000021344'
sellingGeneralAndAdministrativeExpenses:
tag: SellingGeneralAndAdministrativeExpense
accn: 0001628280-26-010047
form: 10-K
filed: '2026-02-20'
filerCik: '0000021344'
operatingIncome:
tag: OperatingIncomeLoss
accn: 0001628280-26-010047
form: 10-K
filed: '2026-02-20'
filerCik: '0000021344'
interestExpense:
tag: InterestExpense
accn: 0001628280-26-010047
form: 10-K
filed: '2026-02-20'
filerCik: '0000021344'
pretaxIncome:
tag: IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest
accn: 0001628280-26-010047
form: 10-K
filed: '2026-02-20'
filerCik: '0000021344'
incomeTaxExpense:
tag: IncomeTaxExpenseBenefit
accn: 0001628280-26-010047
form: 10-K
filed: '2026-02-20'
filerCik: '0000021344'
netIncome:
tag: NetIncomeLoss
accn: 0001628280-26-010047
form: 10-K
filed: '2026-02-20'
filerCik: '0000021344'
epsBasic:
tag: EarningsPerShareBasic
accn: 0001628280-26-010047
form: 10-K
filed: '2026-02-20'
filerCik: '0000021344'
epsDiluted:
tag: EarningsPerShareDiluted
accn: 0001628280-26-010047
form: 10-K
filed: '2026-02-20'
filerCik: '0000021344'
weightedAverageShsOut:
tag: WeightedAverageNumberOfSharesOutstandingBasic
accn: 0001628280-26-010047
form: 10-K
filed: '2026-02-20'
filerCik: '0000021344'
weightedAverageShsOutDil:
tag: WeightedAverageNumberOfDilutedSharesOutstanding
accn: 0001628280-26-010047
form: 10-K
filed: '2026-02-20'
filerCik: '0000021344'
links:
page: https://tgmcharts.com/stocks/KO/financials
docs: https://tgmcharts.com/llms.txt
openapi: https://tgmcharts.com/api/v1/openapi.json
text/csv:
schema:
type: string
'400':
description: Unknown query key or out-of-range value.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'401':
description: 'No key: `reason: "sign_in_required"` — data calls need a free TGMCharts account (Google or a confirmed email, no card); `keyUrl` is where to create a free key. Also answered for a presented key that is malformed, unknown, or revoked (`error: "Invalid API key"`).'
headers:
WWW-Authenticate:
description: Bearer realm="tgmcharts" when no key was sent.
schema:
type: string
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
examples:
sign_in_required:
summary: A data call without a key
value:
error: 'Sign in to use the TGMCharts API. It''s free and takes a few seconds: create a free key (no card) with Google or a confirmed email at https://tgmcharts.com/developers/keys, then send it as Authorization: Bearer tgm_live_… An agent with no browser can POST https://tgmcharts.com/api/v1/keys/device and show its person the approval link.'
reason: sign_in_required
keyUrl: https://tgmcharts.com/developers/keys
deviceUrl: https://tgmcharts.com/api/v1/keys/device
signUpUrl: https://tgmcharts.com/register?callbackUrl=/developers/keys
docs: https://tgmcharts.com/developers/docs/authentication-and-limits.md
'404':
description: Symbol not covered, or unknown statement (payload lists the valid statements).
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
examples:
ZZZZ:
summary: A well-formed ticker that is not covered (ZZZZ)
value:
error: Symbol not covered
symbol: ZZZZ
hint: If this is a real ticker, coverage onboarding (~2 minutes) starts when a person asks for it with one click at https://tgmcharts.com/stocks/ZZZZ. Fetching that page does not start it.
'429':
description: The account's tier quota is exhausted (Retry-After = window reset).
headers:
Retry-After:
description: Seconds until the quota window resets.
schema:
type: integer
minimum: 0
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
tags:
- Statements
components:
schemas:
Error:
type: object
properties:
error:
type: string
reason:
type: string
description: Machine-readable cause, for example sign_in_required (a data call without a key).
keyUrl:
type: string
format: uri
description: Where to create a free key.
deviceUrl:
type: string
format: uri
description: 'For an agent with no browser: POST here to ask for a key, then show your person the approval link.'
signUpUrl:
type: string
format: uri
description: Where a person without an account creates one (it returns to the key console).
upgradeUrl:
type: string
format: uri
docs:
type: string
format: uri
hint:
type: string
required:
- error
StatementRow:
type: object
properties:
fiscalYear:
type: integer
fiscalPeriod:
type: string
enum:
- FY
- Q1
- Q2
- Q3
- Q4
periodStart:
type:
- string
- 'null'
format: date
periodEnd:
type: string
format: date
form:
type:
- string
- 'null'
filed:
type:
- string
- 'null'
format: date
metrics:
type: object
description: Concept key → value. null = honest gap (not filed / not mapped), never a zero.
additionalProperties:
type:
- number
- 'null'
provenance:
type: object
description: 'Concept key → the filing that produced the value: winning us-gaap tag, accession, form, filed date; derived quarters carry `derived` + both input accessions.'
additionalProperties:
type: object
properties:
tag:
type: string
accn:
type: string
form:
type: string
filed:
type: string
format: date
derived:
type: string
inputs:
type: array
items:
type: string
inputTags:
type: array
items:
type: string
description: 'The two tags of one filing behind a derived shares-outstanding value, in `inputs` order: issued less treasury (subtrahend, minuend), or issued corroborated by the cover-page count (corroborating, served).'
scale:
type: object
properties:
factor:
type: number
rule:
type: string
required:
- factor
- rule
description: 'A share count the filer tagged at the wrong scale, multiplied by `factor`: the same period''s EPS and net income agree with it only at that factor.'
filerCik:
type: string
description: 'The CIK the accession is filed under: the response''s `cik`, except for a successor registrant''s history (its predecessor''s filings).'
inputFilerCiks:
type: array
items:
type:
- string
- 'null'
description: 'A derived value whose inputs were filed under different CIKs: their CIKs, in `inputs` order.'
required:
- tag
- accn
- form
- filed
required:
- fiscalYear
- fiscalPeriod
- periodEnd
- metrics
- provenance
StatementResponse:
type: object
properties:
symbol:
type: string
entityName:
type:
- string
- 'null'
cik:
type:
- string
- 'null'
statement:
type: string
enum:
- income-statement
- balance-sheet
- cash-flow
period:
type: string
enum:
- annual
- quarterly
currency:
type: string
const: USD
source:
type: string
asOf:
type:
- string
- 'null'
methodology:
type: string
status:
type: string
enum:
- preparing
- unavailable
description: Absent when rows are served. preparing = covered, EDGAR ingestion pending; unavailable = honest terminal state (ETF / IFRS / non-USD filer).
reason:
type: string
note:
type: string
concepts:
type: array
items:
type: object
properties:
key:
type: string
label:
type: string
unit:
type: string
enum:
- USD
- USD/shares
- shares
tags:
type: array
items:
type: string
note:
type: string
description: 'Present only on a quarterly statement''s concepts that are never derived (per-share values, weighted share counts): a quarter is served only where a filing states it, so the fourth quarter is usually null.'
required:
- key
- label
- unit
- tags
rows:
description: Statement rows, newest first. null while status is preparing/unavailable.
oneOf:
- type: array
items:
$ref: '#/components/schemas/StatementRow'
- type: 'null'
links:
type: object
required:
- symbol
- statement
- period
- currency
- source
- methodology
- concepts
- rows
securitySchemes:
apiKey:
type: http
scheme: bearer
bearerFormat: tgm_live_…
description: 'Developer API key (also accepted as an x-api-key header), required for data calls. Free: mint one at https://tgmcharts.com/developers/keys with Google or a confirmed email, no card. Keyed requests are metered against the account''s tier quota and bypass the shared edge cache.'
x-tgmcharts-metrics:
- slug: pe-ratio
label: P/E Ratio
description: Price to trailing-twelve-month diluted earnings per share.
unit: ratio
basis: daily
methodology: Daily valuation history computed by TGMCharts using supplied filing versions, eligible from the trading session after their publication day. Market-cap and enterprise-value histories use statement-period weighted-share estimates; current quote-based valuations have a separate basis. Missing inputs and undelivered historical filing versions cannot be reconstructed.
series: true
chart: true
- slug: ps-ratio
label: P/S Ratio
description: Price to trailing-twelve-month revenue per share.
unit: ratio
basis: daily
methodology: Daily valuation history computed by TGMCharts using supplied filing versions, eligible from the trading session after their publication day. Market-cap and enterprise-value histories use statement-period weighted-share estimates; current quote-based valuations have a separate basis. Missing inputs and undelivered historical filing versions cannot be reconstructed.
series: true
chart: true
- slug: pb-ratio
label: P/B Ratio
description: Price to book value per share, where book value is the book value attributable to common shareholders (total equity minus preferred stock).
unit: ratio
basis: daily
methodology: Daily valuation history computed by TGMCharts using supplied filing versions, eligible from the trading session after their publication day. Market-cap and enterprise-value histories use statement-period weighted-share estimates; current quote-based valuations have a separate basis. Missing inputs and undelivered historical filing versions cannot be reconstructed.
series: true
chart: true
- slug: pfcf-ratio
label: P/FCF Ratio
description: Price to trailing-twelve-month free cash flow per share.
unit: ratio
basis: daily
methodology: Daily valuation history computed by TGMCharts using supplied filing versions, eligible from the trading session after their publication day. Market-cap and enterprise-value histories use statement-period weighted-share estimates; current quote-based valuations have a separate basis. Missing inputs and undelivered historical filing versions cannot be reconstructed.
series: true
chart: true
# --- truncated at 32 KB (51 KB total) ---
# Full source: https://artifacts.apis.io/tgmcharts-com/openapi/tgmcharts-com-statements-api-openapi.yml