Information
- Terms of Service
- License: CC BY-NC 4.0 (data and texts); see the terms
- OpenAPI version:
3.1.0
An open database of board games.
Read the catalog of board games: facts about each game, the people and companies behind it, how it is classified and what it won.
Reading needs no key and no account. Every answer is JSON. Successful answers put their payload under data; failures return { "error": "…", "code": "…" }: error is a sentence in English written for people, code a stable name for the refusal (listed under the Error schema) that a program can act on or translate.
This API reads. Nothing here changes the catalog or a member’s account: ratings, votes, comments, lists, photos, playlists, rulebooks and corrections are made on the website. A request that would change something with an API token is refused with 403 (read_only). The one exception is the Publisher API, for publishers we gave access to, with its own token.
Accounts are created on the website. A member can create a personal API token on their account page and send it as Authorization: Bearer <token>: it raises the limits and reads what is the member’s own (their lists, ratings and corrections).
Members’ input. Ratings, complexity, ranks, recommended age, player counts, language dependence on a game all come from this site’s own members, who give them on the website. A game nobody has rated or voted on has null (or an empty list) there, never a guess.
No member is named. Answers never say which member wrote a comment, added a photo, a video, a playlist or a rulebook, wrote rules or a tutorial or corrected a game: no name, id or address. Counts, averages and distributions are given, and a public list names the member who made it; with a token, what is your own (/account, yours) is yours to read.
Limits. Without a token: 60 requests a minute, 1,000 a day and 5,000 a week per address (an IPv6 address counts by its /64). With a personal API token (Authorization: Bearer bgdb_…, created on the website’s account page by a member whose email address is confirmed, 2 per account): 90 a minute, 1,500 a day and 7,500 a week per member, all their tokens together; on the paid plans for commercial use (plans and prices at https://theboardgamedb.com/pricing), Hobby: 1,200 a minute, 2,000 a day and 10,000 a week; Starter: 1,200 a minute, 6,000 a day and 30,000 a week. Of a week’s requests, reading one game (/games/{id} and the routes under it) is limited further: 500 games a week without a token, 750 with one, 1,000 on the Hobby plan, 3,000 on the Starter plan. /index/games counts one request for every 25 names it may return (limit). Days are UTC days; weeks start on Monday at 00:00 UTC. Every counted answer carries the standard X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset (seconds since 1970) for the daily limit, which every plan has; the per-minute limit shows only when reached, as a 429 with retry-after. It also carries x-ratelimit-weekly-limit, x-ratelimit-weekly-remaining and x-ratelimit-weekly-reset (when the week starts again, in seconds since 1970); reading a game adds the same three as x-ratelimit-weekly-detail-*. Beyond a limit the API answers 429 (rate_limited, or weekly_limit for a week’s) with a retry-after header: the seconds to wait. Every such refusal links the plans and prices page three ways: in its sentence, in links.pricing (with links.token, where a free token is made) and in a Link header with rel="payment". GET /limits lists every limit, and with a token your own. For more: a free API token, the Hobby or Starter plan for commercial use (https://theboardgamedb.com/pricing), or larger volumes, data dumps and service levels on request at contact@theboardgamedb.com. Catalog answers are cached for up to five minutes, so a change can take that long to show.
Slugs are stable: once a game or a credit has a slug, it does not change.
Credits. Some descriptions come from Wikipedia and some covers from Wikimedia Commons, under licences that ask for credit: GET /v1/credits lists them, with their source, licence and author.
Terms of use. Using the API and what it returns is subject to our terms: https://theboardgamedb.com/terms (the licence of the data at #license, the images at #images, the API’s terms at #api).
Publishers add their own games through the Publisher API, described in its own reference: https://docs.theboardgamedb.com/publisher/reference/.
The session of a member signed in on the website. Used by the website itself.
Security scheme type: http
A personal API token (starts with bgdb_), created on the website’s account page. Optional: it raises the request limit and reads what is the member’s own. It reads only: a request that would change something is refused with 403 (read_only).
Security scheme type: http