Change your privacy setting
curl --request POST \
--url https://api.sx.bet/user/privacy-v3 \
--header 'Content-Type: application/json' \
--header 'x-sx-api-key: <api-key>' \
--data '
{
"isPrivate": true
}
'import requests
url = "https://api.sx.bet/user/privacy-v3"
payload = { "isPrivate": True }
headers = {
"x-sx-api-key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'x-sx-api-key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({isPrivate: true})
};
fetch('https://api.sx.bet/user/privacy-v3', 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://api.sx.bet/user/privacy-v3",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'isPrivate' => true
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"x-sx-api-key: <api-key>"
],
]);
$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://api.sx.bet/user/privacy-v3"
payload := strings.NewReader("{\n \"isPrivate\": true\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("x-sx-api-key", "<api-key>")
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.post("https://api.sx.bet/user/privacy-v3")
.header("x-sx-api-key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"isPrivate\": true\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.sx.bet/user/privacy-v3")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["x-sx-api-key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"isPrivate\": true\n}"
response = http.request(request)
puts response.read_body{
"status": "success",
"data": {
"isPrivate": true
}
}Wallet & Funding
Change privacy setting
Choose whether your bets and orders are published with your identity.
POST
/
user
/
privacy-v3
Change your privacy setting
curl --request POST \
--url https://api.sx.bet/user/privacy-v3 \
--header 'Content-Type: application/json' \
--header 'x-sx-api-key: <api-key>' \
--data '
{
"isPrivate": true
}
'import requests
url = "https://api.sx.bet/user/privacy-v3"
payload = { "isPrivate": True }
headers = {
"x-sx-api-key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'x-sx-api-key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({isPrivate: true})
};
fetch('https://api.sx.bet/user/privacy-v3', 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://api.sx.bet/user/privacy-v3",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'isPrivate' => true
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"x-sx-api-key: <api-key>"
],
]);
$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://api.sx.bet/user/privacy-v3"
payload := strings.NewReader("{\n \"isPrivate\": true\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("x-sx-api-key", "<api-key>")
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.post("https://api.sx.bet/user/privacy-v3")
.header("x-sx-api-key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"isPrivate\": true\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.sx.bet/user/privacy-v3")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["x-sx-api-key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"isPrivate\": true\n}"
response = http.request(request)
puts response.read_body{
"status": "success",
"data": {
"isPrivate": true
}
}Controls whether your betting activity is de-anonymized. When it is, your positions, orders, and trades are attributed to you. Otherwise your activity is anonymized.
The setting applies only to what you place after the setting is changed. Orders and bets already placed
keep the setting they were placed under, permanently. Becoming anonymized does not retract bets already
published under your identity. Becoming de-anonymized does not reveal previous bets that were placed while you were anonymized.
Authorizations
API key, sent as the x-sx-api-key header.
Body
application/json
true to anonymize your activity, false to de-anonymize it.
Last modified on September 22, 2026