Reference prices are for display only. They are not the resolution or settlement value of any
market and are never used for collateral valuation. Markets resolve according to their own
resolution source and rules.
coin is required and must be one of BTC, ETH, SOL, XRP, DOGE, HYPE, BNB, or ZEC
(case-insensitive). Do not send user. Any other coin, a missing coin, or a user field returns an
error message with Invalid Polymarket reference price subscription. Subscribe once per coin.After the subscriptionResponse acknowledgment, the server immediately sends a snapshot for the
coin.
The first message after subscribing is a snapshot (isSnapshot: true).
Live updates (isSnapshot: false) can include delayed observations or corrections. Merge them
into retained history by timestamp, replacing any point at the same timestamp. Use the point
with the greatest timestamp as the current price.
A later message with isSnapshot: true replaces the client’s history for that coin. The server
sends one when the reference feed reconnects or becomes unavailable.
An unavailable message has available: false, source: null, and no points. Clear or mark the
chart as unavailable and wait for the next snapshot with available: true.