Live market stream (Server-Sent Events)
Market & rates
Live market stream (SSE)
Stream live ScripX market snapshots over Server-Sent Events: per-scheme market events at a chosen interval with automatic client reconnect semantics.
GET
Live market stream (Server-Sent Events)
The market snapshot, pushed: the same depth payload at your chosen interval. A
Every event counts against your rate limit’s spirit but the stream itself is one call; prefer one stream over hammering the snapshot.
text/event-stream of event: market messages. Requires the market:read scope.
Query parameters: scheme (default RODTEP), interval seconds between events (default 2), limit maximum events before the server closes the stream (default 600, cap 3600). Clients are expected to reconnect on close; treat the close as normal, not an error.
Request example
Stream example
Errors
401/403/429before the stream opens, the standard auth errors.
Next steps
- Firm quote when a level is worth trading.
Authorizations
Your API key, e.g. scripx_live_…. Bound to one firm; tenant isolation is enforced.
Query Parameters
Available options:
RODTEP, ROSCTL Required range:
x <= 3600Response
SSE stream
The response is of type string.