Ir al contenido
GET /v1/standings

The AFL ladder

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/afl-api

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

Obtener una clave API

Fragmentos de código

curl "https://api.oanor.com/afl-api/v1/standings" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/afl-api/v1/standings", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/afl-api/v1/standings");
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/afl-api/v1/standings",
    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": 18,
        "ladder": [
            {
                "form": "LWWWWWWWWWWWW",
                "rank": 1,
                "team": "Fremantle",
                "wins": 12,
                "draws": 0,
                "losses": 1,
                "played": 13,
                "points": 48,
                "streak": "W12",
                "team_id": "1",
                "percentage": "147.900",
                "points_for": 1312,
                "points_against": 887
            },
            {
                "form": "WWLWWWWWWWLWW",
                "rank": 2,
                "team": "Sydney Swans",
                "wins": 11,
                "draws": 0,
                "losses": 2,
                "played": 13,
                "points": 44,
                "streak": "W2",
                "team_id": "4",
                "percentage": "147.300",
                "points_for": 1485,
                "points_against": 1008
            },
            {
                "form": "LWWWWWWDLLWWL",
                "rank": 3,
                "team": "Hawthorn",
                "wins": 8,
                "draws": 1,
                "losses": 4,
                "played": 13,
                "points": 34,
                "streak": "L1",
                "team_id": "13",
                "percentage": "113.200",
                "points_for": 1248,
                "points_against": 1102
            },
            {
                "form": "LWWLWWLWWWWLL",
                "rank": 4,
                "team": "Geelong Cats",
                "wins": 8,
                "draws": 0,
                "losses": 5,
                "played": 13,
                "points": 32,
                "streak": "L2",
                "team_id": "14",
                "percentage": "120.200",
                "points_for": 1295,
                "points_against": 1077
            },
            {
                "form": "WWWWLLLLWLWWW",
                "rank": 5,
                "team": "Western Bulldogs",
                "wins": 8,
                "draws": 0,
                "losses": 5,
                "played": 13,
                "points": 32,
                "streak": "W3",
                "team_id": "6",
                "percentage": "94.600",
                "points_for": 1123,
                "points_against": 1187
            },
            {
                "form": "WWWLLWLWWWLL",
                "rank": 6,
                "team": "Gold Coast SUNS",
                "wins": 7,
                "draws": 0,
                "losses": 5,
                "played": 12,
                "points": 28,
                "streak": "L2",
                "team_id": "10",
                "percentage": "112.200",
                "points_for": 1173,
                "points_against": 1045
            },
            {
                "form": "WLLLWWLWWWLW",
                "rank": 7,
                "team": "Adelaide Crows",
                "wins": 7,
                "draws":
…