Documentation Index
Fetch the complete documentation index at: https://docs.ivory.finance/llms.txt
Use this file to discover all available pages before exploring further.
Overview
Connect to a WebSocket to receive corporate disclosures in real time, milliseconds after they are ingested from EDGAR. No API key required — the stream is publicly accessible.The stream replays your missed messages on reconnect. Pass
?last_id=<id> to resume from where you left off.Endpoint
| Parameter | Type | Default | Description |
|---|---|---|---|
last_id | string | $ | Stream cursor. $ = live messages only. Pass the last received id to replay missed events on reconnect. |
Message Format
Every message is a JSON object with atype field.
Filing event
Emitted for each new corporate disclosure ingested.Heartbeat
Sent every ~5 seconds when the stream is idle. Use this to detect stale connections.Code Examples
Reconnection Pattern
The stream uses Valkey Streams under the hood. Each message has a unique monotonicid (<milliseconds>-<sequence>). To resume after a disconnect without missing or duplicating events:
- Store the last received
idclient-side. - Reconnect with
?last_id=<stored_id>. - The server replays all messages after that ID, then switches to live delivery.

