SEC API docs ▾

Share count dilution over time from XBRL

Uses Financial statements

The financials endpoint carries incomeStatement.sharesDiluted on every period. A share count that climbs every year while revenue doesn't is dilution paying the bills; one that falls is a buyback doing its work.

Diluted shares by year for one company

How have Apple's revenue, free cash flow and diluted share count changed by year?

Annual records carry the diluted share count next to the cash flow, so dilution and buybacks show up year by year.

shell
curl -X POST https://www.quantisnow.com/api/v1/financials \
  -H "Authorization: Bearer $QUANTISNOW_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "query": "ticker:AAPL AND fiscalPeriod:FY",
  "from": 0,
  "size": 5,
  "sort": [
    {
      "fiscalYear": {
        "order": "desc"
      }
    }
  ]
}'

15 matches, first 5

  1. AAPL logo
    AAPLApple Inc. FY 2026Revenue $478.8B · net income $132.2B · free cash flow $136.1B$478.8B
  2. AAPL logo
    AAPLApple Inc. FY 2025Revenue $416.2B · net income $112.0B · free cash flow $98.8B$416.2B
  3. AAPL logo
    AAPLApple Inc. FY 2024Revenue $391.0B · net income $93.7B · free cash flow $108.8B$391.0B
  4. AAPL logo
    AAPLApple Inc. FY 2023Revenue $383.3B · net income $97.0B · free cash flow $99.6B$383.3B
  5. AAPL logo
    AAPLApple Inc. FY 2022Revenue $394.3B · net income $99.8B · free cash flow $111.4B$394.3B
