Naar de inhoud
GET /v1/matches

Matches & results

Probeer het live

10 gratis calls per dag — geen registratie, geen API-key. Loopt via de oanor-gateway.

Aangepaste headers (optioneel)
api.oanor.com/rugby-api

Het werkt. Haal een API-key op en gebruik hem in je project.

Verkrijg een API-sleutel

Codefragmenten

curl "https://api.oanor.com/rugby-api/v1/matches" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/rugby-api/v1/matches", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/rugby-api/v1/matches");
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/rugby-api/v1/matches",
    headers={"x-oanor-key": "oanor_test_..."}
)

Voorbeeldrespons

Een echte respons van dit endpoint, vastgelegd bij de laatste health check.

{
    "data": {
        "count": 1,
        "league": "267979",
        "matches": [
            {
                "id": "603070",
                "away": {
                    "id": "25903",
                    "logo": "https://a.espncdn.com/i/teamlogos/rugby/teams/500/25903.png",
                    "team": "Leicester Tigers",
                    "score": "0",
                    "winner": false,
                    "home_away": "away",
                    "abbreviation": "LEI"
                },
                "date": "2026-06-12T18:45Z",
                "home": {
                    "id": "25907",
                    "logo": "https://a.espncdn.com/i/teamlogos/rugby/teams/500/25907.png",
                    "team": "Northampton Saints",
                    "score": "0",
                    "winner": false,
                    "home_away": "home",
                    "abbreviation": "NOR"
                },
                "name": "Northampton Saints vs Leicester Tigers",
                "clock": "1'",
                "venue": "cinch Stadium at Franklin's Gardens",
                "status": "Scheduled",
                "completed": false
            }
        ],
        "league_name": "Gallagher Premiership"
    },
    "meta": {
        "timestamp": "2026-06-08T01:20:16.785Z",
        "request_id": "247f4ac2-4992-41a8-b867-81898aecd302"
    },
    "status": "ok",
    "message": "Matches retrieved successfully",
    "success": true
}