Skip to content
GET /v1/stableford

Stableford points (hole)

Try it live

10 free calls per day — no sign-up, no API key. Goes through the oanor gateway.

Custom headers (optional)
api.oanor.com/golf-api

It works. Grab an API key and use it in your project.

Get an API key

Code snippets

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

Example response

A real response from this endpoint, captured by the latest health check.

{
    "data": {
        "note": "Stableford: net par scores 2 points, each stroke better +1 (birdie 3, eagle 4), each worse −1 (bogey 1), and net double bogey or worse scores 0. Net score = gross − strokes received.",
        "inputs": {
            "par": 4,
            "gross": 5,
            "strokes_received": 1
        },
        "result": "par",
        "net_score": 4,
        "net_to_par": 0,
        "stableford_points": 2
    },
    "meta": {
        "timestamp": "2026-06-06T07:14:08.531Z",
        "request_id": "acf1e80d-d6fe-46fc-b0d6-4b1167654b11"
    },
    "status": "ok",
    "message": "Stableford points",
    "success": true
}