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/v2 ticker
The ticker channel streams level 1 market data, i.e. top of the book (best bid/offer) and recent trade data.
The feed accepts a list of symbols for subscription and the updates are generated on trade events.
Subscribe
Example: ["BTC/USD", "MATIC/GBP"]A list of currency pairs.
One of: bbo, trades
Default: tradesThe book event that causes a new ticker update to be published on the channel.
bbo: on a change in the best-bid-offer price levels.
trades: on every trade.
One of: true, false
Default: trueRequest a snapshot after subscribing.
Optional client originated request identifier sent as acknowledgment in the response.
Example: "BTC/USD"The currency pair associated with this subscription.
One of: true, falseIndicates if a snapshot is requested.
An advisory message, highlighting deprecated fields or upcoming changes to the channel.
Indicates if the request was successfully processed by the engine. One of: true, false
Error message. Condition: if success is false.
The timestamp when the subscription was received on the wire, just prior to parsing data. Format: RFC3339. Example: 2022-12-25T09:30:59.123456Z
The timestamp when the acknowledgement was sent on the wire, just prior to transmitting data. Format: RFC3339. Example: 2022-12-25T09:30:59.123456Z
Optional client originated request identifier sent as acknowledgment in the response.
Snapshot / Update
The snapshot and update responses share the same schema. An update message is streamed on a trade event.
24-hour price change (in quote currency).
24-hour price change (in percentage points).
24-hour highest trade price.
Last traded price (only guaranteed if traded within the past 24 hours).
24-hour lowest trade price.
Example: "BTC/USD"The symbol of the currency pair.
Format: RFC3339
Example: 2022-12-25T09:30:59.123456ZThe ticker data timestamp.
24-hour traded volume (in base currency terms).
24-hour volume weighted average price.
Unsubscribe
Example: ["BTC/USD", "MATIC/GBP"]A list of currency pairs.
One of: bbo, trades
Default: tradesThe book event that causes a new ticker update to be published on the channel.
bbo: on a change in the best-bid-offer price levels.
trades: on every trade.
Optional client originated request identifier sent as acknowledgment in the response.
Example: "BTC/USD"The currency pair associated with this subscription.
One of: bbo, trades
Default: tradesThe book event that causes a new ticker update to be published on the channel.
bbo: on a change in the best-bid-offer price levels.
trades: on every trade.
Indicates if the request was successfully processed by the engine. One of: true, false
Error message. Condition: if success is false.
The timestamp when the subscription was received on the wire, just prior to parsing data. Format: RFC3339. Example: 2022-12-25T09:30:59.123456Z
The timestamp when the acknowledgement was sent on the wire, just prior to transmitting data. Format: RFC3339. Example: 2022-12-25T09:30:59.123456Z
Optional client originated request identifier sent as acknowledgment in the response.