Zum Inhalt springen
GET /v1/match

Match status

Live testen

10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.

Eigene Header (optional)
api.oanor.com/tennis-api

Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.

API-Key holen

Code-Snippets

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

Beispiel-Response

Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.

{
    "data": {
        "note": "Best-of-3 is won with 2 sets, best-of-5 with 3. The match ends as soon as a player reaches that many sets.",
        "score": "2-1",
        "inputs": {
            "sets_a": 2,
            "sets_b": 1,
            "best_of": 3
        },
        "winner": "a",
        "complete": true,
        "sets_to_win": 2
    },
    "meta": {
        "timestamp": "2026-06-06T07:13:58.315Z",
        "request_id": "5581dfed-a130-47e0-9ac6-1d56f1542131"
    },
    "status": "ok",
    "message": "Match status",
    "success": true
}