# lovebowls Public API > The lovebowls Public API gives a lawn-bowls club's own website, or an AI agent working for it, read access to the club's data over HTTPS and JSON: the club summary, competitions, fixtures with results, and league tables, plus the club's news, honours board, life members and trophies. Each API key belongs to one club. Send it in the `X-Api-Key` header to `https://api.lovebowls.co.uk/v1`. Member operations (`getMe`, `getMyCalendar` and the selection operations `listMyAvailability`, `setMyAvailability`, `clearMyAvailability`, `getTeamsheet`) also need a member token from the lovebowls login (see the Authentication guide); a member sees only their own data and can mark and clear their own availability. Refusals of an availability change are `409` with a stable `code` (see the Selection guide). A draft (unpublished) club answers `404 club_not_found` on every read unless a member token of a member of that club is sent too. Errors are `application/problem+json` with a stable `code`. The content operations (`listNews`, `getNewsArticle`, `listHonours`, `listLifeMembers`, `listTrophies`, `getTrophy`) take an optional member token: a visitor, or a signed-in person who is not a member of the club, gets the public answer, and a member of the club also gets its members-only articles (see the News, honours and trophies guide). A news article body is sanitised HTML. ## Guides - [Getting started](https://api.lovebowls.co.uk/docs/getting-started): Get a key and make your first call, with curl or the JavaScript SDK. - [Keys](https://api.lovebowls.co.uk/docs/keys): Publishable and server keys, the origin allowlist, keeping a server key out of browsers, rotation, and what each 401 and 403 means. - [Errors](https://api.lovebowls.co.uk/docs/errors): The problem+json error format, the error codes that exist today, X-Request-Id, and which errors to retry. - [Paging](https://api.lovebowls.co.uk/docs/paging): Lists come in pages. limit, cursor, nextCursor, why the filters must not change, and how to walk every page. - [Fixtures](https://api.lovebowls.co.uk/docs/fixtures): Competitions, fixtures and club events with their filters, one fixture, results, league tables, and the field notes a developer needs. - [Rate limits](https://api.lovebowls.co.uk/docs/rate-limits): 300 requests a minute per key, the headers that tell you where you stand, and the temporary block for abuse. - [JavaScript SDK](https://api.lovebowls.co.uk/docs/sdk): Install @lovebowls/api from npm or jsDelivr, every method, member login, errors, paging, and the rule for keys in browsers. - [Authentication](https://api.lovebowls.co.uk/docs/authentication): Member login for your own site, how the sign-in works, the 4-hour token, why logout does not revoke it, and the member errors. - [Members](https://api.lovebowls.co.uk/docs/members): The member operations getMe and getMyCalendar - fields, date ranges, caching, and the rule that a member sees only their own data. - [Selection](https://api.lovebowls.co.uk/docs/selection): Mark a member available or not for a fixture, the seven reasons it can be refused and what to tell the member, grouped fixtures, and the published teamsheet. - [News, honours and trophies](https://api.lovebowls.co.uk/docs/content): The content group - a club's news (members-only articles for members), sanitised article bodies, the honours board, life members and trophies with their winners. ## Reference - [OpenAPI contract](https://api.lovebowls.co.uk/openapi.yaml): the machine-readable contract (OpenAPI 3.1), the source of truth. - [API reference](https://api.lovebowls.co.uk/docs/reference): the same contract, rendered for reading. - [Live example: visitor](https://api.lovebowls.co.uk/docs/example-visitor/): every public call, with code in SDK, fetch, cURL and Python, and the live answer. - [Live example: member](https://api.lovebowls.co.uk/docs/example-member/): the member login and every member call, with the same code tabs. ## SDK - [@lovebowls/api on npm](https://www.npmjs.com/package/@lovebowls/api): the JavaScript and TypeScript client (`npm i @lovebowls/api`).