All Insights
KOAPI ShowcaseEarningsDeep Dive

Inside the StockFit Earnings APIs: A Deep Dive

A guided tour of eight endpoints that turn an SEC filer's earnings cadence, EPS history, dividend track record, and quality metrics into structured data — using Coca-Cola (KO) as the canvas.

Generated April 28, 202612 min read

Disclaimer: This analysis is AI-generated from SEC filing data via the StockFit API. It is not financial advice. All figures reflect data as filed with the SEC and may not include the most recent quarterly results. Do your own research before making investment decisions.

Data sourced from EDGAR XBRL filings. Generated on April 28, 2026.

The StockFit Earnings APIs cover the full lifecycle of a public company's earnings cadence: when the next print lands, what the headline numbers were, how EPS has evolved, whether earnings convert to cash, what the multi-year trends look like, and what the dividend track record says. Eight endpoints, all parsed straight from SEC filings (10-K, 10-Q), all callable by ticker or CIK. To make this concrete, this post walks through each endpoint with one ticker as the canvas: The Coca-Cola Company (KO) — a 62-year dividend grower with one famously broken EPS year that perfectly demonstrates why these endpoints exist as a set rather than a single “earnings” call.

Eight endpoints, one ticker. Each section opens with the endpoint badge — click it to jump to the live Swagger reference. KO's next earnings print is predicted for April 28, 2026 — exactly when this post was generated, which we'll see surfaced by the calendar endpoint below.

1. The one-call summary

Snapshot is the executive-summary endpoint. One call returns the most recent fiscal year's headline numbers — EPS, revenue, all three margin tiers, returns, free cash flow, growth rates, the Piotroski F-Score, and the predicted next earnings/filing dates. It's designed to be the single backing call for a leaderboard widget, a watchlist row, or an LLM prompt that needs to know “the current state” in a few hundred bytes.

KO — FY2025 snapshot

Revenue
$47.9B
Net Income
$13.1B
EPS (Diluted)
$3.04
Gross Margin
61.6%
Operating Margin
28.7%
Net Margin
27.3%
Return on Equity
46.0%
ROIC
18.8%
Free Cash Flow
$5.3B
FCF / Net Income
40.4%
Revenue Growth
+1.9%
EPS Growth
+23.5%

Twelve numbers, one HTTP call. The 23.5% EPS jump on 1.9% revenue growth is the headline — operating leverage and tighter share count both contributing. Snapshot also returns a Piotroski F-Score of 7/9 (a strong fundamental-quality reading) and the next predicted earnings date.

2. When does the company report?

Two endpoints share a job. Date returns the predicted next earnings date for one symbol; Calendar takes up to 50 symbols in a single call and returns the full set. Dates are predicted from each company's historical filing cadence (most US filers report on a tight rhythm), so they may shift by a day or two from the actual announcement.

KO — next earnings & filing

Predicted earnings
2026-04-28
Predicted 10-Q filing
2026-04-30

Calendar — KO peer beverage cluster

SymbolPredicted EarningsPredicted FilingFiling Type
KO2026-04-282026-04-3010-Q
CELH2026-05-052026-05-0510-Q
MNST2026-05-072026-05-0810-Q
PEP2026-07-162026-07-1610-Q
KDP2026-07-232026-07-2310-Q

One call returned the full beverage-sector reporting calendar. Spread is wide: KO and the energy-drink names report in late April / early May, the bottler-heavy PEP and KDP not until mid-July. For portfolio-level dashboards, this batched format is what makes a real calendar widget cheap to build.

3. The full EPS trail

EPS History returns the per-period EPS series with both basic and diluted values, net income, the diluted share count, and year-over-year growth. Useful for charts, but more useful for the share-count column — that's where buyback effects on EPS become visible.

Fiscal YearEPS (Diluted)Net IncomeDiluted SharesGrowth
FY2016$1.49$6.5B4.37B-10.7%
FY2017$0.29$1.2B4.32B-80.8%
FY2018$1.50$6.4B4.30B+420.7%
FY2019$2.07$8.9B4.31B+38.4%
FY2020$1.79$7.7B4.32B-13.9%
FY2021$2.25$9.8B4.34B+25.6%
FY2022$2.19$9.5B4.35B-2.6%
FY2023$2.47$10.7B4.34B+12.7%
FY2024$2.46$10.6B4.32B-0.4%
FY2025$3.04$13.1B4.31B+23.5%

