WebSocket Reference
crypto:prices
Real-time Chainlink crypto price feeds for short-duration markets
The crypto:prices channel broadcasts real-time cryptocurrency prices from Chainlink oracle feeds. Prices are used by short-duration markets (e.g., "Will BTC close above $100K at market close?") and boundary resolution. Each crypto asset has its own sub-channel keyed by symbol slug.
Subscribe
Subscribe to a specific cryptocurrency by its slug:
{ "event": "subscribe", "data": { "channel": "crypto:prices:chainlink:<slug>" } }Replace <slug> with the token slug (e.g., btc, eth, sol, xrp, doge, bnb, hype).
Unsubscribe
{ "event": "unsubscribe", "data": { "channel": "crypto:prices:chainlink:<slug>" } }Server Broadcast
When a Chainlink price update arrives, the server emits a data event with the price-update event type:
{
"channel": "crypto:prices:chainlink:btc",
"data": {
"symbol": "BTCUSDT",
"price": 102450.75,
"timestamp": 1716923400000
}
}Payload Schema
| Field | Type | Description |
|---|---|---|
symbol | string | Trading pair symbol in Binance format (e.g., BTCUSDT, ETHUSDT) |
price | number | Current Chainlink oracle price in USD |
timestamp | number | Unix millisecond epoch of the Chainlink emission time |
Supported Symbols
| Slug | Symbol | Asset |
|---|---|---|
btc | BTCUSDT | Bitcoin |
eth | ETHUSDT | Ethereum |
sol | SOLUSDT | Solana |
xrp | XRPUSDT | XRP |
doge | DOGEUSDT | Dogecoin |
bnb | BNBUSDT | Binance Coin |
hype | HYPEUSDT | Hyperliquid |
Notes
- This channel does not require authentication — crypto price data is public
- Prices are sourced from Chainlink oracle feeds via the Polymarket RTDS (Real-Time Data Streams) connector
- Each cryptocurrency has its own sub-channel — subscribe only to the symbols you need
- Price updates are event-driven based on Chainlink oracle emission frequency, not on a fixed interval
- These prices are used internally for short-duration market resolution (e.g., BTC price at expiry) and boundary price discovery