/v1/leagues
Active leagues with event counts
Live testen
10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.
Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.
API-Key holenCode-Snippets
curl "https://api.oanor.com/sxbet-api/v1/leagues" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/sxbet-api/v1/leagues", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/sxbet-api/v1/leagues");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
"https://api.oanor.com/sxbet-api/v1/leagues",
headers={"x-oanor-key": "oanor_test_..."}
)
Beispiel-Response
Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.
{
"data": {
"count": 1,
"venue": "sxbet",
"leagues": [
{
"label": "WNBA",
"events": {
"game-lines": 5
},
"sport_id": 1,
"league_id": 1384,
"popularity": 0
}
]
},
"meta": {
"timestamp": "2026-06-15T11:15:47.339Z",
"request_id": "060f7dd8-3c3b-440f-987c-2831f639c4d0"
},
"status": "ok",
"message": "Leagues retrieved successfully",
"success": true
}