The Ably Websocket API is being deprecated on July 1, 2026. See the migration guide →
cURL
curl --request GET \ --url https://api.sx.bet/teams
{ "status": "success", "data": [ { "id": 275, "name": "Boston Celtics", "sport": { "sportId": 1, "label": "Basketball", "active": true } }, { "id": 276, "name": "Miami Heat", "sport": { "sportId": 1, "label": "Basketball", "active": true } } ] }
Get all teams within a specific league on SX Bet.
Filter teams by sport ID.
Page number for pagination, starting at 0.
Number of results per page. Default is 20. Maximum is 500.
x <= 500
Filter by a specific team ID.
success or failure if the request succeeded or not
success
failure
Show child attributes