Skip to content

SEC EDGAR API: Get company financials

Looks up a public company by name or ticker on SEC EDGAR and returns its reported annual or quarterly financial figures from XBRL company facts. Quarterly flows are derived from year-to-date totals when no quarterly figure is filed. Unavailable figures are null.

sec.gov (opens in a new tab)Version 1ReadNo sign-inVerified Nov 2, 2026

Unofficial. Not affiliated with or endorsed by SEC EDGAR.

Inputs

Values from the run on Oct 23, 2026, shown under Output.

Years optionalyears

Number of fiscal years, for example 5.

2

Whole number from 1 to 15. Default 5.

Period optionalperiod

Reporting frequency, for example annual.

quarterly

One of annual, quarterly. Default annual.

Company, requiredcompany

Company name or stock ticker, for example Microsoft or MSFT.

MSFT

Output

From a run on Oct 23, 2026, shortened for this page.
{  "cik": "0000789019",  "periods": [    {      "cash": 20935000000,      "quarter": 4,      "revenue": 90007000000,      "net_income": 35766000000,      "fiscal_year": 2026,      "total_assets": 758376000000,      "period_end_date": "2026-06-30",      "accession_number": "0001193125-26-323660",      "total_liabilities": 315989000000,      "shares_outstanding": 7427000000,      "source_filing_date": "2026-07-29",      "source_filing_form": "10-K",      "source_filing_link": "https://www.sec.gov/Archives/edgar/data/789019/000119312526323660/",      "operating_cash_flow": 55441000000,      "stockholders_equity": 442387000000,      "diluted_earnings_per_share": 4.81    },    {      "cash": 32105000000,      "quarter": 3,      "revenue": 82886000000,      "net_income": 31778000000,      "fiscal_year": 2026,      "total_assets": 694228000000,      "period_end_date": "2026-03-31",      "accession_number": "0001193125-26-191507",      "total_liabilities": 279861000000,      "shares_outstanding": 7429000000,      "source_filing_date": "2026-04-29",      "source_filing_form": "10-Q",      "source_filing_link": "https://www.sec.gov/Archives/edgar/data/789019/000119312526191507/",      "operating_cash_flow": 46679000000,      "stockholders_equity": 414367000000,      "diluted_earnings_per_share": 4.27    },    {      "cash": 24296000000,      "quarter": 2,      "revenue": 81273000000,      "net_income": 38458000000,      "fiscal_year": 2026,      "total_assets": 665302000000,      "period_end_date": "2025-12-31",      "accession_number": "0001193125-26-027207",      "total_liabilities": 274427000000,      "shares_outstanding": 7429000000,      "source_filing_date": "2026-01-28",      "source_filing_form": "10-Q",      "source_filing_link": "https://www.sec.gov/Archives/edgar/data/789019/000119312526027207/",      "operating_cash_flow": 35758000000,      "stockholders_equity": 390875000000,      "diluted_earnings_per_share": 5.16    }  ],  "currency": "USD",  "company_name": "Microsoft Corporation"}
Price
1 credit per completed run (1¢ with pay as you go); failed runs are free.
Method
sec.gov/get_company_financials
Returns
company name, currency, CIK, and per-period revenue, net income, EPS, balance sheet, cash flow, shares and filing references

Use it from your agent

Give your agent this line. It reads SKILL.md, gets a Fous API key and connects the Fous MCP server. Its run then takes the method sec.gov/get_company_financials with the inputs above.

Ask your agent

  • Pull the last 5 years of annual financials for Microsoft from SEC filings
  • What were Apple's quarterly revenue and net income figures for the most recent quarters?
  • Get EPS and balance sheet data for Tesla over the past 3 fiscal years
  • Show me NVDA's reported cash flow and shares outstanding on sec.gov for the last 10 years
  • Can you find Coca-Cola's quarterly earnings figures from EDGAR, including filing references?
  • Finds a public company by name or ticker in SEC EDGAR and lists its filings, newest first, optionally narrowed by filing type and filing date.

    sec.gov/get_company_filings
  • Finds SEC EDGAR company filings that mention an exact phrase, optionally limited to a company, a filing category and a filing date range, ranked by search relevance; one entry per filing.

    sec.gov/search_filings
  • Lists stock transactions reported on Form 4 filings by a company's officers, directors and major owners, newest first. Trades without a reported price have no calculated value.

    sec.gov/list_insider_trades
  • Gets a company's quarterly or annual income statement, balance sheet or cash flow lines from its Google Finance quote page, with exact reported amounts and year-over-year changes.

    google.com/get_company_financials
  • Looks up a company by name or ticker on Stock Analysis and returns its annual or quarterly income statement, balance sheet, or cash flow statement for the free periods.

    stockanalysis.com/get_financial_statements
  • Looks up a stock by company name or ticker on Stock Analysis and returns its valuation ratios and company statistics, with the date the figures were last updated.

    stockanalysis.com/get_key_statistics
  • Get a delayed US-listed stock snapshot from its ticker or company name. Analyst labels summarize Finviz's 1-5 mean score; dividend yield uses the estimated dividend when available. Missing metrics return null.

    finviz.com/get_stock_snapshot
  • Gets earnings reports for a date range, or the upcoming reports and up to four previous reports for one company.

    finance.yahoo.com/get_earnings_calendar