The Ably Websocket API is being deprecated on July 1, 2026. See the migration guide →
cURL
curl --request GET \ --url https://api.sx.bet/leagues
{ "status": "success", "data": [ { "leagueId": 1, "label": "NBA", "sportId": 1, "active": true } ] }
List all leagues supported by the SX Bet exchange.
Only return leagues for this particular sport ID.
success or failure if the request succeeded or not
success
failure
Show child attributes