{"uid":"cap_bLqK3iMFGiuNO88NNolmb","slug":"sec-edgar-document-fetcher-4aad012f","name":"SEC EDGAR Document Fetcher","description":"Fetch one SEC filing document from EDGAR Archives by { cik, accession, filename } (from edgar/fulltext hit ids or edgar/filings). Returns the raw document — Form D XML carries offering amounts, Form C/C-AR XML carries revenue/net income of private companies, Form 4 XML carries insider buys/sells. Prefer .xml/.htm/.txt files (not PDFs).","url":"https://vaaya.ai/api/run/edgar/document","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","required":["cik","accession","filename"],"properties":{"cik":{"anyOf":[{"type":"string","pattern":"^\\d{1,10}$"},{"type":"integer","exclusiveMinimum":0}]},"filename":{"type":"string","pattern":"^[A-Za-z0-9][A-Za-z0-9._-]{0,200}$"},"accession":{"type":"string","pattern":"^\\d{10}-?\\d{2}-?\\d{6}$"}},"additionalProperties":false},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"pathParams":{"type":"object"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"registry","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_2HbDXf0gZIrtPPXOECf-x","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches a single raw SEC filing document from EDGAR Archives by CIK, accession number, and filename, returning the full document content.","exampleAgentPrompt":"Fetch the Form 4 XML for Tesla (CIK 1318605) from accession number 0001318605-24-000010, filename form4.xml — I want to see the insider buy/sell transactions.","exampleUseCases":[{"title":"Insider trading activity lookup","prompt":"Get the Form 4 XML document for Elon Musk's latest Tesla insider transaction — CIK is 1318605, accession number 0001318605-24-000010, file is form4.xml. I want to see what shares were bought or sold."},{"title":"Private company revenue from Form C-AR","prompt":"Pull the Form C-AR XML filing for that startup I found in EDGAR — CIK 0001750154, accession 0001750154-23-000003, filename primary_doc.xml — I want to check their reported revenue and net income."},{"title":"Offering amount from Form D","prompt":"Retrieve the Form D XML from EDGAR for CIK 0001234567, accession number 0001234567-22-000001, file formd.xml — I need the total offering amount they raised."}],"resultDescription":"The raw content of the requested SEC filing document — typically XML, HTM, or TXT format. For Form D XML: contains offering amounts and exemption details. For Form C/C-AR XML: contains revenue, net income, and other financials of private companies. For Form 4 XML: contains insider transaction details including shares bought/sold, prices, and dates.","failureModes":["Invalid CIK returns document not found error","Incorrect accession number format causes lookup failure","Filename mismatch (e.g. wrong extension or case) results in 404","Requesting a PDF file type which is not preferred and may return binary data","Accession number references a filing that has been removed or amended","Rate limiting or payment failure if x402 payment not properly handled"],"whenToPreferThis":"Use this endpoint when you have already identified a specific SEC filing via edgar/filings or edgar/fulltext search and need the actual document content. It is the right choice when you need structured data from Form D (offering amounts), Form C/C-AR (private company financials), or Form 4 (insider transactions) and want machine-readable XML or HTM rather than PDF. Prefer this over general web scraping for EDGAR documents because it is purpose-built, cost-effective at $0.01/call, and returns clean raw content.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T18:48:37.605Z","isFirstParty":false}