/v1/leagues
Supported league aliases and ids
Probeer het live
10 gratis calls per dag — geen registratie, geen API-key. Loopt via de oanor-gateway.
Het werkt. Haal een API-key op en gebruik hem in je project.
Verkrijg een API-sleutelCodefragmenten
curl "https://api.oanor.com/cricketlive-api/v1/leagues" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/cricketlive-api/v1/leagues", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/cricketlive-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/cricketlive-api/v1/leagues",
headers={"x-oanor-key": "oanor_test_..."}
)
Voorbeeldrespons
Een echte respons van dit endpoint, vastgelegd bij de laatste health check.
{
"data": {
"count": 16,
"leagues": [
{
"id": "8048",
"alias": "ipl"
},
{
"id": "8039",
"alias": "world-cup"
},
{
"id": "8040",
"alias": "t20-world-cup-qualifier"
},
{
"id": "8044",
"alias": "big-bash"
},
{
"id": "8044",
"alias": "bbl"
},
{
"id": "8037",
"alias": "champions-trophy"
},
{
"id": "8038",
"alias": "world-cup-qualifier"
},
{
"id": "8052",
"alias": "county-championship"
},
{
"id": "8052",
"alias": "county"
},
{
"id": "8043",
"alias": "sheffield-shield"
},
{
"id": "8050",
"alias": "ranji-trophy"
},
{
"id": "8053",
"alias": "t20-blast"
},
{
"id": "8041",
"alias": "supersport"
},
{
"id": "8074",
"alias": "intercontinental-cup"
},
{
"id": "8049",
"alias": "indian-cricket-league"
},
{
"id": "8046",
"alias": "state-t20"
}
]
},
"meta": {
"timestamp": "2026-06-08T01:20:03.436Z",
"request_id": "fd83cc20-459f-4b83-a45a-d6b849283fe8"
},
"status": "ok",
"message": "Leagues retrieved successfully",
"success": true
}