SEC API Filing Stream (WebSocket)
Version 1.0.0
AsyncAPI 2.6 description of the SEC API (sec-api.io) **Filing Stream API**, a documented public **WebSocket** surface. Per https://sec-api.io/docs/stream-api, clients open a raw WebSocket connection (not Socket.IO) to `wss://stream.sec-api.io` with their API key supplied as the `apiKey` query parameter. Whenever one or more new filings are published to SEC EDGAR, the server pushes a single message whose payload is a **stringified JSON array** of filing metadata objects, typically within a few hundred milliseconds of publication. The server sends a WebSocket ping every 25 seconds and expects a pong within 5 seconds; most WebSocket libraries answer pings automatically. This is a genuine server-push WebSocket transport and is distinct from SEC API's request/response REST endpoints (Filing Query, Full-Text Search, XBRL-to-JSON, Extractor, Insider Trading, Form 13F), which are modeled in the companion OpenAPI document at `openapi/sec-api-openapi.yml`.
Channels
Messages
Servers
stream.sec-api.io