{"uid":"cap_q5nqpsfQwseeDbnHfUXNj","slug":"tbs-sec-filings-api-xbrl-financial-facts-e26c1009","name":"TBS SEC Filings API – XBRL Financial Facts","description":"SEC EDGAR data for AI agents in one sub-cent call: resolve a ticker or company name to its CIK, list recent filings (10-K, 10-Q, 8-K) with direct document URLs, and pull XBRL financial facts (revenue, net income, assets, EPS). Keyless, unified schema, USDC-payable via x402 on Base.","url":"https://sec-x402.tbs-digital.com/sec/facts?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","properties":{"cik":{"type":"string","description":"SEC CIK, e.g. 320193 (or use ticker)"},"ticker":{"type":"string","description":"Stock ticker, e.g. AAPL (or use cik)"},"concept":{"type":"string","description":"us-gaap concept filter, e.g. Revenues (optional)"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"count":{"type":"number"},"facts":{"type":"array"},"payer":{"type":"object","properties":{"address":{"type":"string","nullable":true},"network":{"type":"string"}}},"source":{"type":"string"},"company":{"type":"object"},"request_id":{"type":"string"},"generated_at":{"type":"string"}}}}}}},"responseSchema":{"type":"json","example":{"count":1,"facts":[{"fp":"FY","fy":2023,"end":"2023-09-30","form":"10-K","unit":"USD","label":"Revenues","value":383285000000,"concept":"Revenues"}],"payer":{"address":"0x0000000000000000000000000000000000000000","network":"base"},"source":"sec-edgar","company":{"cik":"0000320193","name":"Apple Inc."},"request_id":"0b21c0e6-6a3f-4e2a-8b1e-2f9d4c7a1e55","generated_at":"2026-08-11T12:00:00.000Z"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_ho30r5T-QqnZjfv2hGrX-","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches XBRL financial facts (revenue, net income, assets, EPS) from SEC EDGAR for a given company identified by ticker or CIK, returning structured financial data in a unified schema.","exampleAgentPrompt":"Pull Apple's XBRL revenue facts from SEC EDGAR — the ticker is AAPL and I want the Revenues concept specifically.","exampleUseCases":[{"title":"Annual revenue lookup for earnings research","prompt":"Get me Apple's annual revenue figures from SEC EDGAR using ticker AAPL — I want the Revenues concept so I can see what they reported in their latest 10-K."},{"title":"Net income comparison across tech companies","prompt":"Fetch the net income XBRL facts from SEC EDGAR for Microsoft — use ticker MSFT and filter by the NetIncomeLoss concept so I can compare their fiscal year results."},{"title":"Assets data for credit risk analysis","prompt":"Look up total assets reported by JPMorgan Chase in SEC EDGAR — their ticker is JPM — and pull the us-gaap Assets concept from their most recent filings."}],"resultDescription":"Returns a JSON object containing the company's CIK and name, an array of XBRL financial fact records (each with concept label, value, unit, fiscal year, fiscal period, end date, and form type), a count of matching facts, the data source (sec-edgar), a request ID, and generation timestamp. Payment metadata (payer address and network) is also included.","failureModes":["Invalid or unknown ticker returns no company match","CIK not found in EDGAR returns empty or error response","Unrecognized us-gaap concept filter returns empty facts array","Payment not completed via x402/USDC results in 402 Payment Required response","Rate limiting or EDGAR upstream downtime causes timeout or 5xx error"],"whenToPreferThis":"Choose this endpoint when you need structured XBRL financial facts (revenue, net income, assets, EPS) for a specific public company identified by ticker or CIK, and want a unified schema with sub-cent per-call pricing payable in USDC via x402 on Base — without needing an API key or managing raw EDGAR API complexity.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-03T12:44:18.601Z","isFirstParty":false,"canonicalSlug":"tbs-sec-filings-api-xbrl-financial-facts-e26c1009"}