/v1/score
Score a game
Probeer het live
10 gratis calls per dag — geen registratie, geen API-key. Loopt via de oanor-gateway.
Het werkt. Haal een API-key op en gebruik hem in je project.
Verkrijg een API-sleutelCodefragmenten
curl "https://api.oanor.com/bowling-api/v1/score" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/bowling-api/v1/score", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/bowling-api/v1/score");
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/bowling-api/v1/score",
headers={"x-oanor-key": "oanor_test_..."}
)
Voorbeeldrespons
Een echte respons van dit endpoint, vastgelegd bij de laatste health check.
{
"data": {
"note": "Standard ten-pin scoring: a strike scores 10 plus your next two rolls, a spare 10 plus the next one, an open frame the pins. The 10th frame allows bonus rolls. A perfect game (twelve strikes) is 300.",
"score": 300,
"frames": [
{
"mark": "X",
"frame": 1,
"cumulative": 30
},
{
"mark": "X",
"frame": 2,
"cumulative": 60
},
{
"mark": "X",
"frame": 3,
"cumulative": 90
},
{
"mark": "X",
"frame": 4,
"cumulative": 120
},
{
"mark": "X",
"frame": 5,
"cumulative": 150
},
{
"mark": "X",
"frame": 6,
"cumulative": 180
},
{
"mark": "X",
"frame": 7,
"cumulative": 210
},
{
"mark": "X",
"frame": 8,
"cumulative": 240
},
{
"mark": "X",
"frame": 9,
"cumulative": 270
},
{
"mark": "X",
"frame": 10,
"cumulative": 300
}
],
"inputs": {
"rolls": [
10,
10,
10,
10,
10,
10,
10,
10,
10,
10,
10,
10
]
},
"is_perfect": true
},
"meta": {
"timestamp": "2026-06-06T07:13:58.805Z",
"request_id": "11f2efe8-bb79-495b-8a98-d1a1ffe1571d"
},
"status": "ok",
"message": "Game score",
"success": true
}