Ping
REQUESTwss://wss.prime.kraken.com/ws/v1
ping
Pings may be optionally initiated by the client. They are not required to keep the session alive. The server will respond with a pong
message.
Request
- Request Schema
- Example
reqid number required
A unique number that identifies this ping request.
type string required
Value:
Ping
Request type.
ts string required
An ISO-8601 UTC string of the form 2019-02-13T05:17:32.000000Z
.
data array [ ]
Optional list of objects that is forwarded in the response.
{
"reqid": 2,
"type": "Ping",
"ts": "2024-01-13T05:17:32.000000Z"
}
Response
- Response Schema
- Example
reqid number required
The request ID from the ping request.
type string required
Value:
Pong
Response type.
seqNum number required
Sequence number, always 0 for ping/pong.
ts string required
An ISO-8601 UTC string of the form 2019-02-13T05:17:32.000000Z
.
data array [ ]
Forwarded data from the ping request, if provided.
{
"reqid": 2,
"type": "Pong",
"seqNum": 0,
"ts": "2024-01-13T05:17:32.002500Z"
}