StreamPrice
Server-streaming endpoint. Opens a long-lived Connect/gRPC-Web stream
and, on a fixed interval, sends one GetPriceResponse message per
market in market (not one combined message) — requesting 3
markets means 3 messages per tick.
If any single market in the list fails to resolve, the entire stream terminates rather than skipping that market.
update_interval_ms defaults to 250ms when omitted, and is clamped
to the 100–60000ms range rather than rejected.
NOTE: Mintlify’s request-based API explorer cannot exercise a real streaming response.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Headers
Define the version of the Connect protocol. If omitted, use 1.
1 Define the timeout, in ms
Body
Markets to stream prices for. Must be non-empty — one streamed message is sent per market, per tick.
- market_id
- market_symbol
Interval between stream ticks, in milliseconds. Defaults to 250 when omitted or zero, and is clamped to the 100–60000 range.
Response
One streamed message, for one market (the server sends a sequence of these, not a single response).
Current price data for the requested market.
Signed price attestation from the upstream pricing oracle, suitable for on-chain submission (e.g. to settle trades or trigger liquidations). Opaque/encoded; format is defined by the pricing oracle, not by this API.