Fixtures

The fixtures group has four operations. All of them are reads and all need only an API key.

OperationPathSDK
List competitionsGET /v1/clubs/{clubId}/competitionslb.listCompetitions(clubId, { kind? })
List fixturesGET /v1/clubs/{clubId}/fixtureslb.listFixtures(clubId, filters)
One fixtureGET /v1/clubs/{clubId}/fixtures/{fixtureId}lb.getFixture(clubId, fixtureId)
A league tableGET /v1/leagues/{leagueId}lb.getLeague(leagueId)

Only published fixtures are returned. A draft is invisible, and asking for one by id is 404 fixture_not_found.

Competitions

curl "https://api.lovebowls.co.uk/v1/clubs/CLUB_ID/competitions?kind=match" -H "X-Api-Key: $LB_KEY"
const { items } = await lb.listCompetitions("CLUB_ID", { kind: "match" });

The answer is { "items": [...] }, ordered by name, not paged. Each competition has id, name, description, kind, playersPerRink (1 to 4 or null), gender (male, female or mixed), minAge, maxAge, colour, textColour, imageUrl and link. Use a competition's id as the competition filter of the fixtures list.

Fixtures

curl "https://api.lovebowls.co.uk/v1/clubs/CLUB_ID/fixtures?from=2027-04-01&to=2027-05-01&kind=match" \
  -H "X-Api-Key: $LB_KEY"
const { items, nextCursor } = await lb.listFixtures("CLUB_ID", {
  from: "2027-04-01",
  to: "2027-05-01",
  kind: "match",
});

This is also the club calendar: ask for the range you want to show. Fixtures come oldest first, and each carries its result once there is one.

FilterMeaning
from, toA date (2027-04-01, meaning midnight UTC) or a date-time. from is inclusive, to is exclusive.
competitionA competition id. Repeat the parameter for several: competition=a&competition=b.
teamA team id from getClub.
kindmatch or event.
limit, cursorPaging. See Paging.

The date range

One fixture

curl "https://api.lovebowls.co.uk/v1/clubs/CLUB_ID/fixtures/FIXTURE_ID" -H "X-Api-Key: $LB_KEY"
const fixture = await lb.getFixture("CLUB_ID", "FIXTURE_ID");

Fixture ids are stable for a real club. An id that does not exist, is a draft or is another club's all answer 404 fixture_not_found.

{
  "id": "117578e2-e1d8-4806-b519-557a3f1160cd",
  "number": "002",
  "kind": "match",
  "start": "2027-04-05T09:00:00.000Z",
  "meetTime": null,
  "competition": { "id": "6f0c2a44-...", "name": "Ladies Premier 2", "kind": "match", "colour": "#7b1fa2", "textColour": "#ffffff" },
  "team": null,
  "venue": "home",
  "opponent": "Kestrelbury Ladies",
  "eventName": null,
  "notes": null,
  "dress": null,
  "rinks": 3,
  "availabilityEnabled": true,
  "teamsheetPublished": false,
  "result": null,
  "updatedAt": "2026-11-21T14:02:11.000Z"
}

Results

result is null until the club has recorded one. Then it is:

FieldMeaning
outcomewin, loss or draw, or null when the club entered only a text result.
clubScoreThe club's total over all rinks, or null.
opponentScoreThe opponents' total, or null.
textThe result as the club wrote it, or null.

Show text when outcome is null. Handle an outcome you do not know: new values can be added. Rink-by-rink scores and the players are not in the API.

League tables

curl "https://api.lovebowls.co.uk/v1/leagues/LEAGUE_ID" -H "X-Api-Key: $LB_KEY"
const league = await lb.getLeague("LEAGUE_ID");
for (const row of league.table) console.log(row.position, row.teamName, row.played, row.points);

The answer is { id, name, table, updatedAt }. Each row of table, in order of position, has position, teamId, teamName, played, won, drawn, lost, shotsFor, shotsAgainst, shotDifference, points, inPromotionPosition and inRelegationPosition.

A league belongs to no club, so its path has no club id and any valid key can read a league whose id it knows. An unknown id is 404 league_not_found.

Field notes