v1

latestOpenAPI 3.1.0UNLICENSED2026-07-26216788.0 KB
Prices

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.

post/price_service.v1.PriceService/StreamPrice

Headers

Connect-Protocol-Version1 required

Define the version of the Connect protocol. If omitted, use 1.

Connect-Timeout-Msnumber

Define the timeout, in ms

Request body

updateIntervalMsinteger nullable

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).

signedPricePayloadstring nullable

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.

Example response

{
  "price": {
    "timestamp": "2023-01-15T01:30:15.01Z"
  }
}