Vai al contenuto
GET /v1/match

Match status

Provalo dal vivo

10 chiamate gratuite al giorno — senza registrazione, senza chiave API. Passa dal gateway oanor.

Intestazioni personalizzate (facoltative)
api.oanor.com/tennis-api

Funziona. Prendi una chiave API e usala nel tuo progetto.

Ottieni una chiave API

Frammenti di codice

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

Risposta di esempio

Una risposta reale di questo endpoint, acquisita dall'ultimo 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
}