Documentation Index Fetch the complete documentation index at: https://kraken-sandbox.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
WSS ws.kraken.com ohlc
Open High Low Close (Candle) feed for a currency pair and interval period. When subscribed, a snapshot of the last valid candle (irrespective of the endtime) is sent, followed by updates to the running candle.
Subscribe
Example: ["BTC/USD", "MATIC/GBP"]The currency pairs for this request.
One of: 1, 5, 15, 30, 60, 240, 1440, 10080, 21600
Default: 1Time interval associated with ohlc subscription in minutes.
Optional client originated request identifier sent as acknowledgment in the response.
The subscription status is returned via the subscriptionStatus message.
Snapshot / Update
Deprecated: use channelName and pairChannel identifier.
The candle detail for a specific interval period. Candle last update time, in seconds since epoch.
End time of interval, in seconds since epoch.
High price within interval.
Low price within interval.
Volume weighted average price within interval.
Accumulated volume within interval.
Number of trades within interval.
Example: "BTC/USD"The symbol of the currency pair.
Unsubscribe
Example: ["BTC/USD", "MATIC/GBP"]
Condition: All channels which support pair subscriptionsThe currency pairs to unsubscribe.
Optional client originated request identifier sent as acknowledgment in the response.
Condition: ‘ohlc’ channel onlyUnsubscribe to a specific interval.
The unsubscription status is returned via the subscriptionStatus message.