Get your orders
curl --request GET \
--url https://api.sx.bet/orders-v3 \
--header 'x-sx-api-key: <api-key>'import requests
url = "https://api.sx.bet/orders-v3"
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/orders-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/orders-v3",
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/orders-v3"
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/orders-v3")
.header("x-sx-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.sx.bet/orders-v3")
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": {
"orders": [
{
"id": "0xd9b693a1075ab77c0638fe98fcd3144dbb8f91d0f7ee454d442bf25ca7cbcb66",
"marketHash": "0x81cfc23d0a02403f32d29b5a7c5686acd5eaedcdaa461cf253a1488e4cac0fcf",
"userAddress": "0xbcc6D643e4159A75ED1dB4e13330230B82F2AEe5",
"wallet": "0x4361123dbdc1D812fdf7D27045aF358C9C8AA70A",
"isBettingOutcomeOne": true,
"percentageOdds": "40000000000000000000",
"totalBetSize": "2000000",
"remainingSize": "2000000",
"expiry": "2026-07-31T19:45:07.000Z",
"status": "ACTIVE",
"inactiveReason": null,
"eventId": "L12952568",
"createdAt": "2026-07-31T18:45:07.437Z",
"updatedAt": "2026-07-31T18:45:07.456Z"
},
{
"id": "0x112a4f19f20395aefcdb5d26f3f8aab0d96b1aff7ce346c0bfb13d9490340cdf",
"marketHash": "0xbf06c6379c922d8118612d1d7493b20f6df6929437fbf6022904327f9516a2eb",
"userAddress": "0xbcc6D643e4159A75ED1dB4e13330230B82F2AEe5",
"wallet": "0x4361123dbdc1D812fdf7D27045aF358C9C8AA70A",
"isBettingOutcomeOne": true,
"percentageOdds": "40000000000000000000",
"totalBetSize": "3000000",
"remainingSize": "3000000",
"expiry": "2026-07-31T19:45:42.000Z",
"status": "ACTIVE",
"inactiveReason": null,
"eventId": "L12003787",
"createdAt": "2026-07-31T18:45:42.636Z",
"updatedAt": "2026-07-31T18:45:42.838Z"
}
],
"nextKey": "eyJjcmVhdGVkQXQiOiIyMDI2LTA3LTMxVDE4OjQ1OjQyLjYzNloiLCJpZCI6IjB4MTEyYTRmMTlmMjAzOTVhZWZjZGI1ZDI2ZjNmOGFhYjBkOTZiMWFmZjdjZTM0NmMwYmZiMTNkOTQ5MDM0MGNkZiJ9"
}
}{
"message": [
"perPage must not be greater than 100"
],
"error": "Bad Request",
"statusCode": 400
}{
"message": "BAD_AUTH",
"error": "Unauthorized",
"statusCode": 401
}{
"message": "Service Unavailable",
"statusCode": 503
}Orders
Get your orders
Query your active orders on the SX Bet orderbook.
GET
/
orders-v3
Get your orders
curl --request GET \
--url https://api.sx.bet/orders-v3 \
--header 'x-sx-api-key: <api-key>'import requests
url = "https://api.sx.bet/orders-v3"
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/orders-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/orders-v3",
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/orders-v3"
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/orders-v3")
.header("x-sx-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.sx.bet/orders-v3")
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": {
"orders": [
{
"id": "0xd9b693a1075ab77c0638fe98fcd3144dbb8f91d0f7ee454d442bf25ca7cbcb66",
"marketHash": "0x81cfc23d0a02403f32d29b5a7c5686acd5eaedcdaa461cf253a1488e4cac0fcf",
"userAddress": "0xbcc6D643e4159A75ED1dB4e13330230B82F2AEe5",
"wallet": "0x4361123dbdc1D812fdf7D27045aF358C9C8AA70A",
"isBettingOutcomeOne": true,
"percentageOdds": "40000000000000000000",
"totalBetSize": "2000000",
"remainingSize": "2000000",
"expiry": "2026-07-31T19:45:07.000Z",
"status": "ACTIVE",
"inactiveReason": null,
"eventId": "L12952568",
"createdAt": "2026-07-31T18:45:07.437Z",
"updatedAt": "2026-07-31T18:45:07.456Z"
},
{
"id": "0x112a4f19f20395aefcdb5d26f3f8aab0d96b1aff7ce346c0bfb13d9490340cdf",
"marketHash": "0xbf06c6379c922d8118612d1d7493b20f6df6929437fbf6022904327f9516a2eb",
"userAddress": "0xbcc6D643e4159A75ED1dB4e13330230B82F2AEe5",
"wallet": "0x4361123dbdc1D812fdf7D27045aF358C9C8AA70A",
"isBettingOutcomeOne": true,
"percentageOdds": "40000000000000000000",
"totalBetSize": "3000000",
"remainingSize": "3000000",
"expiry": "2026-07-31T19:45:42.000Z",
"status": "ACTIVE",
"inactiveReason": null,
"eventId": "L12003787",
"createdAt": "2026-07-31T18:45:42.636Z",
"updatedAt": "2026-07-31T18:45:42.838Z"
}
],
"nextKey": "eyJjcmVhdGVkQXQiOiIyMDI2LTA3LTMxVDE4OjQ1OjQyLjYzNloiLCJpZCI6IjB4MTEyYTRmMTlmMjAzOTVhZWZjZGI1ZDI2ZjNmOGFhYjBkOTZiMWFmZjdjZTM0NmMwYmZiMTNkOTQ5MDM0MGNkZiJ9"
}
}{
"message": [
"perPage must not be greater than 100"
],
"error": "Bad Request",
"statusCode": 400
}{
"message": "BAD_AUTH",
"error": "Unauthorized",
"statusCode": 401
}{
"message": "Service Unavailable",
"statusCode": 503
}GET /orders-v3 returns the orders the authenticated account has resting on the book right now,
oldest first. The scope is your own account.Authorizations
API key, sent as the x-sx-api-key header.
Query Parameters
Market ID to filter by.
Event ID to filter by.
Required string length:
2 - 64Sort the full result before paging. Default createdAt. event groups by fixture then market (eventId order, not soonest kickoff). totalBetSize is the order's original size.
Available options:
createdAt, event, totalBetSize Sort ascending. Defaults to true (oldest / smallest first).
Rows per page.
Required range:
1 <= x <= 100Cursor from the previous response to continue pagination.
Last modified on August 24, 2026