filing_text
Fetch one document of an SEC filing by accession number as clean plain text (HTML/iXBRL stripped). Primary document by default, or any exhibit by file name. Returns form, filing date, company, a text window (paging via max_chars and offset) and the list of documents in the filing. Pass company if an agent filed it. Data: SEC EDGAR public APIs, no API key. Not-found, unsupported (PDF/images) and upstream errors are not charged. Costs $0.004 USDC per call via x402. Free sample: GET /v1/sample.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"accession_number": "<accession_number>"
},
"name": "filing_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| offset | No | Character offset to start from (for paging, default 0) | |
| company | No | Ticker or CIK of the filer (recommended; needed when an agent filed it) | |
| document | No | File name inside the filing (default: primary document) | |
| max_chars | No | Max characters of text to return (500-100000, default 20000) | |
| accession_number | Yes | Accession number, e.g. 0000320193-26-000024 |