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 trade
The trade channel generates a trade event when orders are matched in the book.
Multiple trades may be batched in a single message but that does not mean that these trades resulted from a single taker order.
The feed accepts a list of symbols for subscription.
Subscribe
Example: ["BTC/USD", "MATIC/GBP"]A list of currency pairs.
One of: true, false
Default: falseRequest 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.
Indicates 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.
The snapshot reflects the most recent 50 trades.
A list of trade events. Example: "BTC/USD"The symbol of the currency pair.
The side of the taker order.
Average price of the trade.
One of: limit, marketThe order type of the taker order.
Trade identifier is a sequence number, unique per book.
Format: RFC3339
Example: 2022-12-25T09:30:59.123456ZThe book order update timestamp.
Unsubscribe
Example: ["BTC/USD", "MATIC/GBP"]A list of currency pairs.
Optional client originated request identifier sent as acknowledgment in the response.
Example: "BTC/USD"The currency pair associated with this subscription.
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.