Get current score
GET /api/v1/matches/{code}Returns the sport, two sides, current score, segment history, match status, and a monotonically increasing version.
Read any supported sport as JSON or subscribe to the same live score events used by the viewer page. Public endpoints are read-only and support cross-origin requests.
GET /api/v1/matches/{code}Returns the sport, two sides, current score, segment history, match status, and a monotonically increasing version.
GET /api/v1/matches/{code}/eventsA Server-Sent Events stream. Listen for score events and read the match object from each event.
const source = new EventSource(
"https://scores.fairway3games.com/api/v1/matches/ABC123/events"
);
source.addEventListener("score", (event) => {
const { match } = JSON.parse(event.data);
renderScore(match);
});