Skip to main content
{
    "method": "subscribe",
    "params": {
        "channel": "executions",
        "token": "G38a1tGFzqGiUCmnegBcm8d4nfP3tytiNQz6tkCBYXY",
        "snap_orders": true,
        "snap_trades": true
    }
}
{
    "channel": "executions",
    "type": "update",
    "data": [
        {
            "order_id": "OK4GJX-KSTLS-7DZZO5",
            "order_userref": 3,
            "symbol": "BTC/USD",
            "order_qty": 0.005,
            "cum_cost": 0.0,
            "time_in_force": "GTC",
            "exec_type": "pending_new",
            "side": "sell",
            "order_type": "limit",
            "limit_price_type": "static",
            "limit_price": 26500.0,
            "stop_price": 0.0,
            "order_status": "pending_new",
            "fee_usd_equiv": 0.0,
            "fee_ccy_pref": "fciq",
            "timestamp": "2023-09-22T10:33:05.709950Z"
        }
    ],
    "sequence": 8
}
{
    "method": "unsubscribe",
    "params": {
        "channel": "executions",
        "token": "G38a1tGFzqGiUCmnegBcm8d4nfP3tytiNQz6tkCBYXY"
    }
}

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.

WSSws-auth.kraken.com/v2executions
The executions channel streams order status and execution events for this account. It corresponds to a combination of the following Websockets v1 channels: openOrders and ownTrades. This channel contains account specific data, an authentication token is required in the request.

Subscribe

method
string
required
Value: subscribe
params
object
required
req_id
integer
Optional client originated request identifier sent as acknowledgment in the response.

Snapshot / Update

The snapshot and update stream share the same data schema, the fields included in the message is dependant on the exec_type. By default, the snapshot response contains all open orders and latest 50 trades. The snapshot message content can be adjusted with the subscription parameters.
channel
string
Value: executions
type
string
One of: snapshot, update
data
object[]
A list of execution reports: order status and fills.
sequence
integer
The subscription message sequence number.

Unsubscribe

method
string
required
Value: unsubscribe
params
object
required
req_id
integer
Optional client originated request identifier sent as acknowledgment in the response.