Skip to main content
WSSfutures.kraken.com/ws/v1heartbeat
Derivatives WebSocket is being deprecated. For new integrations, use the Unified WebSocket, which streams Spot and Derivatives over a single connection. Existing integrations continue to work until 1 March 2027, when the Derivatives WebSocket will no longer be available. Migrate to the Unified WebSocket before then.To use private channels or trade on the Unified WebSocket, you need a Kraken API key, not a Derivatives API key. Use it to get a token from GetWebSocketsToken. See Unified WebSocket authentication.
The heartbeat feed publishes a heartbeat message at timed intervals.

Request

string
required
subscribe or unsubscribe
string
required
The requested subscription feed. Value: heartbeat

Response Success

string
One of: subscribed, subscribed_failed, unsubscribed, unsubscribed_failedThe result.
string
The requested subscription feed. Value: heartbeat

Response Snapshot

string
The subscribed feed.
positive integer
The UTC time of the server in milliseconds.

Response Error

string
Value: error
string
One of: Invalid feed, Json ErrorAn error message.