Ir al contenido
GET /v1/leagues

Supported leagues

Pruébalo en vivo

10 llamadas gratis al día — sin registro, sin clave API. Pasa por el gateway de oanor.

Encabezados personalizados (opcional)
api.oanor.com/soccer-api

Funciona. Consigue una clave API y úsala en tu proyecto.

Obtener una clave API

Fragmentos de código

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_..."}
)

Respuesta de ejemplo

Una respuesta real de este endpoint, capturada en la última comprobación de estado.

{
    "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
}