WS /ws/ohlc/{md5}
WS

wss://api.xrpl.to/ws/ohlc/{md5}

OHLC candlestick streaming

AuthNone — works without a key

Request

WSwss://api.xrpl.to/ws/ohlc/0dd550278b74cb6690fdae351e8e0df3
Path parameterValueDescription
md5The token's md5 (md5 of issuer_currency)
QueryValueDescription
interval1m|5m|15m|30m|1h|2h|4h|1d|1w (default: 5m)
vs_currencyXRP|USD|EUR|JPY|CNH (default: USD)
snapshot0 to skip the initial frame (default: 1)
wscat -c 'wss://api.xrpl.to/ws/ohlc/0dd550278b74cb6690fdae351e8e0df3'
A stream: connect with the code on the right, or wscat.

Response

Messages you receive
initial: { type, md5, interval, vs_currency, count, ohlc: [[time, o, h, l, c, volume]] } — last 100 intervals (omitted with snapshot=0); updates: { e: "kline", E, s, k: { t, T, i, o, h, l, c, v, x } }

What it does

OHLC candlestick streaming

Notes
Max 10 subscriptions per connection
OpenAPI