Skip to main content

Subscription Status

CHANNEL

wss://ws.kraken.com

subscriptionStatus

Subscription status response to subscribe, unsubscribe or exchange initiated unsubscribe.

Payload

MESSAGE BODY

event string
Value: subscriptionStatus
channelName string required
Possible values: [book, ohlc, openOrders, ownTrades, spread, ticker, trade, *]
The name of the channel.
pair string
Example: "BTC/USD"
The currency pair associated with this subscription.
status string
Possible values: [subscribed, unsubscribed, ok, error]
subscription object
depth integer conditional
Condition: 'book' channel only.
The book depth.
interval integer conditional
Condition: 'ohlc' channel only.
The ohlc interval.
maxratecount integer
The rate counter.
name string required
Possible values: [book, ohlc, openOrders, ownTrades, spread, ticker, trade, *]
The name of the channel.
token string conditional
Condition: Authenticated requests only.
The authentication token associated with the request.
reqid integer
Client originated identifier for the request that initiated this response.
errorMessage string conditional
Condition: Unsuccessful requests only.
Error message for unsuccessful requests.
channelID integer
Channel ID on successful subscription, applicable to public messages only - deprecated, use channelName and pair.