Skip to main content
{
  "event": "subscribe",
  "pair": [
    "XBT/EUR"
  ],
  "subscription": {
    "name": "ticker"
  }
}
[
  0,
  {
    "a": [
      "5525.40000",
      1,
      "1.000"
    ],
    "b": [
      "5525.10000",
      1,
      "1.000"
    ],
    "c": [
      "5525.10000",
      "0.00398963"
    ],
    "h": [
      "5783.00000",
      "5783.00000"
    ],
    "l": [
      "5505.00000",
      "5505.00000"
    ],
    "o": [
      "5760.70000",
      "5763.40000"
    ],
    "p": [
      "5631.44067",
      "5653.78939"
    ],
    "t": [
      11493,
      16267
    ],
    "v": [
      "2634.11501494",
      "3591.17907851"
    ]
  },
  "ticker",
  "XBT/USD"
]
{
  "event": "unsubscribe",
  "pair": [
    "XBT/EUR",
    "XBT/USD"
  ],
  "subscription": {
    "name": "ticker"
  }
}

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.kraken.comticker
Ticker information on currency pair. On subscription, a snapshot of the current ticker data is sent, followed by updates on every trade event.

Subscribe

event
string
required
Value: subscribe
pair
string[]
required
Example: ["BTC/USD", "MATIC/GBP"]The currency pairs for this request.
subscription
object
reqid
string
Optional client originated request identifier sent as acknowledgment in the response.

Snapshot / Update

array

Unsubscribe

event
string
required
Value: unsubscribe
pair
string[]
Example: ["BTC/USD", "MATIC/GBP"]
Condition: All channels which support pair subscriptions
The currency pairs to unsubscribe.
reqid
string
Optional client originated request identifier sent as acknowledgment in the response.
subscription
object