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.
OpenAPI spec
Spot REST OpenAPI
Download the Spot REST OpenAPI spec (YAML)
Derivatives REST OpenAPI
Download the Derivatives REST OpenAPI spec (YAML)
API Organisation
The Spot REST API is organised by function, covering a wide range of services:Requests, Responses and Errors
Requests
Request payloads supports Json encoding (Content-Type: application/json) as well as form-encoded (Content-Type: application/x-www-form-urlencoded).
We recommend clients to specify User-Agent in the headers of all their requests. This will help us optimize interactions and improve the overall efficiency and security of the API.
Responses
Responses are JSON encoded and contain one or two top-level keys (result and error for successful requests or those with warnings, or only error for failed or rejected requests)
Example
Request:Error Details
HTTP status codes are generally not used by our API to convey information about the state of requests and any errors or warnings are denoted in theerror field of the response as described above. Status codes other than 200 indicate that there was an issue with the request reaching our servers.
Error messages follow the general format “<severity><category>: <description>”
- <severity> :
Efor error,Wfor warning. - <category> :
General,Auth,API,Query,Order,Trade,Funding, orService. - <description> : a text string that describes the reason for the error.
Related guides
Authentication
HMAC-SHA512 signature, nonce management, and API-Key header
API key permissions
Which permissions to enable for each use case
Error reference
Full list of error codes and handling strategies
Rate limits
How the REST rate counter works
API comparison
When to use REST vs WebSocket vs FIX