Skip to main content
Public channel. Connect to: wss://wss.prime.kraken.com/ws/v1
Pings may be optionally initiated by the client. They are not required to keep the session alive. On a valid request, the server responds with a Pong message. If data is omitted or empty, the server responds with an error message instead.

Request

reqid
number
required
A unique number that identifies this ping request.
type
string
required
Request type. Value: Ping
ts
string
required
An ISO-8601 UTC string of the form 2019-02-13T05:17:32.000000Z.
data
array
required
Non-empty list of objects that is forwarded in the Pong response. Must contain at least one object; an empty array is rejected.

Response

reqid
number
required
The request ID from the ping request.
type
string
required
Response type. Value: Pong
seqNum
number
Sequence number, always 0 for ping/pong when present. This field may be omitted from the response.
ts
string
required
An ISO-8601 UTC string of the form 2019-02-13T05:17:32.000000Z.
data
array
required
Objects forwarded from the ping request data array.

Notes

  • data is required and must contain at least one object. Requests that omit data, or send "data": [], are rejected with "missing Ping data".
  • Any objects included in data are echoed back unchanged in the Pong response.
  • seqNum may be omitted from successful Pong responses.
  • Error responses use seq (not seqNum) and include an error object with code and msg fields.