All Insights
AAPLAPI ShowcaseSEC FilingsDeep Dive

Inside the StockFit Company APIs: A Deep Dive

A guided tour of twelve endpoints that turn SEC filings into structured business intelligence — using Apple (AAPL) as the canvas.

Generated April 28, 202613 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 Company APIs cover everything you need to research a US-listed business straight from its SEC filings: who it is, what it sells, how it makes money, what its numbers look like over time, who owns it, and what insiders are doing with their shares. To make this concrete, this post walks through each endpoint group with one ticker as the canvas: Apple Inc. (AAPL). Every number below is a real response from the live API, every section links back to its Swagger docs, and a short “ideas to build with this” section closes the tour.

Twelve endpoints were called to assemble this page. Everything is parsed from SEC EDGAR (10-K, 10-Q, DEF 14A, Form 3/4/5) and normalized into clean JSON. No third-party aggregators, no “adjusted” numbers.

1. Who is the company?

The starting point. Company Details returns the cleaned profile: legal name, CIK, SIC industry, sector, fiscal-year-end, exchange listings, IR website, and a markdown business overview. It is the first call most integrations make because every other endpoint can be addressed by the same cik or symbol.

Company
Apple Inc.
CIK
320193
Headquarters
Cupertino, CA
Exchange
Nasdaq
Industry
Electronic Computer Mfg.
Sector
Manufacturing
SIC Code
3571
Fiscal Year End
September 26

Notice the fiscal year end: September 26, not December 31. Apple, Costco (August), and many others run non-calendar fiscal years — every downstream financial endpoint already handles this correctly so the “FY2025” label is the company's own definition, not a calendar approximation.

2. Five years of income

Income Statement returns normalized line items — revenue, cost of revenue, gross profit, R&D, SG&A, operating income, EBITDA, net income, EPS basic and diluted — mapped from raw XBRL to a curated set of standardized concepts. Pass period=annual, quarter, or ttm.

Fiscal YearRevenueGross ProfitOp. IncomeNet IncomeEPS (Diluted)
FY2021$365.8B$152.8B$108.9B$94.7B$5.61
FY2022$394.3B$170.8B$119.4B$99.8B$6.11
FY2023$383.3B$169.1B$114.3B$97.0B$6.13
FY2024$391.0B$180.7B$123.2B$93.7B$6.08
FY2025$416.2B$195.2B$133.1B$112.0B$7.46

The arc is visible in five rows: the FY2023 dip ($383B revenue, down from FY2022), two recovery years, and a fresh high in FY2025 of $416B revenue and $112B net income. Every line traces back to the underlying 10-K filing — the response includes a sources map listing exactly which accession number each fact came from.

3. Year-over-year growth rates

Computing growth is mechanical, but doing it correctly across non-calendar fiscal years and reconstructed Q4s is fiddly. Growth handles both, returning year-over-year deltas for revenue, gross profit, operating income, net income, EPS, EBITDA, free cash flow, total assets, equity, and operating cash flow.

Fiscal YearRevenueNet IncomeEPSFCFOp. Income
FY2021+33.3%+64.9%+71.3%+26.7%+64.4%
FY2022+7.8%+5.4%+8.5%+19.9%+9.6%
FY2023-2.8%-2.8%+0.2%-10.6%-4.3%
FY2024+2.0%-3.4%-0.8%+9.3%+7.8%
FY2025+6.4%+19.5%+22.6%-9.2%+8.0%

Read FY2025 closely: revenue grew +6.4%, but net income jumped +19.5% and EPS jumped +22.6%. The wedge between revenue growth and EPS growth is operating leverage plus the buyback effect — we'll see that show up explicitly in the EPS history endpoint below.

4. Multi-year CAGRs and margin direction

For longer-horizon analysis, Earnings Trends returns 3-year and 5-year CAGRs for revenue, net income, EPS, and free cash flow, plus a margin-direction classification (expanding, stable, contracting) computed against a 3-year-ago baseline.

Compound Annual Growth (5-Year)

8.7%
Revenue
14.3%
Net Income
17.7%
EPS
1.8%
3Y Rev. CAGR
Margin3Y AgoLatestDirection
Gross43.3%46.9%Expanding
Operating30.3%32.0%Expanding
Net25.3%26.9%Expanding

