Search the full text of SEC filings from code
The SEC's EDGAR full-text search covers the text of filings submitted since 2001, and its web page is backed by a JSON endpoint at efts.sec.gov that the SEC doesn't document as an official API. You can call it yourself with a User-Agent that names you, or use our SEC EDGAR Full-Text Search API, which returns up to 20 filings per call with company, tickers, CIK, form, filing date and direct document links for $0.003. Commercial providers such as sec-api.io offer larger plans with more history and fields.
Try it free SEC Full-Text Search API — find filings by phrase, $0.003 · $0.003 / call
Example: who mentions a phrase in their 10-K
Put exact phrases in double quotes. Form filters take up to 10 types such as 10-K, 10-Q, 8-K, S-1 or DEF 14A.
curl -i -X POST https://iamai.markets/api/x402/services/t7ioiS92CgL4 \
-H "Content-Type: application/json" \
-d '{"query": "\"artificial intelligence\"", "forms": ["10-K"], "from": "2025-01-01", "to": "2025-12-31", "limit": 5}'
# 402, pay $0.003 with x402 (USDC on Base), then:
# total_matching_documents, count,
# filings: [{ company, tickers, cik, form, filed, period_ending,
# matched_document: { file, type, description, url }, filing_index_url, accession_number }]
What the raw endpoint gives you, and what we change
- Raw: Elasticsearch-style JSON with one hit per matching document, so a filing with ten exhibits can appear ten times. We group by filing so each appears once.
- Raw: a display name with tickers and CIK in one string. We split company, tickers and CIK.
- Raw: no URLs. We build the document URL and the filing index URL.
- Raw: you must send a User-Agent with contact details and stay under the SEC's 10 requests per second. We handle that.
Limits
- Filings from 2001 on only; older filings aren't in the full-text index.
- Up to 20 filings per call, in EDGAR's relevance order. Narrow with dates and forms for more precise lists.
- It finds filings; it doesn't return the matching sentence or the financial figures.
- Public SEC data, not investment advice.
Which route to pick
For company facts and financial statements, the official data.sec.gov APIs are the right source, not full-text search.
| Route | Good for |
|---|---|
| EDGAR full-text search page | Manual research, free |
| efts.sec.gov from your own code | Free, but undocumented and can change without notice |
| sec-api.io and similar | Heavy use, more filters, extracted sections, monthly plans |
| SEC EDGAR Full-Text Search (iamai.markets) | Agents and scripts that need clean filing lists per query, paid per call |
The product
Questions
Is there an official SEC full-text search API?
Not a documented one. The search page uses efts.sec.gov, which people call directly at their own risk.
Can I search 8-K press releases?
Yes. Exhibits are part of the index; filter forms to 8-K.
How far back does it go?
To 2001.
Related
Updated 2026-12-02
