Skip to main content

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.

WSSfutures.kraken.com/ws/v1heartbeat
The heartbeat feed publishes a heartbeat message at timed intervals.

Request

event
string
required
subscribe or unsubscribe
feed
string
required
The requested subscription feed. Value: heartbeat
{
  "event": "subscribe",
  "feed": "heartbeat"
}

Response Success

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

Response Snapshot

feed
string
The subscribed feed.
time
positive integer
The UTC time of the server in milliseconds.
{
  "feed": "heartbeat",
  "time": 1534262350627
}

Response Error

event
string
Value: error
message
string
One of: Invalid feed, Json ErrorAn error message.
{
  "event": "error",
  "message": "Json Error"
}