Skip to main content

Authentication

INFO

wss://wss.prime.kraken.com/ws/v1

authenticationAuthentication Required

WebSocket connections must be authenticated by signing the request and sending the signature in HTTP headers.

Connection Headers

HeaderTypeDescription
ApiKeystringYour Kraken API key
ApiSignstringbase64-encoded signature
ApiTimestampstringAn ISO-8601 UTC string of the form 2019-02-13T05:17:32.000000Z

Environments

EnvironmentWebSocket Endpoint
Sandboxwss://wss.sandbox.prime.kraken.com/ws/v1
Productionwss://wss.prime.kraken.com/ws/v1

API Keys

API keys can be created and managed programmatically via the Prime REST API — see CreatePrimeApiUserKey and related endpoints. Alternatively, contact Kraken support at prime_trading@kraken.com.

You will need separate API Keys for connecting to the sandbox and production environments.

Rate Limits

There is no limit to how many concurrent websocket connections you're allowed, though this may change in the future. If you expect to have more than ~10 active connections, please contact prime_trading@kraken.com.