/v1/meta
Spec
Live testen
10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.
Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.
API-Key holenCode-Snippets
curl "https://api.oanor.com/tennis-api/v1/meta" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/tennis-api/v1/meta", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/tennis-api/v1/meta");
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/meta",
headers={"x-oanor-key": "oanor_test_..."}
)
Beispiel-Response
Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.
{
"data": {
"notes": "Players are 'a' and 'b'. Game points: 0/15/30/40, deuce and advantage at 40-40. Set: 6 games, win by 2, tiebreak at 6-6. Match: best-of-3 or best-of-5. Scoring only — not shot or rally analytics.",
"service": "tennis-api",
"endpoints": {
"GET /v1/set": "Set status and winner from the games each player has won.",
"GET /v1/game": "Score a game (or tiebreak) from a sequence of 'a'/'b' points.",
"GET /v1/meta": "This document.",
"GET /v1/match": "Match status and winner from the sets each player has won."
},
"description": "Tennis scoring: a game from a point sequence (deuce/advantage/tiebreak), a set from its games, and a match from its sets."
},
"meta": {
"timestamp": "2026-06-06T07:13:58.501Z",
"request_id": "bf9d8be5-886f-46a8-9339-478198668fb0"
},
"status": "ok",
"message": "Meta",
"success": true
}