The JSON it returned
200 OK · 15 matches · first 5
{
  "total": {
    "value": 15,
    "relation": "eq"
  },
  "data": [
    {
      "id": "0000320193:2026:FY",
      "cik": "0000320193",
      "ticker": "AAPL",
      "companyName": "Apple Inc.",
      "fiscalYear": 2026,
      "fiscalPeriod": "FY",
      "periodStart": "2025-09-28",
      "periodEnd": "2026-09-26",
      "filedOn": "2026-11-03",
      "form": "10-K",
      "accessionNo": "0000320193-26-000026",
      "sector": "Technology",
      "currency": "USD",
      "derived": false,
      "incomeStatement": {
        "revenue": 478834000000,
        "costOfRevenue": 245232000000,
        "grossProfit": 233602000000,
        "researchDevelopment": 45765000000,
        "sellingGeneralAdmin": 29774000000,
        "operatingIncome": 158063000000,
        "interestExpense": null,
        "pretaxIncome": 159237000000,
        "incomeTax": 27062000000,
        "netIncome": 132175000000,
        "epsBasic": 9.01,
        "epsDiluted": 8.98,
        "sharesDiluted": 14720306000
      },
      "balanceSheet": {
        "cash": 36305000000,
        "shortTermInvestments": 20417000000,
        "receivables": 43817000000,
        "inventory": 14541000000,
        "currentAssets": 173857000000,
        "goodwill": null,
        "totalAssets": 404548000000,
        "currentLiabilities": 169915000000,
        "shortTermDebt": 9906000000,
        "longTermDebt": 68208000000,
        "totalDebt": 78114000000,
        "totalLiabilities": 292455000000,
        "equity": 112093000000
      },
      "cashFlow": {
        "operatingCashFlow": 145097000000,
        "investingCashFlow": -17280000000,
        "financingCashFlow": -127446000000,
        "capex": 9041000000,
        "freeCashFlow": 136056000000,
        "dividendsPaid": 15721000000,
        "shareRepurchases": 86390000000,
        "stockCompensation": 13789000000,
        "depreciation": 13423000000
      }
    },
    {
      "id": "0000320193:2025:FY",
      "cik": "0000320193",
      "ticker": "AAPL",
      "companyName": "Apple Inc.",
      "fiscalYear": 2025,
      "fiscalPeriod": "FY",
      "periodStart": "2024-09-29",
      "periodEnd": "2025-09-27",
      "filedOn": "2026-11-03",
      "form": "10-K",
      "accessionNo": "0000320193-26-000026",
      "sector": "Technology",
      "currency": "USD",
      "derived": false,
      "incomeStatement": {
        "revenue": 416161000000,
        "costOfRevenue": 220960000000,
        "grossProfit": 195201000000,
        "researchDevelopment": 34550000000,
        "sellingGeneralAdmin": 27601000000,
        "operatingIncome": 133050000000,
        "interestExpense": null,
        "pretaxIncome": 132729000000,
        "incomeTax": 20719000000,
        "netIncome": 112010000000,
        "epsBasic": 7.49,
        "epsDiluted": 7.46,
        "sharesDiluted": 15004697000
      },
      "balanceSheet": {
        "cash": 35934000000,
        "shortTermInvestments": 18763000000,
        "receivables": 39777000000,
        "inventory": 5718000000,
        "currentAssets": 147957000000,
        "goodwill": null,
        "totalAssets": 359241000000,
        "currentLiabilities": 165631000000,
        "shortTermDebt": 12350000000,
        "longTermDebt": 78328000000,
        "totalDebt": 90678000000,
        "totalLiabilities": 285508000000,
        "equity": 73733000000
      },
      "cashFlow": {
        "operatingCashFlow": 111482000000,
        "investingCashFlow": 15195000000,
        "financingCashFlow": -120686000000,
        "capex": 12715000000,
        "freeCashFlow": 98767000000,
        "dividendsPaid": 15421000000,
        "shareRepurchases": 90711000000,
        "stockCompensation": 12863000000,
        "depreciation": 11698000000
      }
    },
    {
      "id": "0000320193:2024:FY",
      "cik": "0000320193",
      "ticker": "AAPL",
      "companyName": "Apple Inc.",
      "fiscalYear": 2024,
      "fiscalPeriod": "FY",
      "periodStart": "2023-10-01",
      "periodEnd": "2024-09-28",
      "filedOn": "2026-11-03",
      "form": "10-K",
      "accessionNo": "0000320193-26-000026",
      "sector": "Technology",
      "currency": "USD",
      "derived": false,
      "incomeStatement": {
        "revenue": 391035000000,
        "costOfRevenue": 210352000000,
        "grossProfit": 180683000000,
        "researchDevelopment": 31370000000,
        "sellingGeneralAdmin": 26097000000,
        "operatingIncome": 123216000000,
        "interestExpense": null,
        "pretaxIncome": 123485000000,
        "incomeTax": 29749000000,
        "netIncome": 93736000000,
        "epsBasic": 6.11,
        "epsDiluted": 6.08,
        "sharesDiluted": 15408095000
      },
      "balanceSheet": {
        "cash": 29943000000,
        "shortTermInvestments": 35228000000,
        "receivables": 33410000000,
        "inventory": 7286000000,
        "currentAssets": 152987000000,
        "goodwill": null,
        "totalAssets": 364980000000,
        "currentLiabilities": 176392000000,
        "shortTermDebt": 10912000000,
        "longTermDebt": 85750000000,
        "totalDebt": 96662000000,
        "totalLiabilities": 308030000000,
        "equity": 56950000000
      },
      "cashFlow": {
        "operatingCashFlow": 118254000000,
        "investingCashFlow": 2935000000,
        "financingCashFlow": -121983000000,
        "capex": 9447000000,
        "freeCashFlow": 108807000000,
        "dividendsPaid": 15234000000,
        "shareRepurchases": 94949000000,
        "stockCompensation": 11688000000,
        "depreciation": 11445000000
      }
    },
    {
      "id": "0000320193:2023:FY",
      "cik": "0000320193",
      "ticker": "AAPL",
      "companyName": "Apple Inc.",
      "fiscalYear": 2023,
      "fiscalPeriod": "FY",
      "periodStart": "2022-09-25",
      "periodEnd": "2023-09-30",
      "filedOn": "2025-10-31",
      "form": "10-K",
      "accessionNo": "0000320193-25-000079",
      "sector": "Technology",
      "currency": "USD",
      "derived": false,
      "incomeStatement": {
        "revenue": 383285000000,
        "costOfRevenue": 214137000000,
        "grossProfit": 169148000000,
        "researchDevelopment": 29915000000,
        "sellingGeneralAdmin": 24932000000,
        "operatingIncome": 114301000000,
        "interestExpense": 3933000000,
        "pretaxIncome": 113736000000,
        "incomeTax": 16741000000,
        "netIncome": 96995000000,
        "epsBasic": 6.16,
        "epsDiluted": 6.13,
        "sharesDiluted": 15812547000
      },
      "balanceSheet": {
        "cash": 30737000000,
        "shortTermInvestments": 31590000000,
        "receivables": 29508000000,
        "inventory": 6331000000,
        "currentAssets": 143566000000,
        "goodwill": null,
        "totalAssets": 352583000000,
        "currentLiabilities": 145308000000,
        "shortTermDebt": 9822000000,
        "longTermDebt": 95281000000,
        "totalDebt": 105103000000,
        "totalLiabilities": 290437000000,
        "equity": 62146000000
      },
      "cashFlow": {
        "operatingCashFlow": 110543000000,
        "investingCashFlow": 3705000000,
        "financingCashFlow": -108488000000,
        "capex": 10959000000,
        "freeCashFlow": 99584000000,
        "dividendsPaid": 15025000000,
        "shareRepurchases": 77550000000,
        "stockCompensation": 10833000000,
        "depreciation": 11519000000
      }
    },
    {
      "id": "0000320193:2022:FY",
      "cik": "0000320193",
      "ticker": "AAPL",
      "companyName": "Apple Inc.",
      "fiscalYear": 2022,
      "fiscalPeriod": "FY",
      "periodStart": "2021-09-26",
      "periodEnd": "2022-09-24",
      "filedOn": "2024-11-01",
      "form": "10-K",
      "accessionNo": "0000320193-24-000123",
      "sector": "Technology",
      "currency": "USD",
      "derived": false,
      "incomeStatement": {
        "revenue": 394328000000,
        "costOfRevenue": 223546000000,
        "grossProfit": 170782000000,
        "researchDevelopment": 26251000000,
        "sellingGeneralAdmin": 25094000000,
        "operatingIncome": 119437000000,
        "interestExpense": 2931000000,
        "pretaxIncome": 119103000000,
        "incomeTax": 19300000000,
        "netIncome": 99803000000,
        "epsBasic": 6.15,
        "epsDiluted": 6.11,
        "sharesDiluted": 16325819000
      },
      "balanceSheet": {
        "cash": 24977000000,
        "shortTermInvestments": 24658000000,
        "receivables": 28184000000,
        "inventory": 4946000000,
        "currentAssets": 135405000000,
        "goodwill": null,
        "totalAssets": 352755000000,
        "currentLiabilities": 153982000000,
        "shortTermDebt": 11128000000,
        "longTermDebt": 98959000000,
        "totalDebt": 110087000000,
        "totalLiabilities": 302083000000,
        "equity": 50672000000
      },
      "cashFlow": {
        "operatingCashFlow": 122151000000,
        "investingCashFlow": -22354000000,
        "financingCashFlow": -110749000000,
        "capex": 10708000000,
        "freeCashFlow": 111443000000,
        "dividendsPaid": 14841000000,
        "shareRepurchases": 89402000000,
        "stockCompensation": 9038000000,
        "depreciation": 11104000000
      }
    }
  ]
}
Edit this query in the playground

Year-over-year change in Python

python
import os, requests

res = requests.post(
    "https://www.quantisnow.com/api/v1/financials",
    headers={"Authorization": f"Bearer {os.environ['QUANTISNOW_API_KEY']}"},
    json={
        "query": "ticker:AAPL AND fiscalPeriod:FY",
        "sort": "fiscalYear:desc",
        "size": 50,
    },
    timeout=30,
)
res.raise_for_status()
page = res.json()
print(page["total"]["value"], "matches")
rows = sorted(page["data"], key=lambda r: r["fiscalYear"])
for prev, cur in zip(rows, rows[1:]):
    a, b = prev["incomeStatement"]["sharesDiluted"], cur["incomeStatement"]["sharesDiluted"]
    if a and b:
        print(cur["fiscalYear"], f"{b / a - 1:+.1%}")

From the command line

shell
npx quantisnow financials AAPL --annual

Related: ATM offerings, Buyback authorizations, Free cash flow screens.

Related guides

Run your own queries with a key

Sign up, press one button on the keys page and the key is on your screen, with 20 free calls to try it.

Quantisnow is not affiliated with or endorsed by the U.S. Securities and Exchange Commission. EDGAR is the SEC's filing system; the filings themselves are public records.