Get a bettor's de-anonymized positions
curl --request GET \
--url https://api.sx.bet/positions-v3/public \
--header 'x-sx-api-key: <api-key>'import requests
url = "https://api.sx.bet/positions-v3/public"
headers = {"x-sx-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-sx-api-key': '<api-key>'}};
fetch('https://api.sx.bet/positions-v3/public', 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/positions-v3/public",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"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"
"net/http"
"io"
)
func main() {
url := "https://api.sx.bet/positions-v3/public"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-sx-api-key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.sx.bet/positions-v3/public")
.header("x-sx-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.sx.bet/positions-v3/public")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-sx-api-key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"status": "success",
"data": {
"userAddress": "0x685D1D76A2771FEd07297c83e723eAc320a30d7a",
"positions": [
{
"marketHash": "0x1fec4ed9b71c2f812db900af7d12446158a0eda56041106f99551c496efd3266",
"market": {
"marketHash": "0x1fec4ed9b71c2f812db900af7d12446158a0eda56041106f99551c496efd3266",
"teamOneName": "Toronto Raptors",
"teamTwoName": "Charlotte Hornets"
},
"totalStake": "1000000",
"maxWin": "1500000",
"maxLoss": "-1000000",
"isOutcomeOneMaxWin": true,
"odds": {
"outcomeOne": "0.4",
"outcomeTwo": "0.6"
},
"tradeCount": 1,
"betTime": "2026-09-18T19:58:21.751Z",
"updatedAt": "2026-09-18T19:58:22.100Z"
}
]
}
}Trades, Fills & Positions
Get de-anonymized positions
Read one bettor’s positions, counting only the bets they placed while de-anonymized.
GET
/
positions-v3
/
public
Get a bettor's de-anonymized positions
curl --request GET \
--url https://api.sx.bet/positions-v3/public \
--header 'x-sx-api-key: <api-key>'import requests
url = "https://api.sx.bet/positions-v3/public"
headers = {"x-sx-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-sx-api-key': '<api-key>'}};
fetch('https://api.sx.bet/positions-v3/public', 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/positions-v3/public",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"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"
"net/http"
"io"
)
func main() {
url := "https://api.sx.bet/positions-v3/public"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-sx-api-key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.sx.bet/positions-v3/public")
.header("x-sx-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.sx.bet/positions-v3/public")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-sx-api-key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"status": "success",
"data": {
"userAddress": "0x685D1D76A2771FEd07297c83e723eAc320a30d7a",
"positions": [
{
"marketHash": "0x1fec4ed9b71c2f812db900af7d12446158a0eda56041106f99551c496efd3266",
"market": {
"marketHash": "0x1fec4ed9b71c2f812db900af7d12446158a0eda56041106f99551c496efd3266",
"teamOneName": "Toronto Raptors",
"teamTwoName": "Charlotte Hornets"
},
"totalStake": "1000000",
"maxWin": "1500000",
"maxLoss": "-1000000",
"isOutcomeOneMaxWin": true,
"odds": {
"outcomeOne": "0.4",
"outcomeTwo": "0.6"
},
"tradeCount": 1,
"betTime": "2026-09-18T19:58:21.751Z",
"updatedAt": "2026-09-18T19:58:22.100Z"
}
]
}
}GET /positions-v3/public reads a single bettor’s exposure, aggregated per market. Only bets that bettor placed while de-anonymized are counted.Authorizations
API key, sent as the x-sx-api-key header.
Query Parameters
The bettor to read, as a checksummed address. Required.
Bet statuses to include, comma-separated. Open positions are MATCHED,LOCKED; history is SETTLED.
Restrict to one event (prefixed form, e.g. L12003787).
Required string length:
2 - 64Sort the full result before paging. Defaults to gameTime.
Available options:
gameTime, maxLoss Sort ascending. Keep sortBy and sortAsc fixed for the whole walk — changing either with a cursor in hand is rejected.
Rows per page.
Required range:
1 <= x <= 100Cursor from the previous response to continue pagination.
Last modified on September 22, 2026