{"uid":"cap_zvubtOxJ2LpoxgswDLIsI","slug":"2s-io-384fb1a8","name":"2s.io XBRL Financial Metrics by Ticker","description":"Curated XBRL financial metrics for a US public company by stock ticker. Pulls SEC EDGAR's companyfacts JSON (per-CIK XBRL filings) and extracts a top-line set of ~15 financial metrics with their most recent annual + quarterly values. Each metric returns: end date, start date (or null for balance-sheet snapshots), value, fiscal year/period, originating form (10-K/10-Q), and filed date. Available metric keys (pass any comma-separated subset via the metrics param, or omit to get all): revenue, grossProfit, operatingIncome, netIncome, eps, epsDiluted, rdExpense, totalAssets, totalLiabilities, stockholdersEquity, cash, longTermDebt, operatingCashFlow, capex, sharesOutstanding. Backed by SEC.gov; underlying data is public-domain US government records.","url":"https://2s.io/api/finance/company-facts","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","queryParams"],"properties":{"type":{"const":"http"},"method":{"const":"GET"},"queryParams":{"required":["ticker"],"properties":{"ticker":{"type":"string","description":"US stock ticker (case-insensitive), e.g. AAPL, GOOGL, BRK.B."},"metrics":{"type":"string","description":"Comma-separated subset of metric keys. Available: revenue, grossProfit, operatingIncome, netIncome, eps, epsDiluted, rdExpense, totalAssets, totalLiabilities, stockholdersEquity, cash, longTermDebt, operatingCashFlow, capex, sharesOutstanding. Omit for all ~15."},"annualLimit":{"type":"integer","default":4,"maximum":20,"minimum":1,"description":"Max annual (FY) values per metric, most recent first."},"quarterlyLimit":{"type":"integer","default":4,"maximum":20,"minimum":0,"description":"Max quarterly values per metric. 0 to skip quarterly."}}}}}}},"responseSchema":null,"example":{"request":{"input":{"type":"http","method":"GET","queryParams":{"ticker":"AAPL","metrics":"revenue,netIncome,eps,totalAssets,cash","annualLimit":4,"quarterlyLimit":4}}},"response":{"data":{"ok":true,"meta":{"cik":"0000320193","query":{"ticker":"AAPL","metrics":"revenue,netIncome,eps,totalAssets,cash","annualLimit":4,"quarterlyLimit":4},"ticker":"AAPL","entityName":"Apple Inc."},"items":[{"key":"revenue","unit":"USD","label":"Revenue from Contract with Customer, Excluding Assessed Tax","annual":[{"end":"2025-09-27","val":416161000000,"form":"10-K","filed":"2025-10-31","start":"2024-09-29","fiscalYear":2025,"fiscalPeriod":"FY"},{"end":"2024-09-28","val":391035000000,"form":"10-K","filed":"2025-10-31","start":"2023-10-01","fiscalYear":2025,"fiscalPeriod":"FY"},{"end":"2023-09-30","val":383285000000,"form":"10-K","filed":"2025-10-31","start":"2022-09-25","fiscalYear":2025,"fiscalPeriod":"FY"},{"end":"2022-09-24","val":394328000000,"form":"10-K","filed":"2024-11-01","start":"2021-09-26","fiscalYear":2024,"fiscalPeriod":"FY"}],"concept":"RevenueFromContractWithCustomerExcludingAssessedTax","namespace":"us-gaap","quarterly":[{"end":"2026-03-28","val":254940000000,"form":"10-Q","filed":"2026-05-01","start":"2025-09-28","fiscalYear":2026,"fiscalPeriod":"Q2"},{"end":"2026-03-28","val":111184000000,"form":"10-Q","filed":"2026-05-01","start":"2025-12-28","fiscalYear":2026,"fiscalPeriod":"Q2"},{"end":"2025-12-27","val":143756000000,"form":"10-Q","filed":"2026-01-30","start":"2025-09-28","fiscalYear":2026,"fiscalPeriod":"Q1"},{"end":"2025-06-28","val":313695000000,"form":"10-Q","filed":"2025-08-01","start":"2024-09-29","fiscalYear":2025,"fiscalPeriod":"Q3"}]},{"key":"netIncome","unit":"USD","label":"Net Income (Loss) Attributable to Parent","annual":[{"end":"2025-09-27","val":112010000000,"form":"10-K","filed":"2025-10-31","start":"2024-09-29","fiscalYear":2025,"fiscalPeriod":"FY"},{"end":"2024-09-28","val":93736000000,"form":"10-K","filed":"2025-10-31","start":"2023-10-01","fiscalYear":2025,"fiscalPeriod":"FY"},{"end":"2023-09-30","val":96995000000,"form":"10-K","filed":"2025-10-31","start":"2022-09-25","fiscalYear":2025,"fiscalPeriod":"FY"},{"end":"2022-09-24","val":99803000000,"form":"10-K","filed":"2024-11-01","start":"2021-09-26","fiscalYear":2024,"fiscalPeriod":"FY"}],"concept":"NetIncomeLoss","namespace":"us-gaap","quarterly":[{"end":"2026-03-28","val":71675000000,"form":"10-Q","filed":"2026-05-01","start":"2025-09-28","fiscalYear":2026,"fiscalPeriod":"Q2"},{"end":"2026-03-28","val":29578000000,"form":"10-Q","filed":"2026-05-01","start":"2025-12-28","fiscalYear":2026,"fiscalPeriod":"Q2"},{"end":"2025-12-27","val":42097000000,"form":"10-Q","filed":"2026-01-30","start":"2025-09-28","fiscalYear":2026,"fiscalPeriod":"Q1"},{"end":"2025-06-28","val":84544000000,"form":"10-Q","filed":"2025-08-01","start":"2024-09-29","fiscalYear":2025,"fiscalPeriod":"Q3"}]},{"key":"eps","unit":"USD/shares","label":"Earnings Per Share, Basic","annual":[{"end":"2025-09-27","val":7.49,"form":"10-K","filed":"2025-10-31","start":"2024-09-29","fiscalYear":2025,"fiscalPeriod":"FY"},{"end":"2024-09-28","val":6.11,"form":"10-K","filed":"2025-10-31","start":"2023-10-01","fiscalYear":2025,"fiscalPeriod":"FY"},{"end":"2023-09-30","val":6.16,"form":"10-K","filed":"2025-10-31","start":"2022-09-25","fiscalYear":2025,"fiscalPeriod":"FY"},{"end":"2022-09-24","val":6.15,"form":"10-K","filed":"2024-11-01","start":"2021-09-26","fiscalYear":2024,"fiscalPeriod":"FY"}],"concept":"EarningsPerShareBasic","namespace":"us-gaap","quarterly":[{"end":"2026-03-28","val":4.87,"form":"10-Q","filed":"2026-05-01","start":"2025-09-28","fiscalYear":2026,"fiscalPeriod":"Q2"},{"end":"2026-03-28","val":2.02,"form":"10-Q","filed":"2026-05-01","start":"2025-12-28","fiscalYear":2026,"fiscalPeriod":"Q2"},{"end":"2025-12-27","val":2.85,"form":"10-Q","filed":"2026-01-30","start":"2025-09-28","fiscalYear":2026,"fiscalPeriod":"Q1"},{"end":"2025-06-28","val":5.64,"form":"10-Q","filed":"2025-08-01","start":"2024-09-29","fiscalYear":2025,"fiscalPeriod":"Q3"}]},{"key":"totalAssets","unit":"USD","label":"Assets","annual":[{"end":"2025-09-27","val":359241000000,"form":"10-K","filed":"2025-10-31","start":null,"fiscalYear":2025,"fiscalPeriod":"FY"},{"end":"2024-09-28","val":364980000000,"form":"10-K","filed":"2025-10-31","start":null,"fiscalYear":2025,"fiscalPeriod":"FY"},{"end":"2023-09-30","val":352583000000,"form":"10-K","filed":"2024-11-01","start":null,"fiscalYear":2024,"fiscalPeriod":"FY"},{"end":"2022-09-24","val":352755000000,"form":"10-K","filed":"2023-11-03","start":null,"fiscalYear":2023,"fiscalPeriod":"FY"}],"concept":"Assets","namespace":"us-gaap","quarterly":[{"end":"2026-03-28","val":371082000000,"form":"10-Q","filed":"2026-05-01","start":null,"fiscalYear":2026,"fiscalPeriod":"Q2"},{"end":"2025-12-27","val":379297000000,"form":"10-Q","filed":"2026-01-30","start":null,"fiscalYear":2026,"fiscalPeriod":"Q1"},{"end":"2025-09-27","val":359241000000,"form":"10-Q","filed":"2026-05-01","start":null,"fiscalYear":2026,"fiscalPeriod":"Q2"},{"end":"2025-06-28","val":331495000000,"form":"10-Q","filed":"2025-08-01","start":null,"fiscalYear":2025,"fiscalPeriod":"Q3"}]},{"key":"cash","unit":"USD","label":"Cash and Cash Equivalents, at Carrying Value","annual":[{"end":"2025-09-27","val":35934000000,"form":"10-K","filed":"2025-10-31","start":null,"fiscalYear":2025,"fiscalPeriod":"FY"},{"end":"2024-09-28","val":29943000000,"form":"10-K","filed":"2025-10-31","start":null,"fiscalYear":2025,"fiscalPeriod":"FY"},{"end":"2023-09-30","val":29965000000,"form":"10-K","filed":"2024-11-01","start":null,"fiscalYear":2024,"fiscalPeriod":"FY"},{"end":"2022-09-24","val":23646000000,"form":"10-K","filed":"2023-11-03","start":null,"fiscalYear":2023,"fiscalPeriod":"FY"}],"concept":"CashAndCashEquivalentsAtCarryingValue","namespace":"us-gaap","quarterly":[{"end":"2026-03-28","val":45572000000,"form":"10-Q","filed":"2026-05-01","start":null,"fiscalYear":2026,"fiscalPeriod":"Q2"},{"end":"2025-12-27","val":45317000000,"form":"10-Q","filed":"2026-01-30","start":null,"fiscalYear":2026,"fiscalPeriod":"Q1"},{"end":"2025-09-27","val":35934000000,"form":"10-Q","filed":"2026-05-01","start":null,"fiscalYear":2026,"fiscalPeriod":"Q2"},{"end":"2025-06-28","val":36269000000,"form":"10-Q","filed":"2025-08-01","start":null,"fiscalYear":2025,"fiscalPeriod":"Q3"}]}],"total":5,"source":{"url":"https://www.sec.gov/edgar","license":"Public domain (US government records)","provider":"SEC EDGAR — XBRL companyfacts"}},"meta":{"cost":{"usd":0.0048,"tier":0},"caller":"x402","version":null,"endpoint":"finance.company-facts","settlement":{"txHash":"0xceb8f6f888fba5d5c1ff8182d17bd3568dd12ea2723cfc2e6021972d4850d9b5","network":"eip155:8453","success":true}}}},"exampleRequest":{"ticker":"AAPL","metrics":"revenue,netIncome,eps,totalAssets,cash","annualLimit":4,"quarterlyLimit":4},"tags":["x402"],"displayCostAmount":"0.0048","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.0048/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.012","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.012","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Xf2UDHN551wN31N8pfz1Z","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.012","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches curated XBRL financial metrics (revenue, EPS, assets, cash, etc.) for a US public company from SEC EDGAR, returning recent annual and quarterly values per metric.","exampleAgentPrompt":"Pull Tesla's revenue, net income, operating cash flow, and total assets from SEC EDGAR — give me the last 4 annual values and the last 4 quarterly values for each.","exampleUseCases":null,"resultDescription":"A JSON object keyed by metric name (e.g. revenue, netIncome), each containing an array of annual values and an array of quarterly values. Each value entry includes: end date, start date (null for balance-sheet snapshots), numeric value, fiscal year, fiscal period (e.g. FY, Q1-Q4), originating form (10-K or 10-Q), and filed date.","failureModes":["Unknown or invalid ticker returns an error or empty result — ensure the ticker is a valid US-listed symbol","Metrics param with unrecognized keys may return partial results or errors for those keys","Some metrics may have no data for certain companies (e.g. rdExpense for financial firms) — those keys will be absent or empty","SEC EDGAR may have incomplete or delayed XBRL data for very recent filings","annualLimit or quarterlyLimit out of allowed range (1-20) will return a validation error"],"whenToPreferThis":"Use this endpoint when you need structured, ready-to-use financial fundamentals for US public companies sourced directly from SEC EDGAR XBRL filings, without having to parse raw SEC JSON yourself. Prefer it over general web search or financial data APIs when you need authoritative, government-sourced figures with filing provenance (form type, filed date, fiscal period). Especially useful for automated financial analysis, screening, or comparison tasks where per-metric annual+quarterly series are needed in a consistent format.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T07:01:32.778Z","isFirstParty":false}