/v1/leagues
Supported leagues
Try it live
10 free calls per day — no sign-up, no API key. Goes through the oanor gateway.
It works. Grab an API key and use it in your project.
Get an API keyCode snippets
curl "https://api.oanor.com/soccer-api/v1/leagues" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/soccer-api/v1/leagues", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/soccer-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/soccer-api/v1/leagues",
headers={"x-oanor-key": "oanor_test_..."}
)
Example response
A real response from this endpoint, captured by the latest health check.
{
"data": {
"count": 15,
"leagues": [
{
"id": "eng.1",
"name": "English Premier League"
},
{
"id": "esp.1",
"name": "Spanish La Liga"
},
{
"id": "ita.1",
"name": "Italian Serie A"
},
{
"id": "ger.1",
"name": "German Bundesliga"
},
{
"id": "fra.1",
"name": "French Ligue 1"
},
{
"id": "ned.1",
"name": "Dutch Eredivisie"
},
{
"id": "por.1",
"name": "Portuguese Primeira Liga"
},
{
"id": "eng.2",
"name": "English Championship"
},
{
"id": "usa.1",
"name": "Major League Soccer"
},
{
"id": "mex.1",
"name": "Mexican Liga MX"
},
{
"id": "bra.1",
"name": "Brazilian Serie A"
},
{
"id": "uefa.champions",
"name": "UEFA Champions League"
},
{
"id": "uefa.europa",
"name": "UEFA Europa League"
},
{
"id": "eng.fa",
"name": "English FA Cup"
},
{
"id": "esp.copa_del_rey",
"name": "Copa del Rey"
}
]
},
"meta": {
"timestamp": "2026-06-07T16:46:32.052Z",
"request_id": "83025059-ffbe-4429-a77a-b2acb0489e1c"
},
"status": "ok",
"message": "Leagues retrieved successfully",
"success": true
}