FY2017 stands out: EPS of $0.29, an 80.8% drop from the prior year — driven by the Tax Cuts & Jobs Act transition charge and bottler refranchising activity. FY2018 then bounced +421%. Either of those numbers in isolation is misleading, which is exactly why the next two endpoints exist.

4. Chart-ready EPS & net margin

EPS Chart returns the same data as EPS History but reshaped for visualization libraries: a periods array, parallel series arrays for absolute values (EPS, Net Income), and a rates array for derived percentages (Net Margin). Drop straight into Recharts, ECharts, or D3 without preprocessing.

Net margin trajectory (10-year)

Fiscal YearNet IncomeNet MarginDirection
FY2016$6.5B15.6%
FY2017$1.2B3.4%↓ tax act + refranchising
FY2018$6.4B18.8%↑ recovery
FY2019$8.9B23.9%
FY2020$7.7B23.5%→ pandemic
FY2021$9.8B25.3%
FY2022$9.5B22.2%↓ FX headwind
FY2023$10.7B23.4%
FY2024$10.6B22.6%
FY2025$13.1B27.3%↑ new high

Net margin nearly doubled from 15.6% to 27.3% across the decade, with FY2025 setting a new historical high (the trends endpoint confirms this with historicalMaxNetMargin: 27.3). Bottler refranchising structurally shifted the business mix toward higher-margin concentrate sales — the chart endpoint doesn't explain why, but it makes the shape obvious.

5. Multi-year CAGRs & margin direction

Trends compresses the multi-year picture into a single response: 3-year and 5-year CAGRs for revenue, net income, EPS, and free cash flow; margin direction (expanding / stable / contracting) computed against a 3-year-ago baseline; net-margin volatility (historical vs recent); and quality flags. This is the endpoint that sees through the FY2017 anomaly without you having to write the smoothing logic.

5-Year CAGRs

7.7%
Revenue
11.1%
Net Income
11.1%
EPS
11.5%
3Y EPS
Margin3Y AgoLatestDirection
Gross58.1%61.6%Expanding
Operating25.4%28.7%Expanding
Net22.2%27.3%Expanding

Two facts the trends endpoint surfaces directly: (1) all three margin tiers are expanding, and (2) the 5-year EPS CAGR (11.1%) is meaningfully ahead of the revenue CAGR (7.7%) — operating leverage at work. The endpoint also reports net-margin volatility of 6.2 historically vs 1.9 recently, signaling that the post-2017 business is structurally more stable than the longer-history numbers suggest.

6. Earnings quality — do they convert to cash?

Quality Chart juxtaposes net income with operating cash flow and free cash flow over time, plus the OCF/Net Income and FCF/Net Income ratios. A persistent ratio below ~0.8 is a textbook earnings-quality red flag (accruals running ahead of cash). It's the kind of derived signal that's annoying to compute on every chart but drives the most actionable alerts.

Fiscal YearNet IncomeOperating CFFree CFOCF / NIFCF / NI
FY2016$6.5B$8.8B$6.5B1.35x1.00x
FY2017$1.2B$7.0B$5.3B5.64x4.24x
FY2018$6.4B$7.6B$6.1B1.19x0.94x
FY2019$8.9B$10.5B$8.4B1.17x0.94x
FY2020$7.7B$9.8B$8.7B1.27x1.12x
FY2021$9.8B$12.6B$11.3B1.29x1.15x
FY2022$9.5B$11.0B$9.5B1.15x1.00x
FY2023$10.7B$11.6B$9.7B1.08x0.91x
FY2024$10.6B$6.8B$4.7B0.64x0.45x
FY2025$13.1B$7.4B$5.3B0.57x0.40x

OCF/NI ran 1.0–1.3x for years, then dropped to 0.64x in FY2024 and 0.57x in FY2025. That's a real signal: net income is growing while cash from operations isn't keeping pace — a working-capital story worth understanding before reacting. The quality endpoint surfaces it without you needing to merge two financial statements together.

7. The dividend track record

Dividend History returns per-share dividend amounts, total dividends paid, payout ratio (dividends / net income), dividend coverage (operating cash flow / dividends paid), and year-over-year dividend growth. KO is a Dividend King with a 62-year increase streak; the endpoint exposes every dimension you'd want for a dividend-safety scorecard.

