Exchange a signed request for an API key that lasts one hour
POST
/connectors/token
const url = 'https://api.krakenkey.io/connectors/token';const options = { method: 'POST', headers: {'Content-Type': 'application/json'}, body: '{"connectorId":"2489E9AD-2EE2-8E00-8EC9-32D5F69181C0","timestamp":"2026-10-10T14:00:00Z","nonce":"example","signature":"example"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://api.krakenkey.io/connectors/token \ --header 'Content-Type: application/json' \ --data '{ "connectorId": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "timestamp": "2026-10-10T14:00:00Z", "nonce": "example", "signature": "example" }'Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
object
connectorId
required
string format: uuid
timestamp
required
RFC 3339 UTC with second precision
string
Example
2026-10-10T14:00:00Znonce
required
Base64url (no padding) of at least 16 random bytes, at most 64 characters
string
signature
required
Standard base64 of the 64-byte Ed25519 signature
string
Responses
Section titled “Responses”Short-lived API key
Invalid connector credentials