Skip to main content
{
    "event": "subscribe",
    "subscription": {
        "name": "ownTrades",
        "token": "WW91ciBhdXRoZW50aWNhdGlvbiB0b2tlbiBnb2VzIGhlcmUu"
    }
}
[
    [
        {
            "TDLH43-DVQXD-2KHVYY": {
                "cost": "1000000.00000",
                "fee": "1600.00000",
                "margin": "0.00000",
                "ordertxid": "TDLH43-DVQXD-2KHVYY",
                "ordertype": "limit",
                "pair": "XBT/EUR",
                "postxid": "OGTT3Y-C6I3P-XRI6HX",
                "price": "100000.00000",
                "time": "1560516023.070651",
                "type": "sell",
                "vol": "1000000000.00000000"
            }
        }
    ],
    "ownTrades",
    {
        "sequence": 2948
    }
]
WSSws-auth.kraken.comownTrades
The ownTrades channel streams executions for the authenticated user. A snapshot of the last 50 trades is sent on subscription, followed by real-time updates for any new trades.

Subscribe

event
string
required
Value: subscribe
subscription
object
reqid
string
Optional client originated request identifier sent as acknowledgment in the response.

Snapshot / Update

The snapshot and update responses share the same schema. The payload is a JSON array containing the trade data, the channel name, and feed detail.
[0]
object[]
A list of trade objects. Each object is keyed by the Kraken trade identifier.
[1]
string
Value: ownTrades
[2]
object