{"uid":"cap_gEcxLCbliJuVtImMxZ1kh","slug":"sec-edgar-xbrl-facts-query-e31d5098","name":"SEC EDGAR XBRL Facts Query","description":"US public company data from SEC EDGAR (public domain) by ticker or CIK: recent filings (10-K, 10-Q, 8-K with item titles, links to documents), insider trades parsed from Form 4 XML (owner, role, transaction code, shares, price, holdings after, net open-market buys vs sells), and standardized financials from XBRL (revenue, net and operating income, diluted EPS, assets, liabilities, equity, cash, long-term debt, operating cash flow, capex, free cash flow, margins) for the last 5 fiscal years and 4 quarters, plus the raw values of any single XBRL concept as filed (/facts). Live from SEC APIs with short caches (filings 10 min, financials 6 h).","url":"https://edgar.genexxis.com/facts/query?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["concept"],"properties":{"cik":{"type":"string","description":"SEC CIK (alternative to ticker)"},"form":{"type":"string","description":"Optional: 10-K or 10-Q"},"unit":{"type":"string","description":"Optional unit filter, e.g. USD, USD/shares, shares"},"limit":{"type":"string","description":"Rows, 1-200, default 10"},"ticker":{"type":"string","description":"US ticker, e.g. AAPL (or use cik)"},"concept":{"type":"string","description":"XBRL element, e.g. Revenues, us-gaap:NetIncomeLoss, dei:EntityCommonStockSharesOutstanding, ifrs-full:Revenue"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"cik":320193,"count":2,"facts":[{"fp":"Q3","fy":2026,"end":"2026-06-27","val":29789000000,"accn":"0000320193-26-000020","form":"10-Q","unit":"USD","filed":"2026-08-01","frame":"CY2026Q2","start":"2026-03-29"},{"fp":"Q3","fy":2026,"end":"2026-06-27","val":101532000000,"accn":"0000320193-26-000020","form":"10-Q","unit":"USD","filed":"2026-08-01","frame":null,"start":"2025-09-28"}],"label":"Net Income (Loss) Attributable to Parent","ticker":"AAPL","concept":"us-gaap:NetIncomeLoss","entityName":"Apple Inc."}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.004","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","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.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_c24Td-LqPfutfzLHSruD_","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Retrieves raw XBRL fact values for any US public company financial concept by ticker or CIK from SEC EDGAR","exampleAgentPrompt":"Pull the last 10 filings of us-gaap:NetIncomeLoss for Apple (ticker AAPL) from SEC EDGAR, in USD, filtered to 10-Q forms.","exampleUseCases":[{"title":"Historical revenue trend for equity research","prompt":"Get me the last 20 quarterly Revenues figures for Microsoft (ticker MSFT) from SEC EDGAR in USD — I want to see the full XBRL history as filed."},{"title":"Shares outstanding for dilution analysis","prompt":"Look up dei:EntityCommonStockSharesOutstanding for Tesla by ticker TSLA from SEC EDGAR — give me up to 50 rows so I can track how shares have changed over time."},{"title":"Debt levels for credit risk screening","prompt":"Fetch the us-gaap:LongTermDebt values for CIK 0000320193 from EDGAR, filtered to 10-K annual filings only, so I can see Apple's long-term debt trend over the last several years."}],"resultDescription":"Returns a JSON object with the company's CIK, entity name, ticker, concept label, and an array of fact entries each containing: period start/end dates, fiscal year/period, value, unit, accession number, form type, filing date, and frame identifier. Up to 200 rows depending on limit parameter.","failureModes":["Invalid or unknown ticker/CIK returns empty results or 404","Unrecognized XBRL concept name returns no facts","Concept exists but company never filed it — empty facts array","Rate limiting or SEC API downtime causes upstream failure","Invalid unit filter returns no matching rows","Missing required concept parameter returns 400 error"],"whenToPreferThis":"Use this endpoint when you need raw, point-in-time XBRL fact values for a specific financial concept as filed with the SEC — ideal for time-series financial analysis, custom metric construction, or auditing exact as-filed figures. Prefer this over the financials endpoint when you want a concept not in the standardized set (e.g. a niche us-gaap or ifrs-full element), or when you need more than 5 years of history. Best for structured quantitative work where precision and auditability to the original SEC filing matters.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-30T19:03:59.742Z","isFirstParty":false,"canonicalSlug":"sec-edgar-xbrl-facts-query-e31d5098"}