/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/cricket-api/v1/meta" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/cricket-api/v1/meta", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/cricket-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/cricket-api/v1/meta",
headers={"x-oanor-key": "oanor_test_..."}
)
Beispiel-Response
Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.
{
"data": {
"notes": "An over is 6 balls; overs are whole overs + balls, not decimal. run rate = runs/(balls/6); strike rate = runs/balls·100; RRR = runs_needed/balls_left·6. For baseball stats use a baseball API.",
"service": "cricket-api",
"endpoints": {
"GET /v1/meta": "This document.",
"GET /v1/run-rate": "Run rate and projected score from runs and overs.",
"GET /v1/strike-rate": "Batter strike rate from runs and balls faced.",
"GET /v1/required-rate": "Required run rate to chase a target."
},
"description": "Cricket statistics: run rate and projected score, batter strike rate, and the required run rate to chase a target."
},
"meta": {
"timestamp": "2026-06-07T08:17:51.330Z",
"request_id": "f84134b0-b5fa-4dbf-a51b-780513e40a63"
},
"status": "ok",
"message": "Meta",
"success": true
}