SEC EDGAR API
Look up any filing by ticker or CIK, read its documents as filed, and search the full text of every document. One REST API with JSON responses, and an MCP server for AI agents.
What you get
- Tickers work
- Pass a ticker or a CIK. The API finds the CIK for you.
- Documents as filed
- Each document is served byte for byte as filed. Its text, and a PDF of the document or of the whole filing, are separate routes.
- Full-text search
- Search every document by words, with filters for form type, company, date, and more. Add
syntax=edgarto write queries as you would on EDGAR full-text search. - New filings arrive live
- Filings are added as the SEC publishes them, and checked daily against the SEC's official feed.
Example calls
Set SECBLAST_API_KEY to your key first.
The three newest Apple 10-K filings:
import os
import requests
r = requests.get(
"https://api.secblast.com/v3/filings",
params={"ticker": "AAPL", "form": "10-K", "limit": "3"},
headers={"Authorization": f"Bearer {os.environ['SECBLAST_API_KEY']}"},
timeout=30,
)
r.raise_for_status()
print(r.json())10-K filings since January 1, 2026 that mention "going concern":
import os
import requests
r = requests.get(
"https://api.secblast.com/v3/search",
params={"q": "going concern", "forms": "10-K", "filed_from": "2026-01-01", "limit": "5"},
headers={"Authorization": f"Bearer {os.environ['SECBLAST_API_KEY']}"},
timeout=30,
)
r.raise_for_status()
print(r.json())In the API reference
- GET /v3/filingsList filings, newest first.
- GET /v3/entitiesSearch companies and people, or screen companies.
- GET /v3/searchSearch the full text of every document.
- GET /v3/filings/{accession}/documents/{document}Download one document as filed.
Questions
- Is there an official SEC EDGAR API?
- In part. data.sec.gov serves filing histories and XBRL data as JSON with no key, at up to 10 requests per second, and every request needs a
User-Agentheader that identifies you. It has no full-text search, and documents come from a different host. SEC Blast and the SEC EDGAR APIs compares the two. - Do I need to know a company's CIK?
- No. Routes that take a company accept a ticker or a CIK. GET /v3/resolve lists the CIKs that hold a ticker.
- Can I search the text inside filings?
- Yes. GET /v3/search searches the full text of every document and can return text extracts around each match.
- How do I get an API key?
- Sign in and create a free key in your dashboard.
- Can an AI agent use it?
- Yes. The MCP server gives Claude, ChatGPT, Cursor, and other MCP clients the same data.
Make your first request
Create a key, then use it in the examples above. The fees page lists what each plan includes.