Two facts that are immediately useful: (1) all three margin tiers are expanding over a 3-year window, and (2) the 5-year EPS CAGR (17.7%) is roughly double the revenue CAGR (8.7%). The gap is the buyback flywheel — share count is the missing variable.

5. Sector-aware key metrics

Key Metrics returns three blocks per period: general (40+ ratios every company has — margins, returns, leverage, liquidity, per-share, turnover), sectorMetrics (a metric pack tailored to the company's SIC-derived sector), and industryMetrics (a deeper pack for eight specialized industries).

General — profitability & returns (FY2025)

Gross Margin
46.9%
Operating Margin
32.0%
Net Margin
26.9%
Return on Equity
171.4%
ROIC
88.6%
Free Cash Flow Margin
23.7%

That 171% ROE looks impossible for a hardware company. It is real, and the explanation lives one endpoint away on the balance sheet — nine years of buybacks have shrunk Apple's equity base so aggressively that the denominator is tiny relative to net income. We'll see the mechanism on the next endpoint.

Sector pack — manufacturing-specific (FY2025)

Inventory Turnover
34.0x
Days Inventory
10.7 days
DSO (Receivables)
32.1 days
DPO (Payables)
114.7 days
Cash Conversion Cycle
-71.8 days
CapEx / Revenue
3.1%

The cash conversion cycle is negative 71.8 days. Apple collects from customers in 32 days, holds inventory for 11 days, and takes 115 days to pay its suppliers. In effect, suppliers are financing Apple's working capital. That single number reframes how you think about the cash-generating engine of the business — and it's the kind of insight that lives in the sector pack, not the general one, because it depends on having receivables, payables, and inventory all in the same response.

6. Balance sheet

Balance Sheet returns assets, liabilities, equity, debt, cash, and working capital exactly as filed. Three years of history makes the buyback story land.

Fiscal YearTotal AssetsTotal DebtCashStockholders' EquityRetained Earnings
FY2023$352.6B$106.6B$30.0B$62.1B-$214M
FY2024$365.0B$97.3B$29.9B$57.0B-$19.2B
FY2025$359.2B$91.3B$35.9B$73.7B-$14.3B

Look at the retained earnings column: it has been negative for years. That isn't accumulated losses — Apple is wildly profitable. It's the result of returning more cash to shareholders than the company has accumulated in retained earnings since inception. FY2025 alone saw $89.3B in buybacks and $15.4B in dividends (we'll see this in the economic model below). Equity stays small, so ROE explodes.

7. Earnings snapshot & EPS history

Earnings Snapshot is a one-call executive summary of the most recent fiscal year — EPS, margins, returns, FCF, growth, the Piotroski F-score, and predicted next earnings/filing dates. EPS History returns the per-period EPS series with share counts, so you can see exactly how buybacks compound into EPS.

Fiscal YearEPS (Diluted)Net IncomeDiluted SharesEPS Growth
FY2021$5.61$94.7B16.86B+71.3%
FY2022$6.11$99.8B16.33B+8.5%
FY2023$6.13$97.0B15.81B+0.2%
FY2024$6.08$93.7B15.41B-0.8%
FY2025$7.46$112.0B15.00B+22.6%

Diluted share count fell from 16.86B to 15.00B over five years — an 11% reduction. Combined with FY2025's net-income jump, that's how a 6.4% revenue increase translates into a 22.6% EPS increase. The next predicted earnings date in the snapshot response: 2026-04-30.

8. Financial health scores

Scores returns the Piotroski F-Score (0–9) with the per-criterion breakdown, plus the Altman Z-Score where applicable. Both are standard academic measures of fundamental quality.

8
/ 9 Piotroski F-Score (FY2025)
Positive net income
Positive operating cash flow
Rising ROA
Cash flow exceeds net income
Declining leverage
Rising current ratio
No share dilution
Rising gross margin
Rising asset turnover

Eight of nine criteria pass — a strong reading on a backward-looking quality lens. The granular breakdown is what makes this useful in code: instead of a single score, you can branch on which specific dimensions a company fails (e.g. screen for “rising ROA AND no dilution AND rising gross margin”).

9. The audit-grade economic model

This is where StockFit goes well past stock-screener territory. The Economic Model is a structured, AI-assembled, citation-verified breakdown of how a business actually works. Every claim ships with a verbatim quote pulled from the 10-K (with the section it came from), so an LLM consuming this endpoint never has to guess. Each block is also exposed individually for narrower queries: business model, offerings, operating levers, competitive advantages, flywheels, strategic initiatives, failure modes, and peers.

Product & service portfolio

OfferingTypeMonetizationMarginRole
iPhoneProductOne-timeMidCore
MacProductOne-timeMidAdjacent
iPadProductOne-timeMidAdjacent
Wearables / Home / Acc.BundleOne-timeMidGrowth
App StorePlatformTransactionHighCore
Subscription ServicesServiceSubscriptionHighGrowth
iCloudServiceSubscriptionHighCore
AppleCareServiceSubscriptionMidAdjacent
AdvertisingServiceAdsHighGrowth
Apple Pay / Apple CardServiceOtherAdjacent

Ten offerings, each tagged with its monetization model and margin profile. Notice the clean split: hardware is “mid” margin and one-time, services are “high” margin and recurring. The economic model captures this without you having to read the 10-K.

Structural advantages (moats)

Integrated hardware–OS–apps–services design

Switching CostStrong

Apple designs and develops nearly the entire solution across hardware, operating system, software, and services. Tight integration drives a cohesive experience and raises switching frictions.

Third-party developer ecosystem

Network EffectModerate

Customer device decisions depend partly on third-party apps and services. The bigger the installed base, the more developers ship to the platform, the more attractive the device.

Services mix economics

Scale EconomyStrong

Services gross margin (75.4% in FY2025) is materially higher than products. Scaling Services contribution structurally lifts the company-wide gross margin.

Ecosystem flywheel

Devices → Platform → Developers → Devices

Growth
More Apple devices soldMore App Store / content usageMore developer supportStronger device value

Strategic initiatives (2025–2026)

InitiativeStageImpactHorizon
EU DMA compliance changes (iOS, App Store, Safari)ScalingMajorMedium
Epic Games injunction — App Store rule changesScalingMajorShort
Tariff mitigation across cost & supply chainScalingModerateMedium

These three initiatives didn't come from a press release roundup — they were extracted from the FY2025 10-K's Risk Factors and MD&A sections, with the exact 10-K passages preserved as citations in the API response. That citation discipline is what audit-grade means in practice.

Capital allocation

Orientation: balanced — sustained R&D investment alongside large, ongoing capital return.

FY2025 priorities, as captured by the model:

  • Fund operations & R&D ($34.6B in FY2025, +10% YoY)
  • Invest in property, plant and equipment
  • Return capital via buybacks ($89.3B) and dividends ($15.4B)
  • Maintain liquidity and access to debt markets

What could go wrong

Failure to manage frequent product/service transitions

Inability to develop or launch new offerings, or to manage ramps and inventory, can reduce demand and pressure margins.

Supply shortages or component price increases

Single-source and limited-source components create availability constraints and cost-spike risk that hit shipments and gross margin.

Regulatory actions forcing platform changes

Antitrust and DMA outcomes can force changes that reduce Services revenue and increase compliance cost.

10. Peer landscape

Sourced from the same audit-grade economic model. Each peer entry includes the relationship type, a short rationale, the comparable segments to focus on, and explicit guidance on what not to compare on (because hardware-vs-cloud margin comparisons mislead more often than they help).

PeerRelationshipCompare On
MSFTClosest economic analogTotal revenue, services/subscription revenue, gross margin
GOOGLAdjacent competitorAdvertising revenue, platform regulation exposure
AMZNBenchmark onlySubscription services revenue, FCF
SONYAdjacent competitorConsumer electronics, digital content/services
HPQSecondary — PC HWPC hardware compete (lower-margin economics)
DELLSecondary — PC HWPC and enterprise hardware demand cycles
NVDASecondary — supplierComponent availability and AI compute trends

The model also returns a comparisonFramework.doNotCompareOn field, which for AAPL flags “total unit shipments without ASP normalization” and “overall operating margin vs hardware-only peers.” Useful guardrails when programmatically constructing comparisons.

11. Ownership

Ownership Summary aggregates 13F filings into the institutional ownership picture: total holder count, percent of shares outstanding, top holders, and the largest quarter-over-quarter movers in both directions.

Apple has 5,302 institutional holders reporting 57.3% of shares outstanding (8.4B shares, ~$2.14T in reported value, as of 2025-12-31).

HolderShares% OutstandingValue
Vanguard Group1.46B9.93%$392.0B
BlackRock1.16B7.86%$314.0B
State Street604M4.11%$164.2B
Geode Capital365M2.48%$98.0B
FMR (Fidelity)314M2.14%$84.4B
Morgan Stanley235M1.60%$63.3B
JPMorgan Chase229M1.56%$61.7B
Norges Bank200M1.36%$53.3B

The endpoint also surfaces QoQ movers: AllianceBernstein increased its position by 39.9%, Capital International by 28.2%, and Capital Research Global Investors by 21.7%. On the sell side, Barclays cut its position by 39.3% (-22.6M shares). Useful for tracking smart-money flow at a point-in-time granularity that 13F filings make possible.

12. Insider activity

Insider Summary aggregates Form 3/4/5 filings over rolling 3-, 6-, and 12-month windows. Buys vs sells, share counts, dollar values, and unique-actor counts — everything you need for an oversight or signal layer without writing the aggregation yourself.

WindowBuysSellsNet SharesSell ValueUnique Sellers
3 months09-96,485$25M3
6 months010-100,237$26M4
12 months027-453,844$113M6

Zero insider buys across all three windows, with $112.8M of selling spread across six unique sellers over twelve months. For a company at AAPL's scale, this is the typical pattern of executives monetizing planned vesting through 10b5-1 programs — the absence of buys is informative on its own.

What you can build with this

Twelve endpoints, one ticker. Compose them and the surface area is large. A few small ideas to make this concrete:

A weekly “earnings cliff-notes” email

When `earnings/snapshot` shows a new fiscal period, fan out to `financials/income-statement`, `financials/growth`, and `earnings/trends` to assemble a one-pager. Diff vs the prior period and ship the deltas.

earnings/snapshotfinancials/income-statementfinancials/growthearnings/trends

A negative-CCC screener

Pull `financials/key-metrics` (sector pack) for your watchlist, sort by `ccc` ascending. The companies at the top run negative working-capital businesses: suppliers fund them. Apple, Costco, ServiceNow.

financials/key-metrics

A buyback-driven EPS attribution chart

Combine `earnings/eps-history` (share count by year) with `financials/income-statement` (net income). Compute “EPS at flat share count” vs reported EPS — the gap is the buyback contribution. Chart it across a portfolio.

earnings/eps-historyfinancials/income-statement

An LLM research agent that cites SEC filings

Hand `company/economic-model` to your agent as the system context. Every claim about the business comes pre-cited with the 10-K section and verbatim quote — no hallucinations about strategic initiatives or failure modes.

company/economic-modelcompany/business-modelcompany/competitive-advantagescompany/strategic-initiatives

A peer-aware comparison view

`company/peers` returns relationship type and explicit do-not-compare-on guidance. Use it to build comparison tables that don't mislead by stacking PC OEMs against software companies.

company/peersfinancials/key-metrics

An insider-conviction signal

`insider-transactions/summary` deltas are simple to act on: a sudden cluster of insider buys after a quiet period is a real-money signal. Pair with `ownership/summary` QoQ movers for a full smart-money view.

insider-transactions/summaryownership/summary

The bottom line

Twelve endpoints, sourced entirely from SEC EDGAR, gave us a complete picture of Apple: who it is, five years of normalized financials, sector-aware ratios that surfaced the negative cash-conversion cycle, the balance-sheet mechanics behind a 171% ROE, an audit-grade business model with cited strategic initiatives, the institutional ownership map, and the insider activity feed.

Every fact above traces back to a specific filing. No third-party aggregators, no synthetic numbers. The same twelve endpoints work identically for any other US-listed company — substitute symbol=AAPL for symbol=MSFT and the entire post regenerates.

That is the point of an API.

Try it yourself

Every endpoint shown above is documented in the live Swagger reference. The free tier covers company details, financial statements, growth, key metrics, scores, earnings, and EPS history. Paid tiers add the audit-grade economic model, ownership, insider transactions, and ETF endpoints.

Get your free API key →