Documentation Index
Fetch the complete documentation index at: https://docs.secapi.ai/llms.txt
Use this file to discover all available pages before exploring further.
Real-Time SEC Filing Stream API
Get SEC filings delivered to your application the moment they appear on EDGAR. Datastream monitors the EDGAR full-text feed continuously and pushes new filings through WebSocket connections and webhook callbacks with sub-minute latency.Capabilities
WebSocket streaming
Open a persistent connection and receive filings as they land. Filter by form type, ticker, CIK, or SIC code.
Webhook callbacks
Register an endpoint and Datastream will POST structured filing data to your server with automatic retries and HMAC signing.
Sub-minute latency
Filings are detected, parsed, and dispatched within 60 seconds of appearing on EDGAR — often faster.
Structured payloads
Every event includes parsed metadata: accession number, form type, filer CIK, company name, filed date, and direct document URLs.
Quick start
Subscribe to real-time 10-K and 10-Q filings via webhook:Use cases
Earnings release monitoring
Detect 8-K filings with Item 2.02 (Results of Operations) the moment they appear. Trigger downstream analysis pipelines or alert traders before the news hits terminals.Compliance surveillance
Financial institutions can monitor filings from counterparties, portfolio companies, and regulated entities in real time without polling EDGAR.AI-powered filing analysis
Pipe real-time filing events into LLM workflows to generate instant summaries, risk assessments, or structured extractions as filings land.API endpoints
| Endpoint | Description |
|---|---|
POST /v1/webhook_endpoints | Register a webhook for filing events |
GET /v1/webhook_endpoints | List active webhooks |
POST /v1/webhook_endpoints/:webhook_id/rotate_secret | Rotate the HMAC signing secret |
GET /v1/webhook_endpoints/:webhook_id/deliveries | Inspect delivery history |
GET /v1/filings/latest | Poll latest filings (REST fallback) |
WSS /v1/stream/ws | WebSocket connection for real-time streaming |
Why Datastream for real-time filings
| Feature | Datastream | Raw EDGAR | SEC-API.io | Quiver Quant |
|---|---|---|---|---|
| WebSocket streaming | Yes | No | No | No |
| Webhook with HMAC signing | Yes | No | Yes | No |
| Sub-minute latency | Yes | N/A (polling) | ~5 min | ~15 min |
| Form type filtering | Yes | No | Yes | Limited |
| Structured JSON payloads | Yes | No (raw index) | Yes | Partial |
| Python + JS SDKs | Yes | No | No | No |
Get started
Get your API key
Start streaming SEC filings in under 60 seconds. 250 free API calls per month.