The Ably Websocket API is being deprecated on July 1, 2026. See the migration guide →
curl --request GET \
--url https://api.sx.bet/leagues/active{
"status": "success",
"data": [
{
"leagueId": 1236,
"label": "Portugal Primeira Liga",
"sportId": 5,
"eventsByType": {
"game-lines": 6,
"1X2": 5
}
}
]
}Get leagues that currently have active markets on the SX Bet exchange.
curl --request GET \
--url https://api.sx.bet/leagues/active{
"status": "success",
"data": [
{
"leagueId": 1236,
"label": "Portugal Primeira Liga",
"sportId": 5,
"eventsByType": {
"game-lines": 6,
"1X2": 5
}
}
]
}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.