Skip to main content
GET
/
api
/
v1
/
stream
curl -N -sS \
  -H 'Authorization: Bearer $OXI_SK' \
  'https://api.0xinsider.com/api/v1/stream'
"id: 142\ndata: {\"seq\":142,\"published_at\":\"2026-06-04T12:00:00Z\",\"type\":\"WhaleTradesInserted\",\"count\":3}\n\n"
A resumable Server-Sent Events stream of the live feed envelopes the platform broadcasts: whale-trade pulses and other public and insider feed events. This is a long-lived text/event-stream response. Keep the connection open and read frames as they arrive. It forwards the same backend-owned envelope shape as the internal feed, with no provider data recomputed. Authenticate with your oxi_sk Bearer key like every other /api/v1 endpoint. Connection counts are limited per API key and across the cluster: when either cap is exceeded you get 429 with a Retry-After, and 503 with a Retry-After if the admission backend is briefly unavailable.
curl -N -H "Authorization: Bearer $OXINSIDER_API_KEY" \
  "https://api.0xinsider.com/api/v1/stream"
Every frame carries an SSE id equal to the envelope sequence. To resume after a disconnect, reconnect with the Last-Event-ID header (or the last_event_id / seq query fallback when you cannot set the header); the stream replays the strictly-newer window before resuming live. If your resume point predates the retained window, the stream emits one event: resync marker instead of silently skipping frames. Idle connections receive periodic : keep-alive comment lines.

Authorizations

Authorization
string
header
required

API key: Authorization: Bearer oxi_sk_live_... for live data (requires an active Insider subscription), or oxi_sk_test_... for sandbox/test mode (free account, deterministic fixture data, no live rows). Both key classes use the same paths; the prefix selects live vs sandbox.

Headers

Last-Event-ID
string

Sequence id of the last frame the client successfully processed. The stream replays the strictly-newer window before resuming live. Browser EventSource clients send this automatically on reconnect. Omit to attach live from now.

Query Parameters

last_event_id
string

Query-string fallback for the Last-Event-ID resume cursor when the client cannot set the request header. Numeric sequence id; non-numeric or absent attaches live with no replay.

seq
string

Alias for last_event_id. Numeric sequence id to resume after; non-numeric or absent attaches live with no replay.

Response

Open Server-Sent Events stream. The body is an unbounded text/event-stream of frames; each data frame is a JSON feed envelope (with seq, published_at, type, and event-specific fields) and carries an SSE id equal to seq. resync marker frames use event: resync.

Newline-delimited SSE frames: 'id: \ndata: \n\n' for events, 'event: resync\nid: \ndata: \n\n' for resync markers, and ': keep-alive' comment lines while idle.