The Ably Websocket API is being deprecated on July 1, 2026. See the migration guide →
curl --request GET \
--url https://api.sx.bet/markets/active{
"status": "success",
"data": {
"markets": [
{
"status": "ACTIVE",
"marketHash": "0x8120ae9408cd7556246473be7ceada8cba47d42418cce31ffad0b67b196e3218",
"outcomeOneName": "Golden State Warriors",
"outcomeTwoName": "Minnesota Timberwolves",
"outcomeVoidName": "NO_CONTEST",
"teamOneName": "Golden State Warriors",
"teamTwoName": "Minnesota Timberwolves",
"type": 226,
"gameTime": 1773453600,
"sportXeventId": "L18272456",
"liveEnabled": true,
"sportLabel": "Basketball",
"sportId": 1,
"leagueId": 1,
"leagueLabel": "NBA",
"group1": "NBA",
"chainVersion": "SXR",
"participantOneId": 15002,
"participantTwoId": 14999,
"__type": "Market"
},
{
"status": "ACTIVE",
"marketHash": "0x531e9e6d6469f6323d464340e91840b3666e4e43cf04b8c2a52c2ac0d67839fb",
"outcomeOneName": "Golden State Warriors +6.5",
"outcomeTwoName": "Minnesota Timberwolves -6.5",
"outcomeVoidName": "NO_GAME_OR_EVEN",
"teamOneName": "Golden State Warriors",
"teamTwoName": "Minnesota Timberwolves",
"type": 342,
"gameTime": 1773453600,
"line": 6.5,
"sportXeventId": "L18272456",
"liveEnabled": true,
"sportLabel": "Basketball",
"sportId": 1,
"leagueId": 1,
"leagueLabel": "NBA",
"group1": "NBA",
"chainVersion": "SXR",
"participantOneId": 15002,
"participantTwoId": 14999,
"mainLine": true,
"__type": "Market"
}
],
"nextKey": "60c7b8f54da0ad001aa3261c"
}
}Retrieve all active betting markets on the SX Bet exchange, with filters for sport, league, and event.
curl --request GET \
--url https://api.sx.bet/markets/active{
"status": "success",
"data": {
"markets": [
{
"status": "ACTIVE",
"marketHash": "0x8120ae9408cd7556246473be7ceada8cba47d42418cce31ffad0b67b196e3218",
"outcomeOneName": "Golden State Warriors",
"outcomeTwoName": "Minnesota Timberwolves",
"outcomeVoidName": "NO_CONTEST",
"teamOneName": "Golden State Warriors",
"teamTwoName": "Minnesota Timberwolves",
"type": 226,
"gameTime": 1773453600,
"sportXeventId": "L18272456",
"liveEnabled": true,
"sportLabel": "Basketball",
"sportId": 1,
"leagueId": 1,
"leagueLabel": "NBA",
"group1": "NBA",
"chainVersion": "SXR",
"participantOneId": 15002,
"participantTwoId": 14999,
"__type": "Market"
},
{
"status": "ACTIVE",
"marketHash": "0x531e9e6d6469f6323d464340e91840b3666e4e43cf04b8c2a52c2ac0d67839fb",
"outcomeOneName": "Golden State Warriors +6.5",
"outcomeTwoName": "Minnesota Timberwolves -6.5",
"outcomeVoidName": "NO_GAME_OR_EVEN",
"teamOneName": "Golden State Warriors",
"teamTwoName": "Minnesota Timberwolves",
"type": 342,
"gameTime": 1773453600,
"line": 6.5,
"sportXeventId": "L18272456",
"liveEnabled": true,
"sportLabel": "Basketball",
"sportId": 1,
"leagueId": 1,
"leagueLabel": "NBA",
"group1": "NBA",
"chainVersion": "SXR",
"participantOneId": 15002,
"participantTwoId": 14999,
"mainLine": true,
"__type": "Market"
}
],
"nextKey": "60c7b8f54da0ad001aa3261c"
}
}Documentation Index
Fetch the complete documentation index at: https://docs.sx.bet/llms.txt
Use this file to discover all available pages before exploring further.
type and betGroup can be present. Not both.If set to true, the result will only include main lines on spread and over under markets
If set, it will only include markets for a particular sportXeventId
If set, it will only include markets for a particular league ID
If set, it will only include markets for particular sport IDs (comma separated)
If set, it will only include markets that are currently available for in-play betting
If set, it will only include markets for a particular bet group
If set, it will only include markets for those particular market types. See below for the options
Used for pagination. Pass the nextKey returned from the previous request to retrieve the next set of records.
Used for pagination. Requested page size. Each call will only return up to this amount of records. Maximum of 100
If set, only return markets for games starting at or after this UNIX timestamp