Fiscal YearDiv / ShareTotal PaidPayout RatioCoverageGrowth
FY2016$1.40$6.0B92.6%1.45x+6.1%
FY2017$1.48$6.3B506.4%1.11x+5.7%
FY2018$1.56$6.6B103.3%1.15x+5.5%
FY2019$1.60$6.8B76.7%1.53x+2.6%
FY2020$1.64$7.0B91.0%1.40x+2.5%
FY2021$1.68$7.3B74.2%1.74x+2.4%
FY2022$1.76$7.6B79.8%1.45x+4.7%
FY2023$1.84$8.0B74.2%1.46x+4.5%
FY2024$1.94$8.4B78.6%0.81x+5.5%
FY2025$2.04$8.8B67.0%0.84x+5.2%

Two stories in one table. First, FY2017's payout ratio of 506%: the dividend didn't change, but the EPS denominator collapsed — a textbook case of why a single-year payout ratio can't be read in isolation. Second, dividend coverage (the ratio of operating cash flow to dividends paid) has tightened from 1.45x in FY2016 to 0.84x in FY2025. Below 1.0 means OCF alone no longer covers the dividend; the company is funding the gap from the balance sheet or financing.

The dividend itself, though, has gone up every single year on the table — 19 of 19 in this window. The endpoint's job is to surface both signals at once: the streak and the tightening coverage. Whether that's a concern is a judgment call; whether the data shows it should not be.

What you can build with this

Eight endpoints, one consistent shape (all keyed by symbol or cik, all returning JSON with a stable schema). A few small ideas that compose them:

A pre-earnings briefing email

Cron job runs daily. Pull /earnings/calendar for your watchlist (50 symbols at a time). For any symbol reporting in the next 3 days, fan out to /earnings/snapshot + /earnings/trends to assemble a one-pager — what to expect, the multi-year context, and the latest margin direction.

earnings/calendarearnings/snapshotearnings/trends

A dividend-safety scorecard

Pull /earnings/dividend-history for every dividend-paying symbol on your list. Sort by coverage (descending) and payout-ratio trend. Flag any symbol where coverage has dropped from > 1.5x to < 1.0x over a 3-year window — that's the early warning.

earnings/dividend-history

An earnings-quality watchlist

Pull /earnings/chart/quality for every long position. Alert when OCF/Net Income drops below 0.7x for two consecutive years — like KO in FY2024–FY2025. Distinguishes accrual-driven growth from real cash earnings.

earnings/chart/quality

A “don't panic” YoY dashboard

When /earnings/eps-history shows a single-year growth above 100% or below -50%, automatically pull /earnings/trends to display the 3y/5y CAGR alongside it. The CAGR sees through the anomaly; the YoY headline does not.

earnings/eps-historyearnings/trends

A cluster-reporting calendar widget

Group your portfolio by sector. For each cluster, call /earnings/calendar with all the tickers and render the timeline. Beverage names like KO, PEP, MNST, KDP, CELH spread across April–July — knowing the spread helps you plan attention budget for the season.

earnings/calendar

Charts without preprocessing

Both /earnings/chart/eps and /earnings/chart/quality return shape-ready data: a periods array, parallel series arrays for absolute values, a rates array for percentages. Wire it into Recharts or ECharts in 10 lines — the API does the reshape for you.

earnings/chart/epsearnings/chart/quality

The bottom line

The Earnings group is eight endpoints because the question “how is this company doing on earnings?” is actually eight smaller questions. When does this company report? When does my whole watchlist report? What were the latest headline numbers? How did EPS evolve year by year? How do I drop that history straight into a chart? What's the multi-year shape? Does net income convert to cash? What's the dividend coverage? Each endpoint answers one of them in a stable, batched, JSON shape — no scraping, no synthetic numbers, no aggregator middleware.

KO made a useful canvas because its FY2017 EPS collapse breaks every shortcut you might take with raw EPS data, and its 19-year-clean dividend record stress-tests the dividend endpoint. The same eight endpoints work identically for any other US-listed company — symbol=KO swaps to symbol=PEP and the page regenerates against PEP's data instead.

Next KO catalyst: the very call this post predicts — Q1 2026 earnings on April 28, 2026.

Try it yourself

Every endpoint shown above is documented in the live Earnings tag of the Swagger reference. The free tier covers Snapshot, Date, Calendar, EPS History, EPS Chart, Trends, Quality, and Dividend History — the full Earnings group. Higher tiers unlock the audit-grade Economic Model, ETF analytics, and ownership endpoints.

Get your free API key →