Product Market Realtime

GET /v2/market/prices/ws

Upgrades to a pooled provider-independent live USD price stream. Native clients may use a Privy bearer header. Browser version-1 clients offer protocol and ticket_protocol from POST /v2/market/prices/ws/tickets in that order. Version 1 accepts up to 64 canonical assets and preserves its wire shape. Both versions accept optional price_status: v1 on subscribe to expose per-token freshness, safe update reasons, original provider observation times and finite deadlines. The legacy aggregate status is price availability, never client connection health; use actual WebSocket events and heartbeat timeouts for connection health. Without this capability the original item shape is preserved. Version 2 accepts up to 3 assets and supports per-item evidence when its subscribe message requests evidence: price-v1; omission preserves the prior strict v2 shape. Evidence includes (availability, coverage, original source/method clocks and finite expiry); evidence absence in an older release means unknown. Prices become stale after 5 seconds and null after 120 seconds from their original observation, independently of heartbeats or other assets. Version 2 continuation accepts only the current generation/revision, otherwise returns resync_required plus current state; it does not replay history. Equivalent configured source policies share logical asset subscriptions below independent route admission. WS schemas: /schemas/product-prices-ws-v1.json and /schemas/product-prices-ws-v2.json. These indicative observations cannot authorize holdings, portfolio totals, quotes or execution.

Request

  • Base URL
    https://api.arbital.xyz (the document declares no server; this is the origin it was published from)
  • URL
    https://api.arbital.xyz/v2/market/prices/ws
  • Auth
    • HTTP bearer
    • or API key in header Sec-WebSocket-Protocol

Query parameters

version1 | 2

WebSocket message protocol. Omit for backward-compatible version 1; select version 2 for token_info.

Changes

No recorded changes to this operation across all 1 revision of this API.