Contents

GaelicScore Data API · v1

GAA data API documentation

Fixtures, results, live scores and live updates of Gaelic football, hurling, ladies football and camogie in all 32 counties (county teams, clubs at every grade, schools and colleges) as JSON over HTTPS. Read only, with a key of your own.

Base URLhttps://gaelicscore.ie/api

Choose the language of every example on the page in the menu, or by any code tab. The examples illustrate the shapes; their games and scores are not real records.

Quickstart

  1. Apply for a key and choose a plan. A person approves each application.
  2. Pay for the plan by card with the link in the approval email (an Enterprise plan is invoiced instead).
  3. Open the link in the next email. It shows your key once: keep it in an environment variable or your secret store.
  4. Make your first request, the games in play now:
Terminal
# macOS and Linux (Windows: setx GAELICSCORE_KEY "gs_live_...")
export GAELICSCORE_KEY="gs_live_..."
curl -s "https://gaelicscore.ie/api/v1/live?county=kerry&code=hurling" \
  -H "Authorization: Bearer $GAELICSCORE_KEY"

Then check what your plan allows and how much of the month is left with /v1/usage, and pick your platform's guide.

Authentication

Send your key in the Authorization header of every request:

HTTP
Authorization: Bearer gs_live_3f9a2b1c4d5e_...
  • A key is gs_live_, twelve characters that name it (its prefix, shown in /v1/usage), and a secret. We keep only a one-way hash of it: we cannot see or send your key again, only issue a new one.
  • Never put a key in an address (?api_key=): such a request is refused with key_in_url, since addresses are kept in logs and browser histories.
  • A key is for your server. Apps and web pages call your own server, which adds the key (the server in the Node.js guide).
  • A browser key, for a web page with no server behind it, answers only pages on the origins we list on it, and no request without one. Anyone who opens the page can see it, so it is a key of its own, never your server's.
  • A key can also be limited to your servers' IP addresses. Ask, with the addresses or ranges.
  • To rotate a key, ask for a new one; when your systems use it, we revoke the old one. A new key works within a minute of its email, and a revoked key stops within a minute.

Plans and limits

DeveloperCommercialBusinessEnterprise
Requests a month10,000100,000500,000agreed
Requests a minute603001,0003,000
Live scores15 minutes behind15 minutes behindreal timereal time
Live updates feednonoyesyes
Seasonsthis seasonthis seasonevery season heldevery season held
Codesfootball, hurlingall fourall fourall four
Most a page1002005001,000
Usenon-commercialcommercialcommercialcommercial

The month is the calendar month in UTC and counts every request that is answered with data, whichever of your keys sent it. The minute's limit is counted at each of Cloudflare's locations, so treat it as approximate. Every answer carries the figures to pace yourself by:

  • X-Plan, X-RateLimit-Limit (a minute), X-Quota-Limit, X-Quota-Remaining and X-Quota-Reset (the month).
  • X-Data-Delay-Minutes on the plans whose live scores are delayed.
  • Retry-After (seconds) on a 429.

County licence

A plan can be licensed for one county, or for a few, in place of all 32. It is the licence for a county board's own website or app: every answer is then held to that county's games, whatever a request asks for.

  • What it covers: every game a club of the county or one of its county teams plays, at home or away, in the county's own competitions, in its province and in the All-Ireland series, with the schools games its county board lists. Where a game is played never decides it: a Limerick club's Munster final in Cork is a Limerick game, and a final between two other counties played in Limerick is not.
  • The lists: /v1/fixtures, /v1/results and /v1/live give the licence's games with no county asked. Where the licence names several counties, county narrows the list to one of them. A game against a side from outside the licence is given whole, with both sides named.
  • What is refused: a county outside the licence, a club of another county (as club, or at /v1/clubs/{county}/{club}), and a match no side of which is of the licence's counties (/v1/matches/{id} and its updates). Each is answered 403 county_not_licensed, never an empty list, and the message names what the licence covers. No other parameter reaches past the licence: a competition, a date or a code only narrows what is already yours.
  • The catalogue stays whole: /v1/counties and /v1/competitions list everything, so the ids in a game can always be looked up. /v1/clubs lists the clubs of the licence's counties.
  • What yours is: /v1/usage gives counties: the ids of the counties your licence names, or null where your plan has every county.

Building a county's own pages with it is set out step by step in County pages on your own website.

Response format

Every answer is JSON: data (an object or a list) and meta (when it was made, your plan, and for a list its count and the next page). Every answer has an X-Request-Id: quote it when you ask us about a request. Answers are private: cache them yourself for at most the Cache-Control: max-age given (none for live data).

  • Times are ISO 8601 with their offset (2026-11-29T14:00:00+00:00); dates are the Irish date, YYYY-MM-DD.
  • A score is goals and points as {goals, points, total, text}: total counts a goal as three, text is how it is written, "1-14".
  • A field we do not have is null, never left out. New fields may be added at any time; ignore those you do not know.

Pages

