curl --request GET \
--url https://test.deribit.com/api/v2/private/get_lsp_participant_config \
--header 'Content-Type: application/json' \
--data '
{
"jsonrpc": "2.0",
"id": 8801,
"method": "private/get_lsp_participant_config",
"params": {}
}
'import requests
url = "https://test.deribit.com/api/v2/private/get_lsp_participant_config"
payload = {
"jsonrpc": "2.0",
"id": 8801,
"method": "private/get_lsp_participant_config",
"params": {}
}
headers = {"Content-Type": "application/json"}
response = requests.get(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'GET',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
jsonrpc: '2.0',
id: 8801,
method: 'private/get_lsp_participant_config',
params: {}
})
};
fetch('https://test.deribit.com/api/v2/private/get_lsp_participant_config', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://test.deribit.com/api/v2/private/get_lsp_participant_config",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_POSTFIELDS => json_encode([
'jsonrpc' => '2.0',
'id' => 8801,
'method' => 'private/get_lsp_participant_config',
'params' => [
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://test.deribit.com/api/v2/private/get_lsp_participant_config"
payload := strings.NewReader("{\n \"jsonrpc\": \"2.0\",\n \"id\": 8801,\n \"method\": \"private/get_lsp_participant_config\",\n \"params\": {}\n}")
req, _ := http.NewRequest("GET", url, payload)
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://test.deribit.com/api/v2/private/get_lsp_participant_config")
.header("Content-Type", "application/json")
.body("{\n \"jsonrpc\": \"2.0\",\n \"id\": 8801,\n \"method\": \"private/get_lsp_participant_config\",\n \"params\": {}\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://test.deribit.com/api/v2/private/get_lsp_participant_config")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"jsonrpc\": \"2.0\",\n \"id\": 8801,\n \"method\": \"private/get_lsp_participant_config\",\n \"params\": {}\n}"
response = http.request(request)
puts response.read_body{
"jsonrpc": "2.0",
"id": 8801,
"result": {
"config": {
"enabled": true,
"group_limits": {
"1": 15,
"6": 0
}
}
}
}{
"jsonrpc": "2.0",
"message": "<string>",
"error": 123,
"id": 123
}private/get_lsp_participant_config
Retrieves the LSP (Liquidity Support Program) participant configuration for the authenticated account.
LSP participants are designated subaccounts that receive assigned positions from liquidated users as an alternative to auto-deleveraging (ADL). This method must be called with an API key belonging to the LSP participant subaccount itself — it returns an error if the authenticated account has no LSP configuration.
The response includes the participant’s enable/disable state and any per-cooldown-group limit overrides. When the platform-side participant position lock is switched on, enrolling a subaccount as an LSP participant also locks it to reduce-only trading; this lock is off by default, so participation does not by itself restrict the subaccount to reduce-only.
Scope: account:read
curl --request GET \
--url https://test.deribit.com/api/v2/private/get_lsp_participant_config \
--header 'Content-Type: application/json' \
--data '
{
"jsonrpc": "2.0",
"id": 8801,
"method": "private/get_lsp_participant_config",
"params": {}
}
'import requests
url = "https://test.deribit.com/api/v2/private/get_lsp_participant_config"
payload = {
"jsonrpc": "2.0",
"id": 8801,
"method": "private/get_lsp_participant_config",
"params": {}
}
headers = {"Content-Type": "application/json"}
response = requests.get(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'GET',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
jsonrpc: '2.0',
id: 8801,
method: 'private/get_lsp_participant_config',
params: {}
})
};
fetch('https://test.deribit.com/api/v2/private/get_lsp_participant_config', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://test.deribit.com/api/v2/private/get_lsp_participant_config",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_POSTFIELDS => json_encode([
'jsonrpc' => '2.0',
'id' => 8801,
'method' => 'private/get_lsp_participant_config',
'params' => [
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://test.deribit.com/api/v2/private/get_lsp_participant_config"
payload := strings.NewReader("{\n \"jsonrpc\": \"2.0\",\n \"id\": 8801,\n \"method\": \"private/get_lsp_participant_config\",\n \"params\": {}\n}")
req, _ := http.NewRequest("GET", url, payload)
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://test.deribit.com/api/v2/private/get_lsp_participant_config")
.header("Content-Type", "application/json")
.body("{\n \"jsonrpc\": \"2.0\",\n \"id\": 8801,\n \"method\": \"private/get_lsp_participant_config\",\n \"params\": {}\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://test.deribit.com/api/v2/private/get_lsp_participant_config")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"jsonrpc\": \"2.0\",\n \"id\": 8801,\n \"method\": \"private/get_lsp_participant_config\",\n \"params\": {}\n}"
response = http.request(request)
puts response.read_body{
"jsonrpc": "2.0",
"id": 8801,
"result": {
"config": {
"enabled": true,
"group_limits": {
"1": 15,
"6": 0
}
}
}
}{
"jsonrpc": "2.0",
"message": "<string>",
"error": 123,
"id": 123
}Response
Success response
The JSON-RPC version (2.0)
2.0 Hide child attributes
Hide child attributes
LSP participation configuration for a single subaccount.
Note: designating a subaccount as an LSP participant also locks it to reduce-only trading platform-side. This lock is not automatically released when the participant is removed — an admin must clear it manually.
Hide child attributes
Hide child attributes
Whether this subaccount is currently an active LSP participant eligible to receive assignments.
Per-participant overrides of the assignment limit for each cooldown group, expressed as a percentage of the participant's own equity. Keyed by group: "1" through "6" (crypto tiers, "6" is the catch-all tier) or "rwa" (real-world-asset instruments, e.g. tokenized equities/commodities).
A group absent from this map inherits the platform-wide default for that group. A value of 0 disables assignments for that group entirely. The maximum allowed value for any group is notional_capacity_factor * 100 (see the global LSP config) — that factor caps the total notional LSP may assign to a participant as a multiple of its equity, and does not change the participant account's own maximum leverage.
Hide child attributes
Hide child attributes
The id that was sent in the request
Related topics
Liquidity Support Program (LSP) API Guideprivate/get_lsp_participantsprivate/get_lsp_participants_usageprivate/get_lsp_usageprivate/get_mmp_configWas this page helpful?