Naar de inhoud
GET /v1/scoreboard

Tournaments for a tour with the current leader

Probeer het live

10 gratis calls per dag — geen registratie, geen API-key. Loopt via de oanor-gateway.

Aangepaste headers (optioneel)
api.oanor.com/golflive-api

Het werkt. Haal een API-key op en gebruik hem in je project.

Verkrijg een API-sleutel

Codefragmenten

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

Voorbeeldrespons

Een echte respons van dit endpoint, vastgelegd bij de laatste health check.

{
    "data": {
        "tour": "pga",
        "count": 1,
        "tournaments": [
            {
                "id": "401811950",
                "date": "2026-06-04T04:00Z",
                "name": "the Memorial Tournament pres. by Workday",
                "state": "post",
                "leader": {
                    "id": "10505",
                    "score": "-12",
                    "player": "J.T. Poston"
                },
                "status": "Final",
                "end_date": "2026-06-07T04:00Z",
                "field_size": 72,
                "short_name": "the Memorial Tournament pres. by Workday"
            }
        ]
    },
    "meta": {
        "timestamp": "2026-06-08T01:20:04.608Z",
        "request_id": "b76f0a1e-acee-4366-bb59-194c4e134880"
    },
    "status": "ok",
    "message": "Scoreboard retrieved successfully",
    "success": true
}