List a game's comments
const url = 'https://api.theboardgamedb.com/v1/games/5c9b0f43-7a39-4f0c-8a4e-2f2d2b1d9a77/comments?limit=20';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://api.theboardgamedb.com/v1/games/5c9b0f43-7a39-4f0c-8a4e-2f2d2b1d9a77/comments?limit=20'What members wrote about the game, newest first, each with the rating its writer gave the game, when they gave one, and never who wrote it. text is plain text exactly as written: escape it before putting it in a page.
Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”The game’s id, as returned in every game object. The game’s slug is accepted too, and so is an address it had before: a slug changed when the game was renamed by the addressing rule, or the id or slug of an entry merged into it because both were the same game. The answer is the game under its current id and slug; compare them with what you sent to update a stored link.
Example
5c9b0f43-7a39-4f0c-8a4e-2f2d2b1d9a77Query Parameters
Section titled “Query Parameters”The nextCursor of the previous page.
Responses
Section titled “Responses”A page of comments.
object
object
Members who liked it.
Members who disliked it. Once dislikes outnumber likes by 3 or more, with at least 5 votes, it is hidden until a moderator looks at it.
Plain text, not HTML. Escape it before display.
The author’s rating of the game, if they gave one.
Pass as cursor to get the next page. Null on the last page.
Example
{ "data": [ { "id": "4a0e7f0c-64d0-4f0e-8a51-6f4b1b2f9d10", "text": "Trade wood for sheep.", "rating": 7.5, "likes": 4, "dislikes": 0, "createdAt": "2026-11-20T18:04:11.120Z", "updatedAt": "2026-11-20T18:04:11.120Z" } ], "total": 1, "nextCursor": null}cursor is not a value this API issued.
object
What went wrong, in plain English words. The wording may change: act on code.
A stable name for this refusal, for programs and for showing the message in another language. A code is never renamed; new ones may be added.
The numbers the sentence names, when it names any: for example { "max": 20 } with daily_photo_limit.
object
On every refusal over a limit (rate_limited, weekly_limit, coverage_limit): where higher limits are to be had. The same pricing address is in the Link header, with rel="payment".
object
The plans and prices page.
The account page, where a member makes a free API token.
Example
{ "error": "Game not found", "code": "game_not_found"}No game has this id.
object
What went wrong, in plain English words. The wording may change: act on code.
A stable name for this refusal, for programs and for showing the message in another language. A code is never renamed; new ones may be added.
The numbers the sentence names, when it names any: for example { "max": 20 } with daily_photo_limit.
object
On every refusal over a limit (rate_limited, weekly_limit, coverage_limit): where higher limits are to be had. The same pricing address is in the Link header, with rel="payment".
object
The plans and prices page.
The account page, where a member makes a free API token.
Example
{ "error": "Game not found", "code": "game_not_found"}Over a request limit. rate_limited: without a token, 60 a minute and 1,000 a UTC day per address (more with a token; see Limits above). weekly_limit: the week’s requests or game details are used up (params.max is the cap). coverage_limit: as many different games read over 28 days as the plan allows. The retry-after header says how many seconds to wait: 60 for a minute’s limit, until midnight UTC for a day’s, until Monday 00:00 UTC for a week’s.
object
What went wrong, in plain English words. The wording may change: act on code.
A stable name for this refusal, for programs and for showing the message in another language. A code is never renamed; new ones may be added.
The numbers the sentence names, when it names any: for example { "max": 20 } with daily_photo_limit.
object
On every refusal over a limit (rate_limited, weekly_limit, coverage_limit): where higher limits are to be had. The same pricing address is in the Link header, with rel="payment".
object
The plans and prices page.
The account page, where a member makes a free API token.
Example
{ "error": "Game not found", "code": "game_not_found"}