Your tastes
const url = 'https://api.thebgdb.org/v1/account/preferences';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
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.thebgdb.org/v1/account/preferences \ --header 'Authorization: Bearer <token>'The designers, mechanics, families and categories the member likes, in the order they were chosen. Never served from the shared cache.
Authorizations
Section titled “Authorizations”Responses
Section titled “Responses”The member’s tastes.
object
object
object
How many games it is on.
object
How many games it is on.
object
How many games it is on.
object
How many games it is on.
When the member first saved their tastes or skipped the website’s question; null if never.
Example
{ "data": { "designers": [ { "slug": "uwe-rosenberg", "name": "Uwe Rosenberg", "games": 74 } ], "mechanics": [ { "slug": "worker-placement", "name": "Worker Placement", "games": 2210 } ], "families": [], "categories": [ { "slug": "farming", "name": "Farming", "games": 512 } ], "askedAt": "2026-11-22T10:04:11.120Z" }}The request has no valid session token.
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
Example
{ "error": "Game not found", "code": "game_not_found"}Too many requests, or too many of these sent today (code says which).
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
Example
{ "error": "Game not found", "code": "game_not_found"}