Skip to main content
GET
/
leveragepreferences
Get leverage settings
curl --request GET \
  --url https://futures.kraken.com/derivatives/api/v3/leveragepreferences \
  --header 'APIKey: <api-key>' \
  --header 'Authent: <api-key>'
import requests

url = "https://futures.kraken.com/derivatives/api/v3/leveragepreferences"

headers = {
"APIKey": "<api-key>",
"Authent": "<api-key>"
}

response = requests.get(url, headers=headers)

print(response.text)
const options = {method: 'GET', headers: {APIKey: '<api-key>', Authent: '<api-key>'}};

fetch('https://futures.kraken.com/derivatives/api/v3/leveragepreferences', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));
package main

import (
"fmt"
"net/http"
"io"
)

func main() {

url := "https://futures.kraken.com/derivatives/api/v3/leveragepreferences"

req, _ := http.NewRequest("GET", url, nil)

req.Header.Add("APIKey", "<api-key>")
req.Header.Add("Authent", "<api-key>")

res, _ := http.DefaultClient.Do(req)

defer res.Body.Close()
body, _ := io.ReadAll(res.Body)

fmt.Println(string(body))

}
{
  "result": "success",
  "serverTime": "2022-06-28T15:01:12.762Z",
  "leveragePreferences": [
    {
      "symbol": "PF_XBTUSD",
      "maxLeverage": 10
    }
  ]
}

Authorizations

APIKey
string
header
required

General API key with at least read-only access

Authent
string
header
required

Authentication string

Response

200 - application/json

OK

leveragePreferences
object[]
required
result
enum<string>
required
Available options:
success
Example:

"success"

serverTime
string<date-time>
required

Server time in Coordinated Universal Time (UTC)

Example:

"2020-08-27T17:03:33.196Z"