Lists come in pages of limit items (50 where not given; your plan's most is 100, 200, 500 or 1,000). While there is more, meta.next holds a cursor: send it as cursor with the same query for the next page. meta.count is how many there are in all. Every guide has a helper that walks every page for you.

Errors

An error has its HTTP status and a body you can act on:

Response 429
{
  "error": {
    "code": "quota_exceeded",
    "message": "This month's 10,000 requests are used. They start again at 2026-12-01T00:00:00.000Z.",
    "documentation": "https://gaelicscore.ie/developers/docs#errors"
  }
}
StatusCodeWhat it means
400bad_requestA query parameter is not valid; the message names it.
400key_in_urlA key was sent in the address. Keys go in the Authorization header only, since addresses are logged and kept by browsers, proxies and servers.
401missing_keyNo Authorization: Bearer header was sent.
401invalid_keyThe key is not one the API knows, has been revoked or has expired. The same answer for every such case, so keys cannot be probed.
403account_inactiveThe account behind the key is suspended or cancelled.
403origin_not_allowedA browser sent the request from a website the key does not list, or a browser key was used with no website at all. Add the origin to the key, or call the API from your server with a server key.
403ip_not_allowedThe key is limited to listed IP addresses and this request came from another.
403plan_requiredThe endpoint is not in your plan; the message names the plan that has it.
403code_not_in_planThe code asked for is not in your plan.
403history_not_in_planDates before this season are in the Business and Enterprise plans.
403county_not_licensedYour licence is for the counties it names, and the county, club or match asked for is outside them. /v1/usage lists the counties it covers.
404not_foundNo such match, competition, county or club.
405method_not_allowedThe API is read only: GET (and OPTIONS for a browser's preflight).
429rate_limitedToo many requests this minute for your plan. Retry-After says when to try again.
429quota_exceededThis month's requests are used up. Retry-After says when the month starts again; upgrade for more.
429too_many_invalid_keysToo many requests with keys that are not valid from this address; wait a minute.
500internal_errorSomething failed on our side; it has been logged. Retry with backoff.
503api_not_enabledThe Data API is not switched on yet.
503unavailableA store the API depends on did not answer. Retry with backoff.

Retry rate_limited after Retry-After, and a 500 or 503 with growing waits (1, 2, 4 seconds). Never retry a 400, 401 or 403 unchanged.

A request with no Authorization header from a program rather than a browser may be stopped before it reaches the API by the site's protection against automated copying: a 403 with an HTML page, not the JSON above. Send your key with every request and it reaches the API.

Node.js

A small client with retries and paging, the lists, live scores, one game's live updates, types for TypeScript, and the server that keeps your key away from your apps and pages.

You need: Node.js 18 or later; nothing to install for the client.

  1. Keep the key out of the code

    Put it in the environment, or in your host's secret store (Vercel, Render, Fly, AWS, Azure and Google Cloud all have one).

    .env
    # .env (never committed: add it to .gitignore)
    GAELICSCORE_KEY=gs_live_...
    
    # Node.js 20.6 or later reads it for you:
    node --env-file=.env fixtures.mjs
  2. A small client

    One function for a request, which waits and tries again on the minute's limit, and one that walks every page of a list.

    gaelicscore.mjs
    // gaelicscore.mjs: a small client for the GaelicScore.ie Data API. Node.js 18 or later (fetch is built in).
    const BASE = "https://gaelicscore.ie/api";
    const KEY = process.env.GAELICSCORE_KEY;
    if (!KEY) throw new Error("Set GAELICSCORE_KEY to your key");
    const sleep = (ms) => new Promise((resolve) => setTimeout(resolve, ms));
    
    export class ApiError extends Error {
      constructor(status, code, message, requestId) {
        super(`${code}: ${message}`);
        Object.assign(this, { status, code, requestId });
      }
    }
    
    /** One request. Waits and tries again on the minute's limit and on errors on our side. */
    export async function api(path, params = {}) {
      const url = new URL(BASE + path);
      for (const [name, value] of Object.entries(params)) {
        if (value !== undefined && value !== null) url.searchParams.set(name, String(value));
      }
      for (let attempt = 0; ; attempt++) {
        const res = await fetch(url, { headers: { Authorization: `Bearer ${KEY}`, Accept: "application/json" } });
        if (res.ok) return res.json();
        const body = await res.json().catch(() => ({}));
        const code = body.error?.code ?? `http_${res.status}`;
        // The minute's limit and our errors pass; a month's quota, a bad key or a bad request do not.
        const again = (code === "rate_limited" || res.status >= 500) && attempt < 3;
        if (!again) throw new ApiError(res.status, code, body.error?.message ?? res.statusText, res.headers.get("x-request-id"));
        await sleep((Number(res.headers.get("retry-after")) || 2 ** attempt) * 1000);
      }
    }
    
    /** Every item of a list, page after page. */
    export async function* every(path, params = {}) {
      let cursor;
      do {
        const page = await api(path, { limit: 100, ...params, cursor });
        yield* page.data;
        cursor = page.meta.next;
      } while (cursor);
    }
  3. Fixtures and results

    The next games of a county, and every result of the season page by page.

    fixtures.mjs
    // fixtures.mjs
    import { api, every } from "./gaelicscore.mjs";
    
    // The next 20 games in Kerry, soonest first. Times are Irish time; null is "not confirmed".
    const { data: fixtures } = await api("/v1/fixtures", { county: "kerry", limit: 20 });
    for (const g of fixtures) {
      const time = g.throwIn ? g.throwIn.slice(11, 16) : "TBC";
      console.log(`${g.date} ${time}  ${g.home.name} v ${g.away.name}  (${g.competition.name})`);
    }
    
    // Every hurling result in Kerry this season, page after page.
    for await (const g of every("/v1/results", { county: "kerry", code: "hurling" })) {
      console.log(`${g.date}  ${g.home.name} ${g.score.home.text}  ${g.away.name} ${g.score.away.text}`);
    }
  4. Games in play

    Ask every 30 seconds while games are on; print a score only when it changes.

    live.mjs
    // live.mjs: the games in play in Kerry, every 30 seconds, printing each score as it changes.
    import { api } from "./gaelicscore.mjs";
    
    const last = new Map();
    
    async function poll() {
      const { data, meta } = await api("/v1/live", { county: "kerry" });
      for (const g of data) {
        const home = g.live.home?.text ?? "-";
        const away = g.live.away?.text ?? "-";
        if (last.get(g.id) === home + away) continue;
        last.set(g.id, home + away);
        const whose = g.live.official ? "official" : "reported";
        console.log(`${g.home.name} ${home}  ${g.away.name} ${away}  (${whose}, ${meta.delayedMinutes} min late)`);
      }
    }
    
    await poll();
    setInterval(() => poll().catch((error) => console.error(error.message)), 30_000);
  5. Follow one game (Business and Enterprise)

    Each score a source gave, oldest first, asking only for what is newer than the last you hold.

    follow.mjs
    // follow.mjs: one game's live updates, asking only for what is new (Business and Enterprise).
    import { api } from "./gaelicscore.mjs";
    
    const sleep = (ms) => new Promise((resolve) => setTimeout(resolve, ms));
    
    export async function follow(matchId, onUpdate) {
      let since;
      for (;;) {
        const { data, meta } = await api(`/v1/matches/${matchId}/updates`, { since });
        for (const update of data) {
          onUpdate(update); // { at, kind, minute, home, away, source }
          since = update.at;
        }
        if (meta.phase === "result" || meta.phase === "off") return;
        await sleep(15_000);
      }
    }
    
    await follow(process.argv[2], (u) => console.log(u.at, u.kind, u.home.text, u.away.text, u.source));
  6. Types for TypeScript

    Generate them from the OpenAPI document.

    # Types for TypeScript from the OpenAPI document (npm install -D openapi-typescript).
    curl -s -H "Authorization: Bearer $GAELICSCORE_KEY" \
      https://gaelicscore.ie/api/v1/openapi.json -o gaelicscore.openapi.json
    npx openapi-typescript gaelicscore.openapi.json -o gaelicscore.d.ts
  7. A server for your app or website

    Your iOS and Android apps and your web pages call this, never the API: the key stays on the server. It serves only the paths you allow, and holds each answer for 15 seconds, so a thousand users watching one game make one request.

    server.mjs
    // server.mjs: your own server, between your app or website and GaelicScore.ie. The key stays here: the app never
    // has it. Node.js 18+ and Express (npm install express). Put your own sign-in, or Apple's App Attest and Google's
    // Play Integrity, in front of it, so only your app is answered.
    import express from "express";
    
    const KEY = process.env.GAELICSCORE_KEY;
    const ALLOWED = /^\/v1\/(live|fixtures|results|counties|competitions|clubs|matches\/[0-9a-f-]{36}(\/updates)?)$/;
    const HOLD_MS = 15_000; // one answer serves all your users for 15 seconds: fewer requests, the same scores
    const held = new Map();
    
    const app = express();
    
    app.get(/^\/gaa(\/v1\/.*)$/, async (req, res) => {
      const path = req.params[0];
      if (!ALLOWED.test(path)) return res.status(404).json({ error: { code: "not_found", message: "Not served here" } });
      const url = new URL("https://gaelicscore.ie/api" + path);
      for (const [name, value] of Object.entries(req.query)) if (typeof value === "string") url.searchParams.set(name, value);
      const copy = held.get(url.href);
      if (copy && Date.now() - copy.at < HOLD_MS) return res.status(200).type("application/json").send(copy.body);
      try {
        const upstream = await fetch(url, { headers: { Authorization: `Bearer ${KEY}` } });
        const body = await upstream.text();
        if (upstream.ok) {
          if (held.size > 1_000) held.clear();
          held.set(url.href, { at: Date.now(), body });
        }
        res.status(upstream.status).type("application/json").send(body);
      } catch {
        res.status(502).json({ error: { code: "unavailable", message: "GaelicScore.ie did not answer; try again" } });
      }
    });
    
    app.listen(3000, () => console.log("http://localhost:3000/gaa/v1/live"));

Python

A small client with retries and paging, fixtures and a season's results into a spreadsheet, live scores and one game's live updates.

You need: Python 3.9 or later and requests.

  1. Install, and keep the key in the environment

    Or in your host's secret store.

    Terminal
    pip install requests
    
    # The key in the environment, never in the code:
    export GAELICSCORE_KEY="gs_live_..."      # macOS and Linux
    setx GAELICSCORE_KEY "gs_live_..."        # Windows (in a new terminal afterwards)
  2. A small client

    One function for a request, which waits and tries again on the minute's limit, and a generator that walks every page of a list.

    gaelicscore.py
    """gaelicscore.py: a small client for the GaelicScore.ie Data API. Python 3.9+ and requests."""
    import os
    import time
    
    import requests
    
    BASE = "https://gaelicscore.ie/api"
    _session = requests.Session()
    _session.headers.update({"Authorization": f"Bearer {os.environ['GAELICSCORE_KEY']}", "Accept": "application/json"})
    
    
    class ApiError(Exception):
        def __init__(self, status, code, message, request_id):
            super().__init__(f"{code}: {message}")
            self.status, self.code, self.request_id = status, code, request_id
    
    
    def api(path, **params):
        """One request. Waits and tries again on the minute's limit and on errors on our side."""
        params = {k: v for k, v in params.items() if v is not None}
        for attempt in range(4):
            r = _session.get(BASE + path, params=params, timeout=20)
            if r.ok:
                return r.json()
            try:
                error = r.json().get("error", {})
            except ValueError:
                error = {}
            code = error.get("code", f"http_{r.status_code}")
            # The minute's limit and our errors pass; a month's quota, a bad key or a bad request do not.
            if (code == "rate_limited" or r.status_code >= 500) and attempt < 3:
                time.sleep(float(r.headers.get("Retry-After") or 2 ** attempt))
                continue
            raise ApiError(r.status_code, code, error.get("message", r.reason), r.headers.get("X-Request-Id"))
    
    
    def every(path, **params):
        """Every item of a list, page after page."""
        params.setdefault("limit", 100)
        cursor = None
        while True:
            page = api(path, cursor=cursor, **params)
            yield from page["data"]
            cursor = page["meta"]["next"]
            if not cursor:
                return
  3. Fixtures, and a season's results into a spreadsheet

    The next games of a county, and every result of the season written to a CSV file.

    lists.py
    import csv
    
    from gaelicscore import api, every
    
    # The next 20 games in Kerry, soonest first. Times are Irish time; None is "not confirmed".
    for g in api("/v1/fixtures", county="kerry", limit=20)["data"]:
        when = g["throwIn"][11:16] if g["throwIn"] else "TBC"
        print(f"{g['date']} {when}  {g['home']['name']} v {g['away']['name']}  ({g['competition']['name']})")
    
    # Every result in Kerry this season, into a spreadsheet.
    with open("kerry-results.csv", "w", newline="", encoding="utf-8") as f:
        out = csv.writer(f)
        out.writerow(["date", "code", "competition", "home", "home score", "away", "away score", "official"])
        for g in every("/v1/results", county="kerry"):
            out.writerow([g["date"], g["code"], g["competition"]["name"], g["home"]["name"], g["score"]["home"]["text"],
                          g["away"]["name"], g["score"]["away"]["text"], g["result"]["official"]])
  4. Games in play

    Ask every 30 seconds while games are on; print a score only when it changes.

    live.py
    # live.py: the games in play in Kerry, every 30 seconds, printing each score as it changes.
    import time
    
    from gaelicscore import api
    
    last = {}
    while True:
        page = api("/v1/live", county="kerry")
        for g in page["data"]:
            live = g["live"]
            home = live["home"]["text"] if live["home"] else "-"
            away = live["away"]["text"] if live["away"] else "-"
            if last.get(g["id"]) == (home, away):
                continue
            last[g["id"]] = (home, away)
            whose = "official" if live["official"] else "reported"
            print(f"{g['home']['name']} {home}  {g['away']['name']} {away}  ({whose}, {page['meta']['delayedMinutes']} min late)")
        time.sleep(30)
  5. Follow one game (Business and Enterprise)

    Run it with a match's id: python follow.py 4dbb105d-7222-d7cb-67bf-4743eaa0e82d

    follow.py
    # follow.py: one game's live updates, asking only for what is new (Business and Enterprise).
    import sys
    import time
    
    from gaelicscore import api
    
    
    def follow(match_id, on_update):
        since = None
        while True:
            page = api(f"/v1/matches/{match_id}/updates", since=since)
            for update in page["data"]:
                on_update(update)  # {at, kind, minute, home, away, source}
                since = update["at"]
            if page["meta"]["phase"] in ("result", "off"):
                return
            time.sleep(15)
    
    
    follow(sys.argv[1], lambda u: print(u["at"], u["kind"], u["home"]["text"], u["away"]["text"], u["source"]))

iOS (Swift)

Live scores in a SwiftUI app: the models, a small async client, and a screen that refreshes itself while it is open.

You need: iOS 15 or later, Swift 5.5 or later, and your own server holding the key (the Node.js guide's last step).

  1. Your server first

    Anything built into an app can be read out of it, so the app never has the key. It calls your own server, which adds the key and answers exactly as the API does: run the server from the Node.js guide, or any of your own that does the same, and protect it with your app's sign-in or App Attest.

  2. The models

    The API's shapes, as much of them as the app uses. Codable ignores the fields you leave out, and the API only ever adds fields.

    Models.swift
    // Models.swift: the API's shapes, as much of them as the app uses. Anything else in an answer is ignored.
    import Foundation
    
    struct Score: Decodable, Hashable { let goals: Int; let points: Int; let total: Int; let text: String }
    struct Side: Decodable, Hashable { let name: String; let type: String; let id: String?; let crest: URL? }
    struct Competition: Decodable, Hashable { let id: String?; let name: String; let round: String? }
    struct ScorePair: Decodable, Hashable { let home: Score; let away: Score }
    struct LiveState: Decodable, Hashable {
        let stage: String          // "in-play" or "half-time"
        let home: Score?           // nil until a score is reported
        let away: Score?
        let official: Bool
        let delayedMinutes: Int
    }
    
    struct Game: Decodable, Identifiable, Hashable {
        let id: String
        let code: String           // "football", "hurling", "ladies-football", "camogie"
        let date: String           // the Irish date, "2026-11-29"
        let throwIn: String?       // ISO 8601, nil where not confirmed
        let venue: String?
        let status: String
        let competition: Competition
        let home: Side
        let away: Side
        let score: ScorePair?      // a result's score
        let live: LiveState?       // only in /v1/live and a match in play
    }
    
    struct Meta: Decodable { let count: Int?; let next: String? }
    struct Page<Item: Decodable>: Decodable { let data: [Item]; let meta: Meta }
    struct ErrorBody: Decodable { struct Detail: Decodable { let code: String; let message: String }; let error: Detail }
  3. A small client

    async/await on URLSession, with the API's error codes as a Swift error.

    ScoresClient.swift
    // ScoresClient.swift: talks to your own server (the Node.js guide's last step), which adds the key and answers
    // exactly as the API does. Never put the key in the app: anything in an app can be read out of it.
    import Foundation
    
    enum ScoresError: Error { case http(status: Int, code: String, message: String) }
    
    struct ScoresClient {
        var base = URL(string: "https://api.example.com/gaa")!
        var session: URLSession = .shared
    
        func get<T: Decodable>(_ path: String, _ query: [String: String] = [:]) async throws -> T {
            var parts = URLComponents(url: base.appendingPathComponent(path), resolvingAgainstBaseURL: false)!
            if !query.isEmpty { parts.queryItems = query.map { URLQueryItem(name: $0.key, value: $0.value) } }
            let (data, response) = try await session.data(from: parts.url!)
            let status = (response as? HTTPURLResponse)?.statusCode ?? 0
            guard (200..<300).contains(status) else {
                let body = try? JSONDecoder().decode(ErrorBody.self, from: data)
                throw ScoresError.http(status: status, code: body?.error.code ?? "http_\(status)", message: body?.error.message ?? "")
            }
            return try JSONDecoder().decode(T.self, from: data)
        }
    
        func live(county: String? = nil) async throws -> [Game] {
            let page: Page<Game> = try await get("v1/live", county.map { ["county": $0] } ?? [:])
            return page.data
        }
    
        func fixtures(county: String, limit: Int = 50) async throws -> [Game] {
            let page: Page<Game> = try await get("v1/fixtures", ["county": county, "limit": String(limit)])
            return page.data
        }
    }
  4. A live scores screen

    SwiftUI's .task starts the refreshing when the screen opens and stops it when it closes, so nothing is asked for in the background.

    LiveScoresView.swift
    // LiveScoresView.swift: the games in play, refreshed every 30 seconds while the screen is open.
    import SwiftUI
    
    @MainActor
    final class LiveScores: ObservableObject {
        @Published private(set) var games: [Game] = []
        @Published private(set) var problem: String?
        private let client = ScoresClient()
    
        /// Runs while the view is on screen: SwiftUI cancels the task when the view goes.
        func follow(county: String?) async {
            while !Task.isCancelled {
                do {
                    games = try await client.live(county: county)
                    problem = nil
                } catch {
                    problem = "Scores could not be loaded."
                }
                try? await Task.sleep(nanoseconds: 30_000_000_000)
            }
        }
    }
    
    struct LiveScoresView: View {
        @StateObject private var scores = LiveScores()
        let county: String?
    
        var body: some View {
            List(scores.games) { game in
                VStack(alignment: .leading, spacing: 4) {
                    Text(game.competition.name).font(.caption).foregroundStyle(.secondary)
                    row(game.home.name, game.live?.home)
                    row(game.away.name, game.live?.away)
                }
            }
            .overlay { if scores.games.isEmpty { Text(scores.problem ?? "No games in play") } }
            .task { await scores.follow(county: county) }
            .navigationTitle("Live")
        }
    
        private func row(_ name: String, _ score: Score?) -> some View {
            HStack {
                Text(name)
                Spacer()
                Text(score?.text ?? "-").monospacedDigit().bold()
            }
        }
    }
  5. Fixtures

    The same client for a county's next games.

    Fixtures.swift
    // The next games of a county, for a list or a widget.
    let games = try await ScoresClient().fixtures(county: "kerry", limit: 20)
    for game in games {
        let time = game.throwIn.map { String($0.dropFirst(11).prefix(5)) } ?? "TBC"
        print(game.date, time, game.home.name, "v", game.away.name)
    }

Android (Kotlin)

Live scores in a Jetpack Compose app: Retrofit with kotlinx.serialization, a ViewModel that refreshes only while the screen is on show, and the screen.

You need: Android Studio's Compose template, Kotlin 2.0, and your own server holding the key (the Node.js guide's last step).

  1. Your server first

    Anything built into an APK can be read out of it, so the app never has the key. It calls your own server, which adds the key and answers exactly as the API does: run the server from the Node.js guide, or any of your own that does the same, and protect it with your app's sign-in or Play Integrity.

  2. Dependencies and the internet permission

    Retrofit, its kotlinx.serialization converter, and the lifecycle libraries for Compose.

    // app/build.gradle.kts: in an app made from Android Studio's Compose template.
    plugins {
        // ...the template's plugins, and:
        kotlin("plugin.serialization") version "2.0.21"
    }
    
    dependencies {
        // ...the template's dependencies, and:
        implementation("com.squareup.retrofit2:retrofit:2.11.0")
        implementation("com.squareup.retrofit2:converter-kotlinx-serialization:2.11.0")
        implementation("org.jetbrains.kotlinx:kotlinx-serialization-json:1.7.3")
        implementation("androidx.lifecycle:lifecycle-viewmodel-compose:2.8.7")
        implementation("androidx.lifecycle:lifecycle-runtime-compose:2.8.7")
    }
  3. The models

    The API's shapes, as much of them as the app uses.

    Models.kt
    // Models.kt: the API's shapes, as much of them as the app uses. Unknown fields are ignored (see ScoresApi).
    import kotlinx.serialization.Serializable
    
    @Serializable data class Score(val goals: Int, val points: Int, val total: Int, val text: String)
    @Serializable data class Side(val name: String, val type: String, val id: String? = null, val crest: String? = null)
    @Serializable data class Competition(val id: String? = null, val name: String, val round: String? = null)
    @Serializable data class ScorePair(val home: Score, val away: Score)
    @Serializable data class LiveState(
        val stage: String,            // "in-play" or "half-time"
        val home: Score? = null,      // null until a score is reported
        val away: Score? = null,
        val official: Boolean = false,
        val delayedMinutes: Int = 0,
    )
    @Serializable data class Game(
        val id: String,
        val code: String,             // "football", "hurling", "ladies-football", "camogie"
        val date: String,             // the Irish date, "2026-11-29"
        val throwIn: String? = null,  // ISO 8601, null where not confirmed
        val venue: String? = null,
        val status: String,
        val competition: Competition,
        val home: Side,
        val away: Side,
        val score: ScorePair? = null, // a result's score
        val live: LiveState? = null,  // only in /v1/live and a match in play
    )
    @Serializable data class Meta(val count: Int? = null, val next: String? = null)
    @Serializable data class Page<T>(val data: List<T>, val meta: Meta)
  4. The API

    Retrofit, with unknown fields ignored: the API only ever adds fields.

    ScoresApi.kt
    // ScoresApi.kt: Retrofit, talking to your own server (the Node.js guide's last step), which adds the key.
    // Never put the key in the app: anything in an APK can be read out of it.
    import kotlinx.serialization.json.Json
    import okhttp3.MediaType.Companion.toMediaType
    import retrofit2.Retrofit
    import retrofit2.converter.kotlinx.serialization.asConverterFactory
    import retrofit2.http.GET
    import retrofit2.http.Query
    
    interface ScoresApi {
        @GET("v1/live")
        suspend fun live(@Query("county") county: String? = null): Page<Game>
    
        @GET("v1/fixtures")
        suspend fun fixtures(@Query("county") county: String, @Query("limit") limit: Int = 50, @Query("cursor") cursor: String? = null): Page<Game>
    
        @GET("v1/results")
        suspend fun results(@Query("county") county: String, @Query("limit") limit: Int = 50, @Query("cursor") cursor: String? = null): Page<Game>
    
        companion object {
            private const val SERVER = "https://api.example.com/gaa/"
            private val json = Json { ignoreUnknownKeys = true }
    
            val instance: ScoresApi = Retrofit.Builder()
                .baseUrl(SERVER)
                .addConverterFactory(json.asConverterFactory("application/json".toMediaType()))
                .build()
                .create(ScoresApi::class.java)
        }
    }
  5. A ViewModel that refreshes itself

    A flow that asks every 30 seconds while a screen collects it, and stops five seconds after it no longer does.

    LiveViewModel.kt
    // LiveViewModel.kt: the games in play, asked for every 30 seconds while the screen is on show, and not otherwise.
    import androidx.lifecycle.ViewModel
    import androidx.lifecycle.viewModelScope
    import java.io.IOException
    import kotlinx.coroutines.delay
    import kotlinx.coroutines.flow.SharingStarted
    import kotlinx.coroutines.flow.StateFlow
    import kotlinx.coroutines.flow.flow
    import kotlinx.coroutines.flow.stateIn
    import retrofit2.HttpException
    
    class LiveViewModel(county: String? = null) : ViewModel() {
        val games: StateFlow<List<Game>> = flow {
            while (true) {
                try {
                    emit(ScoresApi.instance.live(county).data)
                } catch (e: IOException) {
                    // No signal: the next round tries again.
                } catch (e: HttpException) {
                    // An answer that is not a page (a limit, a fault): the next round tries again.
                }
                delay(30_000)
            }
        }.stateIn(viewModelScope, SharingStarted.WhileSubscribed(5_000), emptyList())
    }
  6. The screen

    Jetpack Compose, collecting with the lifecycle, so the asking stops when the app is in the background.

    LiveScreen.kt
    // LiveScreen.kt: Jetpack Compose.
    import androidx.compose.foundation.layout.Arrangement
    import androidx.compose.foundation.layout.Column
    import androidx.compose.foundation.layout.Row
    import androidx.compose.foundation.layout.fillMaxSize
    import androidx.compose.foundation.layout.fillMaxWidth
    import androidx.compose.foundation.layout.padding
    import androidx.compose.foundation.lazy.LazyColumn
    import androidx.compose.foundation.lazy.items
    import androidx.compose.material3.MaterialTheme
    import androidx.compose.material3.Text
    import androidx.compose.runtime.Composable
    import androidx.compose.runtime.getValue
    import androidx.compose.ui.Modifier
    import androidx.compose.ui.text.font.FontWeight
    import androidx.compose.ui.unit.dp
    import androidx.lifecycle.compose.collectAsStateWithLifecycle
    import androidx.lifecycle.viewmodel.compose.viewModel
    
    @Composable
    fun LiveScreen(model: LiveViewModel = viewModel()) {
        val games by model.games.collectAsStateWithLifecycle()
        LazyColumn(Modifier.fillMaxSize()) {
            items(games, key = { it.id }) { game ->
                Column(Modifier.fillMaxWidth().padding(16.dp)) {
                    Text(game.competition.name, style = MaterialTheme.typography.labelSmall)
                    ScoreRow(game.home.name, game.live?.home)
                    ScoreRow(game.away.name, game.live?.away)
                }
            }
        }
    }
    
    @Composable
    private fun ScoreRow(name: String, score: Score?) {
        Row(Modifier.fillMaxWidth(), horizontalArrangement = Arrangement.SpaceBetween) {
            Text(name)
            Text(score?.text ?: "-", fontWeight = FontWeight.Bold)
        }
    }

Web (JavaScript)

Live scores on your own website: a widget in plain JavaScript and a React hook, both through your own server.

You need: Your own server holding the key (the Node.js guide's last step), on your site's own address.

  1. A live scores widget

    Plain HTML and JavaScript, asking only while the page is on show. The words are set as text, never as HTML.

    live.html
    <!-- On your own website: the games in play in Kerry, refreshed every 30 seconds. The page asks your server
         (the Node.js guide's last step), which adds the key: the key is never in the page. -->
    <section id="gaa-live">
      <h2>Live in Kerry</h2>
      <ul></ul>
      <p><small>Data: <a href="https://gaelicscore.ie">GaelicScore.ie</a></small></p>
    </section>
    
    <script type="module">
      const list = document.querySelector("#gaa-live ul");
      const item = (text) => Object.assign(document.createElement("li"), { textContent: text });
    
      async function load() {
        const res = await fetch("/gaa/v1/live?county=kerry");
        if (!res.ok) return;
        const { data } = await res.json();
        list.replaceChildren(...data.map((g) =>
          item(`${g.home.name} ${g.live.home?.text ?? "-"}, ${g.away.name} ${g.live.away?.text ?? "-"}`)));
        if (data.length === 0) list.replaceChildren(item("No games in play"));
      }
    
      // Asks only while the page is on show.
      let timer;
      function start() {
        load();
        timer = setInterval(load, 30_000);
      }
      document.addEventListener("visibilitychange", () => {
        clearInterval(timer);
        if (!document.hidden) start();
      });
      start();
    </script>
  2. In React

    The same, as a hook and a component.

    LiveScores.jsx
    // LiveScores.jsx: React. The same request to your own server, as a hook.
    import { useEffect, useState } from "react";
    
    export function useLiveScores(county) {
      const [games, setGames] = useState([]);
      useEffect(() => {
        let stopped = false;
        async function load() {
          const res = await fetch(`/gaa/v1/live?county=${encodeURIComponent(county)}`);
          if (res.ok && !stopped) setGames((await res.json()).data);
        }
        load();
        const timer = setInterval(load, 30_000);
        return () => {
          stopped = true;
          clearInterval(timer);
        };
      }, [county]);
      return games;
    }
    
    export function LiveScores({ county }) {
      const games = useLiveScores(county);
      if (games.length === 0) return <p>No games in play</p>;
      return (
        <ul>
          {games.map((g) => (
            <li key={g.id}>
              {g.home.name} {g.live.home?.text ?? "-"}, {g.away.name} {g.live.away?.text ?? "-"}
            </li>
          ))}
        </ul>
      );
    }
  3. Without a server: a browser key

    We can issue a key that answers only pages on the origins we list on it. It is visible to anyone who opens the page, so use a key of its own, never your server's.

    page.js
    // Without a server of your own: a browser key, which answers only pages on the origins we list on it.
    // Anyone who opens the page can see it, so it is limited to what a page needs: ask for a separate key for this.
    const res = await fetch("https://gaelicscore.ie/api/v1/live?county=kerry", {
      headers: { Authorization: "Bearer gs_live_your_browser_key" },
    });
    const { data } = await res.json();

PHP

A client with retries, and the next games on a club or county website, cached a minute.

You need: PHP 8 with the curl extension.

  1. A small client

    One function for a request, which waits and tries again on the minute's limit.

    gaelicscore.php
    <?php
    // gaelicscore.php: PHP 8 with the curl extension. The key comes from the environment.
    function gaelicscore(string $path, array $params = []): array {
        $url = 'https://gaelicscore.ie/api' . $path . ($params ? '?' . http_build_query($params) : '');
        for ($attempt = 0; ; $attempt++) {
            $ch = curl_init($url);
            curl_setopt_array($ch, [
                CURLOPT_RETURNTRANSFER => true,
                CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . getenv('GAELICSCORE_KEY'), 'Accept: application/json'],
                CURLOPT_TIMEOUT => 20,
            ]);
            $body = json_decode((string) curl_exec($ch), true) ?? [];
            $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
            curl_close($ch);
            if ($status === 200) {
                return $body;
            }
            $code = $body['error']['code'] ?? "http_$status";
            if (($code === 'rate_limited' || $status >= 500) && $attempt < 3) {
                sleep($code === 'rate_limited' ? 60 : 2 ** $attempt);
                continue;
            }
            throw new RuntimeException($code . ': ' . ($body['error']['message'] ?? ''));
        }
    }
  2. Fixtures on your website

    Cached a minute in a file, so the page's traffic is not the API's.

    fixtures.php
    <?php
    // fixtures.php: the next games on a club or county website, asking the API at most once a minute.
    require __DIR__ . '/gaelicscore.php';
    
    function cached(string $path, array $params, int $seconds = 60): array {
        $file = sys_get_temp_dir() . '/gaelicscore-' . md5($path . serialize($params)) . '.json';
        if (is_file($file) && time() - filemtime($file) < $seconds) {
            return json_decode(file_get_contents($file), true);
        }
        $body = gaelicscore($path, $params);
        file_put_contents($file, json_encode($body), LOCK_EX);
        return $body;
    }
    
    $fixtures = cached('/v1/fixtures', ['county' => 'kerry', 'limit' => 10])['data'];
    ?>
    <ul>
    <?php foreach ($fixtures as $g): ?>
      <li><?= htmlspecialchars($g['date'] . ' ' . ($g['throwIn'] ? substr($g['throwIn'], 11, 5) : 'TBC') . ': ' . $g['home']['name'] . ' v ' . $g['away']['name']) ?></li>
    <?php endforeach; ?>
    </ul>
    <p><small>Data: <a href="https://gaelicscore.ie">GaelicScore.ie</a></small></p>

Go

The standard library only: the types, a client with retries, and a season's results page after page.

You need: Go 1.21 or later.

  1. A client, and every result of a season

    encoding/json matches the API's field names without tags.

    main.go
    // main.go: Go 1.21+, the standard library only. Every result of a county this season, page after page.
    package main
    
    import (
    	"encoding/json"
    	"fmt"
    	"net/http"
    	"net/url"
    	"os"
    	"strconv"
    	"time"
    )
    
    type Score struct {
    	Goals, Points, Total int
    	Text                 string
    }
    type Side struct{ Name, Type string }
    type Competition struct{ Name string }
    type Live struct {
    	Stage      string
    	Home, Away *Score
    	Official   bool
    }
    type Game struct {
    	ID, Date, Status string
    	ThrowIn          *string
    	Competition      Competition
    	Home, Away       Side
    	Score            *struct{ Home, Away Score }
    	Live             *Live
    }
    type Page struct {
    	Data []Game
    	Meta struct{ Next *string }
    }
    
    var client = &http.Client{Timeout: 20 * time.Second}
    
    // get asks for one page. It waits and tries again on the minute's limit and on errors on our side.
    func get(path string, query url.Values) (*Page, error) {
    	address := "https://gaelicscore.ie/api" + path + "?" + query.Encode()
    	for attempt := 0; ; attempt++ {
    		req, err := http.NewRequest("GET", address, nil)
    		if err != nil {
    			return nil, err
    		}
    		req.Header.Set("Authorization", "Bearer "+os.Getenv("GAELICSCORE_KEY"))
    		res, err := client.Do(req)
    		if err != nil {
    			return nil, err
    		}
    		if res.StatusCode == http.StatusOK {
    			var page Page
    			err = json.NewDecoder(res.Body).Decode(&page)
    			res.Body.Close()
    			return &page, err
    		}
    		var body struct{ Error struct{ Code, Message string } }
    		_ = json.NewDecoder(res.Body).Decode(&body)
    		res.Body.Close()
    		if (body.Error.Code == "rate_limited" || res.StatusCode >= 500) && attempt < 3 {
    			wait, _ := strconv.Atoi(res.Header.Get("Retry-After"))
    			if wait == 0 {
    				wait = 1 << attempt
    			}
    			time.Sleep(time.Duration(wait) * time.Second)
    			continue
    		}
    		return nil, fmt.Errorf("%d %s: %s", res.StatusCode, body.Error.Code, body.Error.Message)
    	}
    }
    
    func main() {
    	query := url.Values{"county": {"kerry"}, "limit": {"100"}}
    	for {
    		page, err := get("/v1/results", query)
    		if err != nil {
    			fmt.Fprintln(os.Stderr, err)
    			os.Exit(1)
    		}
    		for _, g := range page.Data {
    			fmt.Println(g.Date, g.Home.Name, g.Score.Home.Text, g.Away.Name, g.Score.Away.Text)
    		}
    		if page.Meta.Next == nil {
    			break
    		}
    		query.Set("cursor", *page.Meta.Next)
    	}
    }

C# (.NET)

HttpClient with System.Net.Http.Json: records for the shapes, retries, and every page of a list as an async stream.

You need: .NET 8 or later.

  1. A small client

    One page at a time, or every page as an IAsyncEnumerable.

    GaelicScore.cs
    // GaelicScore.cs: .NET 8 or later, System.Net.Http.Json.
    using System.Net.Http.Headers;
    using System.Net.Http.Json;
    using System.Text.Json;
    
    public sealed class GaelicScore
    {
        private readonly HttpClient _http = new() { BaseAddress = new Uri("https://gaelicscore.ie/api/") };
    
        public GaelicScore(string key) =>
            _http.DefaultRequestHeaders.Authorization = new AuthenticationHeaderValue("Bearer", key);
    
        /// One page. Waits and tries again on the minute's limit and on errors on our side.
        public async Task<Page> GetAsync(string path, string query = "")
        {
            for (var attempt = 0; ; attempt++)
            {
                using var res = await _http.GetAsync(query.Length > 0 ? $"{path}?{query}" : path);
                if (res.IsSuccessStatusCode) return (await res.Content.ReadFromJsonAsync<Page>())!;
                ErrorBody? error = null;
                try { error = await res.Content.ReadFromJsonAsync<ErrorBody>(); } catch (JsonException) { }
                if ((error?.Error.Code == "rate_limited" || (int)res.StatusCode >= 500) && attempt < 3)
                {
                    await Task.Delay(res.Headers.RetryAfter?.Delta ?? TimeSpan.FromSeconds(1 << attempt));
                    continue;
                }
                throw new HttpRequestException($"{(int)res.StatusCode} {error?.Error.Code}: {error?.Error.Message}");
            }
        }
    
        /// Every item of a list, page after page.
        public async IAsyncEnumerable<Game> EveryAsync(string path, string query)
        {
            string? cursor = null;
            do
            {
                var page = await GetAsync(path, $"{query}&limit=100" + (cursor is null ? "" : $"&cursor={Uri.EscapeDataString(cursor)}"));
                foreach (var game in page.Data) yield return game;
                cursor = page.Meta.Next;
            } while (cursor is not null);
        }
    }
    
    public record Score(int Goals, int Points, int Total, string Text);
    public record Side(string Name, string Type);
    public record Competition(string Name);
    public record ScorePair(Score Home, Score Away);
    public record LiveState(string Stage, Score? Home, Score? Away, bool Official);
    public record Game(string Id, string Date, string? ThrowIn, string Status, Competition Competition, Side Home, Side Away, ScorePair? Score, LiveState? Live);
    public record Meta(string? Next);
    public record Page(List<Game> Data, Meta Meta);
    public record ErrorDetail(string Code, string Message);
    public record ErrorBody(ErrorDetail Error);
  2. Using it

    Games in play, and a season's results.

    Program.cs
    // Program.cs
    var api = new GaelicScore(Environment.GetEnvironmentVariable("GAELICSCORE_KEY")!);
    
    var live = await api.GetAsync("v1/live", "county=kerry");
    foreach (var g in live.Data)
        Console.WriteLine($"{g.Home.Name} {g.Live?.Home?.Text ?? "-"}  {g.Away.Name} {g.Live?.Away?.Text ?? "-"}");
    
    await foreach (var g in api.EveryAsync("v1/results", "county=kerry"))
        Console.WriteLine($"{g.Date} {g.Home.Name} {g.Score!.Home.Text}  {g.Away.Name} {g.Score.Away.Text}");

County pages on your own website

Fixtures, results and live scores at your own addresses and in your own design, for a county board's website or app. Your server asks the API and writes each page, so the key never reaches a browser.

You need: A server for your website (Node.js, Python, PHP or any other), a server key, and a county licence where your plan is for one county.

  1. Your server writes the page

    The visitor's browser asks your website for a page, and your server asks the API with the key and answers with finished HTML. The key is in the server's environment and nowhere else: not in the page, not in a script the page loads. The fixtures are then your page's own words, at your own address, for search engines too.

  2. Keep each answer for a minute

    Fixtures and results change a few times an hour, and each answer says how long it may be kept (Cache-Control: max-age=60). Keep it for that minute and every visitor in it is served from your copy: your traffic is never the API's, and a month's requests go a long way. Where the API cannot be reached, show the last good answer.

    // county-pages.mjs: your county's fixtures and results as pages of your own website.
    // Node.js 18 or later and Express (npm install express). The key stays on this server: the browser gets a
    // finished page and never sees it.
    import express from "express";
    
    const BASE = "https://gaelicscore.ie/api";
    const KEY = process.env.GAELICSCORE_KEY;
    const HOLD_MS = 60_000; // each answer is kept a minute: a busy Sunday is still one request a minute
    const held = new Map();
    
    async function api(path) {
      const kept = held.get(path);
      if (kept && Date.now() - kept.at < HOLD_MS) return kept.body;
      try {
        const res = await fetch(BASE + path, { headers: { Authorization: `Bearer ${KEY}` } });
        if (!res.ok) throw new Error(`GaelicScore.ie answered ${res.status}`);
        const body = await res.json();
        held.set(path, { at: Date.now(), body });
        return body;
      } catch (error) {
        if (kept) return kept.body; // the last good answer, while the API cannot be reached
        throw error;
      }
    }
    
    const esc = (text) => String(text).replace(/[&<>"']/g, (c) => `&#${c.charCodeAt(0)};`);
    const page = (title, lines) => `<!doctype html>
    <html lang="en">
    <head><meta charset="utf-8"><title>${esc(title)}</title></head>
    <body>
      <h1>${esc(title)}</h1>
      <ul>${lines.map((line) => `<li>${esc(line)}</li>`).join("")}</ul>
      <p><small>Data: <a href="https://gaelicscore.ie">GaelicScore.ie</a></small></p>
    </body>
    </html>`;
    
    const app = express();
    
    // With a county licence the lists are your county's already: no county parameter is needed.
    app.get("/fixtures", async (req, res) => {
      try {
        const { data } = await api("/v1/fixtures?limit=50");
        res.send(page("Fixtures", data.map((g) => `${g.date} ${g.throwIn ? g.throwIn.slice(11, 16) : "TBC"}: ${g.home.name} v ${g.away.name} (${g.competition.name})`)));
      } catch {
        res.status(503).send(page("Fixtures", ["The fixtures cannot be shown just now. Please try again shortly."]));
      }
    });
    
    app.get("/results", async (req, res) => {
      try {
        const { data } = await api("/v1/results?limit=50");
        res.send(page("Results", data.map((g) => `${g.date}: ${g.home.name} ${g.score.home.text}, ${g.away.name} ${g.score.away.text}`)));
      } catch {
        res.status(503).send(page("Results", ["The results cannot be shown just now. Please try again shortly."]));
      }
    });
    
    app.listen(3000, () => console.log("http://localhost:3000/fixtures"));
  3. A page for each list

    The same request serves every page you want: a club's with club, a competition's with competition, one code or level with code and level, a day or a range with date, from and to, and one game in full with /v1/matches/{id}. Under a county licence none of them needs a county: every list is your county's games, at home and away, in the province and beyond it.

  4. Live scores on match days

    Ask /v1/live the same way and keep each answer 15 to 30 seconds. A page that refreshes itself asks your own server for the new scores, never the API: the web guide's widget does this.

  5. Say where the data is from

    Show "Data: GaelicScore.ie" near the data, with a link to gaelicscore.ie, as the examples do.

API reference

Every endpoint answers GET, under https://gaelicscore.ie/api. Each request below is in the language chosen in the menu; the apps' go through your own server.

GET/api/v1/fixtures

Fixtures

Games still to be played, and those that did not go ahead, from today on unless dates are given: the soonest first. Every county board's fixtures, the provincial councils', the national master list, schools and colleges.

Plans: Developer, Commercial, Business, Enterprise.

ParameterInWhat it is
countyqueryA county's id (see /v1/counties): its own games. Under a county licence, one of the licence's counties: any other is refused, county_not_licensed. Example: kerry.
codequeryOne code. Developer has football and hurling; the other plans all four. One of: football, hurling, ladies-football, camogie. Example: hurling.
levelqueryThe level of the game. One of: county, club, schools, third-level, international. Example: club.
statusqueryOnly games of this status. One of: scheduled, postponed, cancelled, abandoned.
competitionqueryA competition's id (see /v1/competitions). Example: all-ireland-senior-hurling-championship.
clubqueryA club's id, county/club (see /v1/clubs): the club's games. Example: kerry/austin-stacks.
datequeryOne day, YYYY-MM-DD (Irish date). Not with from or to. Example: 2026-11-29.
fromqueryThe first day, YYYY-MM-DD. Before this season needs the Business or Enterprise plan. Example: 2026-11-01.
toqueryThe last day, YYYY-MM-DD; at most 400 days after from. Example: 2026-11-30.
limitqueryItems a page: 1 to your plan's most (100, 200, 500 or 1,000); 50 where not given. Example: 50.
cursorqueryThe meta.next of the page before, for the next page. Example: eyJvIjo1MH0.
curl -s "https://gaelicscore.ie/api/v1/fixtures?county=kerry&code=hurling" \
  -H "Authorization: Bearer $GAELICSCORE_KEY"
Response 200
{
  "data": [
    {
      "id": "4dbb105d-7222-d7cb-67bf-4743eaa0e82d",
      "url": "https://gaelicscore.ie/match/4dbb105d-7222-d7cb-67bf-4743eaa0e82d",
      "code": "hurling",
      "level": "club",
      "grade": "senior",
      "competition": {
        "id": "kilkenny-senior-hurling-championship",
        "name": "Kilkenny Senior Hurling Championship",
        "round": "Final"
      },
      "date": "2026-11-29",
      "throwIn": "2026-11-29T14:00:00+00:00",
      "venue": "UPMC Nowlan Park",
      "status": "scheduled",
      "home": {
        "name": "Ballyhale Shamrocks",
        "type": "club",
        "id": "kilkenny/ballyhale-shamrocks",
        "page": "https://gaelicscore.ie/clubs/kilkenny/ballyhale-shamrocks",
        "crest": "https://gaelicscore.ie/data/crests/96/kilkenny-ballyhale-shamrocks.webp"
      },
      "away": {
        "name": "O'Loughlin Gaels",
        "type": "club",
        "id": "kilkenny/oloughlin-gaels",
        "page": "https://gaelicscore.ie/clubs/kilkenny/oloughlin-gaels",
        "crest": "https://gaelicscore.ie/data/crests/96/kilkenny-oloughlin-gaels.webp"
      },
      "score": null,
      "result": null,
      "counties": [
        "kilkenny"
      ],
      "channels": [
        {
          "label": "Clubber",
          "url": "https://clubber.ie/"
        }
      ]
    }
  ],
  "meta": {
    "count": 214,
    "limit": 50,
    "next": "eyJvIjo1MH0",
    "generated": "2026-11-29T16:00:00Z",
    "plan": "business"
  }
}

GET/api/v1/results

Results

Results with their scores, newest first. result.official is true where the Association, a county board, a provincial council, an association or the club's own site gave it; a result only reported elsewhere says so in result.label. Developer and Commercial reach this season; Business and Enterprise every season the site holds.

Plans: Developer, Commercial, Business, Enterprise.

ParameterInWhat it is
countyqueryA county's id (see /v1/counties): its own games. Under a county licence, one of the licence's counties: any other is refused, county_not_licensed. Example: kerry.
codequeryOne code. Developer has football and hurling; the other plans all four. One of: football, hurling, ladies-football, camogie. Example: hurling.
levelqueryThe level of the game. One of: county, club, schools, third-level, international. Example: club.
competitionqueryA competition's id (see /v1/competitions). Example: all-ireland-senior-hurling-championship.
clubqueryA club's id, county/club (see /v1/clubs): the club's games. Example: kerry/austin-stacks.
datequeryOne day, YYYY-MM-DD (Irish date). Not with from or to. Example: 2026-11-29.
fromqueryThe first day, YYYY-MM-DD. Before this season needs the Business or Enterprise plan. Example: 2026-11-01.
toqueryThe last day, YYYY-MM-DD; at most 400 days after from. Example: 2026-11-30.
limitqueryItems a page: 1 to your plan's most (100, 200, 500 or 1,000); 50 where not given. Example: 50.
cursorqueryThe meta.next of the page before, for the next page. Example: eyJvIjo1MH0.
curl -s "https://gaelicscore.ie/api/v1/results?county=kerry&code=hurling" \
  -H "Authorization: Bearer $GAELICSCORE_KEY"
Response 200
{
  "data": [
    {
      "id": "4dbb105d-7222-d7cb-67bf-4743eaa0e82d",
      "url": "https://gaelicscore.ie/match/4dbb105d-7222-d7cb-67bf-4743eaa0e82d",
      "code": "hurling",
      "level": "club",
      "grade": "senior",
      "competition": {
        "id": "kilkenny-senior-hurling-championship",
        "name": "Kilkenny Senior Hurling Championship",
        "round": "Final"
      },
      "date": "2026-10-25",
      "throwIn": "2026-10-25T15:00:00+00:00",
      "venue": "UPMC Nowlan Park",
      "status": "result",
      "home": {
        "name": "Ballyhale Shamrocks",
        "type": "club",
        "id": "kilkenny/ballyhale-shamrocks",
        "page": "https://gaelicscore.ie/clubs/kilkenny/ballyhale-shamrocks",
        "crest": "https://gaelicscore.ie/data/crests/96/kilkenny-ballyhale-shamrocks.webp"
      },
      "away": {
        "name": "O'Loughlin Gaels",
        "type": "club",
        "id": "kilkenny/oloughlin-gaels",
        "page": "https://gaelicscore.ie/clubs/kilkenny/oloughlin-gaels",
        "crest": "https://gaelicscore.ie/data/crests/96/kilkenny-oloughlin-gaels.webp"
      },
      "score": {
        "home": {
          "goals": 2,
          "points": 21,
          "total": 27,
          "text": "2-21"
        },
        "away": {
          "goals": 1,
          "points": 18,
          "total": 21,
          "text": "1-18"
        }
      },
      "result": {
        "official": true,
        "label": null
      },
      "counties": [
        "kilkenny"
      ],
      "channels": [
        {
          "label": "Clubber",
          "url": "https://clubber.ie/"
        }
      ]
    }
  ],
  "meta": {
    "count": 9412,
    "limit": 50,
    "next": "eyJvIjo1MH0",
    "generated": "2026-11-29T16:00:00Z",
    "plan": "business"
  }
}

GET/api/v1/live

Games in play

The games being played now, each with live: its score by the best source the site has (the Association's own page first, then live services, clubs and supporters at the game), half time, and a Sideline Reporter's clock where one is kept. Business and Enterprise get it in real time; Developer and Commercial as it stood fifteen minutes before (delayedMinutes). Poll it every 15 to 30 seconds while games are on.

Plans: Developer, Commercial, Business, Enterprise.

ParameterInWhat it is
countyqueryA county's id (see /v1/counties): its own games. Under a county licence, one of the licence's counties: any other is refused, county_not_licensed. Example: kerry.
codequeryOne code. Developer has football and hurling; the other plans all four. One of: football, hurling, ladies-football, camogie. Example: hurling.
levelqueryThe level of the game. One of: county, club, schools, third-level, international. Example: club.
competitionqueryA competition's id (see /v1/competitions). Example: all-ireland-senior-hurling-championship.
clubqueryA club's id, county/club (see /v1/clubs): the club's games. Example: kerry/austin-stacks.
curl -s "https://gaelicscore.ie/api/v1/live?county=kerry&code=hurling" \
  -H "Authorization: Bearer $GAELICSCORE_KEY"
Response 200
{
  "data": [
    {
      "id": "4dbb105d-7222-d7cb-67bf-4743eaa0e82d",
      "url": "https://gaelicscore.ie/match/4dbb105d-7222-d7cb-67bf-4743eaa0e82d",
      "code": "hurling",
      "level": "club",
      "grade": "senior",
      "competition": {
        "id": "kilkenny-senior-hurling-championship",
        "name": "Kilkenny Senior Hurling Championship",
        "round": "Final"
      },
      "date": "2026-11-29",
      "throwIn": "2026-10-25T15:00:00+00:00",
      "venue": "UPMC Nowlan Park",
      "status": "scheduled",
      "home": {
        "name": "Ballyhale Shamrocks",
        "type": "club",
        "id": "kilkenny/ballyhale-shamrocks",
        "page": "https://gaelicscore.ie/clubs/kilkenny/ballyhale-shamrocks",
        "crest": "https://gaelicscore.ie/data/crests/96/kilkenny-ballyhale-shamrocks.webp"
      },
      "away": {
        "name": "O'Loughlin Gaels",
        "type": "club",
        "id": "kilkenny/oloughlin-gaels",
        "page": "https://gaelicscore.ie/clubs/kilkenny/oloughlin-gaels",
        "crest": "https://gaelicscore.ie/data/crests/96/kilkenny-oloughlin-gaels.webp"
      },
      "score": null,
      "result": null,
      "counties": [
        "kilkenny"
      ],
      "channels": [
        {
          "label": "Clubber",
          "url": "https://clubber.ie/"
        }
      ],
      "live": {
        "stage": "in-play",
        "home": {
          "goals": 1,
          "points": 9,
          "total": 12,
          "text": "1-9"
        },
        "away": {
          "goals": 0,
          "points": 11,
          "total": 11,
          "text": "0-11"
        },
        "official": false,
        "clock": {
          "period": 2,
          "running": true,
          "seconds": 812,
          "clockAt": "2026-11-29T15:58:12Z"
        },
        "asOf": "2026-11-29T15:58:40Z",
        "delayedMinutes": 0
      }
    }
  ],
  "meta": {
    "count": 1,
    "asOf": "2026-11-29T15:58:40Z",
    "delayedMinutes": 0,
    "generated": "2026-11-29T15:58:40Z",
    "plan": "business"
  }
}

GET/api/v1/matches/{id}

A match

One game in full: its card of facts (referee, the county teams' managers, the competition as listed), team sheets, where to watch with each channel's link, for a top-tier result its scorers and events, and while it is on, live (delayed on Developer and Commercial). An id a game had before its result was read still finds it.

Plans: Developer, Commercial, Business, Enterprise.

ParameterInWhat it is
id (required)pathA game's id (a UUID), as the lists give it. Example: 4dbb105d-7222-d7cb-67bf-4743eaa0e82d.
curl -s "https://gaelicscore.ie/api/v1/matches/4dbb105d-7222-d7cb-67bf-4743eaa0e82d" \
  -H "Authorization: Bearer $GAELICSCORE_KEY"
Response 200
{
  "data": {
    "id": "4dbb105d-7222-d7cb-67bf-4743eaa0e82d",
    "url": "https://gaelicscore.ie/match/4dbb105d-7222-d7cb-67bf-4743eaa0e82d",
    "code": "hurling",
    "level": "club",
    "grade": "senior",
    "competition": {
      "id": "kilkenny-senior-hurling-championship",
      "name": "Kilkenny Senior Hurling Championship",
      "round": "Final"
    },
    "date": "2026-10-25",
    "throwIn": "2026-10-25T15:00:00+00:00",
    "venue": "UPMC Nowlan Park",
    "status": "result",
    "home": {
      "name": "Ballyhale Shamrocks",
      "type": "club",
      "id": "kilkenny/ballyhale-shamrocks",
      "page": "https://gaelicscore.ie/clubs/kilkenny/ballyhale-shamrocks",
      "crest": "https://gaelicscore.ie/data/crests/96/kilkenny-ballyhale-shamrocks.webp"
    },
    "away": {
      "name": "O'Loughlin Gaels",
      "type": "club",
      "id": "kilkenny/oloughlin-gaels",
      "page": "https://gaelicscore.ie/clubs/kilkenny/oloughlin-gaels",
      "crest": "https://gaelicscore.ie/data/crests/96/kilkenny-oloughlin-gaels.webp"
    },
    "score": {
      "home": {
        "goals": 2,
        "points": 21,
        "total": 27,
        "text": "2-21"
      },
      "away": {
        "goals": 1,
        "points": 18,
        "total": 21,
        "text": "1-18"
      }
    },
    "result": {
      "official": true,
      "label": null
    },
    "counties": [
      "kilkenny"
    ],
    "channels": [
      {
        "label": "Clubber",
        "url": "https://clubber.ie/"
      }
    ],
    "referee": null,
    "managers": null,
    "competitionListed": "Kilkenny Senior Hurling Championship Final",
    "sheets": null,
    "watch": [
      {
        "kind": "stream",
        "label": "Clubber",
        "url": "https://clubber.ie/",
        "button": "Open Clubber listings",
        "video": null,
        "price": "€11.99",
        "note": null
      }
    ],
    "story": null,
    "refixture": null,
    "refixtureOf": null,
    "awaitingResult": false,
    "live": null
  },
  "meta": {
    "generated": "2026-11-29T16:00:00Z",
    "plan": "business"
  }
}

GET/api/v1/matches/{id}/updates

A match's live updates

A game's live updates, oldest first: every score, half time and full time a source gave while it was on, marked official or reported, and a Sideline Reporter's running score where one is kept. Ask with since (the at of the last update you hold) to get only what is new. Business and Enterprise.

Plans: Business, Enterprise.

ParameterInWhat it is
id (required)pathA game's id (a UUID), as the lists give it. Example: 4dbb105d-7222-d7cb-67bf-4743eaa0e82d.
sincequeryOnly updates after this time, ISO 8601. Example: 2026-11-29T15:30:00Z.
curl -s "https://gaelicscore.ie/api/v1/matches/4dbb105d-7222-d7cb-67bf-4743eaa0e82d/updates" \
  -H "Authorization: Bearer $GAELICSCORE_KEY"
Response 200
{
  "data": [
    {
      "at": "2026-11-29T15:21:04Z",
      "kind": "score",
      "minute": 21,
      "home": {
        "goals": 1,
        "points": 5,
        "total": 8,
        "text": "1-5"
      },
      "away": {
        "goals": 0,
        "points": 6,
        "total": 6,
        "text": "0-6"
      },
      "source": "reported"
    },
    {
      "at": "2026-11-29T15:38:30Z",
      "kind": "half-time",
      "minute": null,
      "home": {
        "goals": 1,
        "points": 7,
        "total": 10,
        "text": "1-7"
      },
      "away": {
        "goals": 0,
        "points": 8,
        "total": 8,
        "text": "0-8"
      },
      "source": "official"
    }
  ],
  "meta": {
    "count": 2,
    "id": "4dbb105d-7222-d7cb-67bf-4743eaa0e82d",
    "phase": "live",
    "generated": "2026-11-29T15:40:00Z",
    "plan": "business"
  }
}

GET/api/v1/competitions

Competitions

The competitions the site follows, in your plan's codes: the All-Ireland and provincial championships, the leagues, every county's club championships and leagues, schools and colleges. Use an id as competition on /v1/fixtures and /v1/results.

Plans: Developer, Commercial, Business, Enterprise.

ParameterInWhat it is
codequeryOnly this code's competitions. One of: football, hurling, ladies-football, camogie. Example: hurling.
curl -s "https://gaelicscore.ie/api/v1/competitions?code=hurling" \
  -H "Authorization: Bearer $GAELICSCORE_KEY"
Response 200
{
  "data": [
    {
      "id": "all-ireland-senior-hurling-championship",
      "name": "All-Ireland Senior Hurling Championship",
      "code": "hurling",
      "group": "inter-county",
      "section": "All-Ireland",
      "county": null,
      "crest": "https://gaelicscore.ie/crests/competitions/gaa.png",
      "page": "https://gaelicscore.ie/competitions/all-ireland-senior-hurling-championship"
    }
  ],
  "meta": {
    "count": 374,
    "generated": "2026-11-29T16:00:00Z",
    "plan": "business"
  }
}

GET/api/v1/competitions/{id}

A competition

One competition. Its games are /v1/fixtures and /v1/results with competition set to its id.

Plans: Developer, Commercial, Business, Enterprise.

ParameterInWhat it is
id (required)pathA competition's id. Example: all-ireland-senior-hurling-championship.
curl -s "https://gaelicscore.ie/api/v1/competitions/all-ireland-senior-hurling-championship" \
  -H "Authorization: Bearer $GAELICSCORE_KEY"
Response 200
{
  "data": {
    "id": "all-ireland-senior-hurling-championship",
    "name": "All-Ireland Senior Hurling Championship",
    "code": "hurling",
    "group": "inter-county",
    "section": "All-Ireland",
    "county": null,
    "crest": "https://gaelicscore.ie/crests/competitions/gaa.png",
    "page": "https://gaelicscore.ie/competitions/all-ireland-senior-hurling-championship"
  },
  "meta": {
    "generated": "2026-11-29T16:00:00Z",
    "plan": "business"
  }
}

GET/api/v1/counties

Counties

The 32 counties, with their Irish names and provinces. Use an id as county elsewhere.

Plans: Developer, Commercial, Business, Enterprise.

curl -s "https://gaelicscore.ie/api/v1/counties" \
  -H "Authorization: Bearer $GAELICSCORE_KEY"
Response 200
{
  "data": [
    {
      "id": "kerry",
      "name": "Kerry",
      "irish": "Ciarraí",
      "province": "munster",
      "page": "https://gaelicscore.ie/county/kerry"
    }
  ],
  "meta": {
    "count": 32,
    "generated": "2026-11-29T16:00:00Z",
    "plan": "business"
  }
}

GET/api/v1/clubs

Clubs

The clubs the site lists, about 2,000, a county's (county) or found by name in English or Irish (q), in pages. Under a county licence, the clubs of the licence's counties.

Plans: Developer, Commercial, Business, Enterprise.

ParameterInWhat it is
countyqueryA county's id (see /v1/counties): its own games. Under a county licence, one of the licence's counties: any other is refused, county_not_licensed. Example: kerry.
qqueryWords of the club's name, in English or Irish. Example: stacks.
limitqueryItems a page: 1 to your plan's most (100, 200, 500 or 1,000); 50 where not given. Example: 50.
cursorqueryThe meta.next of the page before, for the next page. Example: eyJvIjo1MH0.
curl -s "https://gaelicscore.ie/api/v1/clubs?county=kerry&q=stacks" \
  -H "Authorization: Bearer $GAELICSCORE_KEY"
Response 200
{
  "data": [
    {
      "id": "kerry/austin-stacks",
      "name": "Austin Stacks",
      "irish": null,
      "county": "kerry",
      "countyName": "Kerry",
      "codes": [
        "football",
        "hurling"
      ],
      "divisional": false,
      "crest": "https://gaelicscore.ie/data/crests/96/kerry-austin-stacks.webp",
      "page": "https://gaelicscore.ie/clubs/kerry/austin-stacks"
    }
  ],
  "meta": {
    "count": 1,
    "limit": 50,
    "next": null,
    "generated": "2026-11-29T16:00:00Z",
    "plan": "business"
  }
}

GET/api/v1/clubs/{county}/{club}

A club

One club's card of facts, as its page has it: its Irish name, founding year, colours, grounds with directions, website, lotto page, social pages and confirmed managers. Its games are /v1/fixtures and /v1/results with club.

Plans: Developer, Commercial, Business, Enterprise.

ParameterInWhat it is
county (required)pathThe county's id. Example: kerry.
club (required)pathThe club's id. Example: austin-stacks.
curl -s "https://gaelicscore.ie/api/v1/clubs/kerry/austin-stacks" \
  -H "Authorization: Bearer $GAELICSCORE_KEY"
Response 200
{
  "data": {
    "id": "kerry/austin-stacks",
    "name": "Austin Stacks",
    "irish": null,
    "nickname": null,
    "county": "kerry",
    "countyName": "Kerry",
    "division": null,
    "codes": [
      "football",
      "hurling"
    ],
    "divisional": false,
    "founded": null,
    "colours": null,
    "stripe": [],
    "grounds": null,
    "directions": null,
    "website": null,
    "lotto": null,
    "social": [],
    "managers": [
      {
        "label": "Football",
        "name": null,
        "team": null
      }
    ],
    "crest": "https://gaelicscore.ie/data/crests/96/kerry-austin-stacks.webp",
    "page": "https://gaelicscore.ie/clubs/kerry/austin-stacks"
  },
  "meta": {
    "generated": "2026-11-29T16:00:00Z",
    "plan": "business"
  }
}

GET/api/v1/usage

Your usage

Your plan, this month's requests and what is left, when the month starts again, the key you asked with, and your county licence: counties is the ids of the counties your answers are held to, or null where your plan has every county. It counts as a request.

Plans: Developer, Commercial, Business, Enterprise.

curl -s "https://gaelicscore.ie/api/v1/usage" \
  -H "Authorization: Bearer $GAELICSCORE_KEY"
Response 200
{
  "data": {
    "plan": {
      "id": "commercial",
      "name": "Commercial",
      "perMinute": 300,
      "monthly": 100000,
      "delayMinutes": 15,
      "liveUpdates": false,
      "history": false,
      "codes": [
        "football",
        "hurling",
        "ladies-football",
        "camogie"
      ],
      "maxPage": 200,
      "display": "Limited public display: one website or app of your own, with attribution."
    },
    "month": {
      "id": "2026-11",
      "used": 41207,
      "limit": 100000,
      "remaining": 58793,
      "resetsAt": "2026-12-01T00:00:00.000Z"
    },
    "key": {
      "prefix": "gs_live_3f9a2b1c4d5e",
      "label": "Production server",
      "createdAt": "2026-11-24T10:00:00Z",
      "lastUsedAt": "2026-11-29T15:59:00Z",
      "allowedOrigins": [],
      "allowedIps": []
    },
    "counties": [
      "limerick"
    ]
  },
  "meta": {
    "generated": "2026-11-29T16:00:00Z",
    "plan": "commercial"
  }
}

Live data

  • Which games: /v1/live lists the games in play: from their listed throw-in until their time is up, and any game a source is reporting from. A game with no score reported yet has live.home and live.away as null.
  • Whose score: the best the site has at that moment: the Association's own page first, then live services, clubs' and boards' posts and supporters reporting from the ground. live.official is true only for the Association's page; everything else is a report, and may be corrected.
  • How often to ask: every 15 to 30 seconds while games are on; less often is fine for most uses. /v1/fixtures and /v1/results change a few times an hour at most.
  • Delayed plans: on Developer and Commercial, /v1/live and a match's live are as they stood fifteen minutes before (live.asOf, delayedMinutes). Results are given once they are read, as on the site.
  • A game's feed: on Business and Enterprise, /v1/matches/{id}/updates lists each score a source gave, oldest first. Ask with since set to the at of the last update you hold, and stop when meta.phase is result or off.
  • Clocks: where a Sideline Reporter keeps the game's clock, live.clock gives the half and the seconds gone in it at clockAt; run it on yourself while running is true. No minute is ever guessed.

About the data

  • Coverage: the national master list, every county board's and provincial council's fixtures and results tables, the ladies football and camogie bodies, schools and colleges, and the reports of papers, stations, clubs and supporters, checked against each other.
  • Official and reported: a result is result.official where an official body gave it. A result only reported (by a paper, a station, a club's reporter or a reader) says so in result.label, and gives way to the official one when it is published.
  • Ids: a game's id can change when its result is read, since a fixture and its result can come from different sources. /v1/matches/{id} follows an old id to the game, and meta.requestedId says it did. Match games over time by the id the latest list gives.
  • Times not confirmed: a throw-in no source has confirmed is null, never guessed.
  • Games that did not go ahead: status is postponed, cancelled or abandoned, and a match gives its refixture where one is listed.
  • Team sheets and events: a match carries the sides as a county board announced them, and for top-tier games the scorers and events, where the site has them.

Security

  • Keep the key secret. It is an environment variable or in a secret store (AWS Secrets Manager, Google Secret Manager, Azure Key Vault, Doppler, 1Password). Never in source control, a page's code, a URL or a log.
  • Mobile apps: anything built into an iOS or Android app can be read out of it. The app calls your own server (the Node.js guide's last step), protected with your app's sign-in, or App Attest and Play Integrity, and the server adds the key.
  • Websites: call the API from your server and send your pages what they need. A browser key answers only pages on the origins listed on it and no request without one; anyone who opens the page can see it and spend your plan's requests with it, so keep it a key of its own.
  • Limit a key to your servers' addresses where they are fixed, and use a key for each system so one can be revoked alone.
  • If a key is exposed, tell us at once: we revoke it and issue another within minutes. Watch /v1/usage for requests you did not make.
  • HTTPS only. Always use https:// addresses, so the key travels encrypted.

Display and attribution

  • Developer: No public display: personal and internal use only.
  • Commercial: Limited public display: one website or app of your own, with attribution.
  • Business: Expanded public display: your websites, apps and social accounts, with attribution.
  • Enterprise: As negotiated: redistribution and bulk licensing under a written agreement.

Where you show the data in public, show "Data: GaelicScore.ie" near it, with a link to gaelicscore.ie on the web. The Data API terms set out what each plan may do; redistribution and bulk licensing are Enterprise's, under a written agreement.

Versions and changes

The version is in the path, /v1. Within it we only add: new endpoints, new fields, new error codes, new values of a list a field names. Anything that would break a client goes into /v2, announced by email at least 90 days before /v1 changes or closes.

Support

Write to us through the contact form (topic: data), with your key's prefix (never the key) and the X-Request-Id of a request that went wrong.

Your card, your invoices and ending your plan are on the billing page.