Vai al contenuto
GET /v1/strike-rate

Batter strike rate

Provalo dal vivo

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

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

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

Ottieni una chiave API

Frammenti di codice

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

Risposta di esempio

Una risposta reale di questo endpoint, acquisita dall'ultimo health check.

{
    "data": {
        "note": "A batter's strike rate = runs ÷ balls faced × 100, the runs they would score per 100 balls. 75 off 50 is a strike rate of 150 — fast scoring for the limited-overs game, where strike rate measures aggression; in Tests a lower strike rate with a high average is prized instead. (A bowler's strike rate is the opposite idea: balls per wicket.)",
        "inputs": {
            "runs": 75,
            "balls_faced": 50
        },
        "strike_rate": 150
    },
    "meta": {
        "timestamp": "2026-06-07T08:17:51.258Z",
        "request_id": "bd7f2520-d5f3-4b9f-8af8-fdf9e379632c"
    },
    "status": "ok",
    "message": "Strike rate",
    "success": true
}