Connection
string
required
The market address to subscribe to.
Message Types
Server Messages
- market
- history
- update
- pong
- error
Sent immediately on connection with full market data.
Client Messages
- set_interval
- ping
Change the data interval.Valid intervals:
1s, 1m, 5m, 15m, 1h, 4h, 1dConnection Example
Data Points
Each update and history point contains:Gap Filling
Historical data is automatically gap-filled:- Missing intervals are filled with the last known values
- Data extends forward to the current blockchain time
- Maximum of 60 data points returned
Timeouts
Send periodic pings to keep the connection alive.