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.
SenderCompID
Every FIX message — including the initial Logon — requires aSenderCompID (tag 49). This identifier is assigned to you by Kraken during onboarding.
- Spot sessions use your standard SenderCompID
- Derivatives sessions use a SenderCompID with a
DRVsuffix - Trading and Market Data sessions use the same SenderCompID but connect to different ports
Contact your Account Manager to request your SenderCompID and connection details.
API Key Setup
Private trading sessions require an API Key with FIX permissions. Create one in Kraken Pro settings.| Session | API Key type needed |
|---|---|
| Spot trading | FIX key created under your Spot account |
| Derivatives trading | FIX key created under your Derivatives account |
Authentication Flow
Market Data sessions authenticate with the SenderCompID alone. Trading sessions require an additional HMAC signature:- Generate a
Nonce— current time in milliseconds since Unix epoch - Build the
MessageInputstring from fixed FIX fields - Compute
SHA256(MessageInput + Nonce) - Sign it with
HMAC-SHA512using your base64-decoded API Secret - base64-encode the result → this is your
Password(tag 554) - Send the Logon with
UserName(tag 553),Password(tag 554), andNonce(tag 5025)