Trading
Get Websockets Token
An authentication token must be requested via this REST API endpoint in order to connect to and authenticate with our Websockets API. The token should be used within 15 minutes of creation, but it does not expire once a successful Websockets connection and private subscription has been made and is maintained.
API Key Permissions Required: WebSocket interface - On
post/private/GetWebSocketsToken
Request
- Base URL: https://api.kraken.com/0
- URL: https://api.kraken.com/0/private/GetWebSocketsToken
- Auth: API key in header API-Key and API key in header API-Sign
Request body
Example request
{
"nonce": 1695828436
}Response
Websockets token retrieved.
Example response
{
"error": [],
"result": {
"token": "1Dwc4lzSwNWOAwkMdqhssNNFhs1ed606d1WcF3XfEMw",
"expires": 900
}
}Changes
No recorded changes to this operation across all 1 revision of this API.