Overview
BoardGameGeek's XML API 2 lets you access a massive database of over 100,000 board games, RPGs, and video games including ratings, reviews, and user collections. It returns XML responses, so you'll need a parser like xml2js in Node.js or Python's xml.etree. This API is great for building board game lookup tools, collection trackers, or recommendation systems.
Beginner Tip
BGG throttles rapid requests — add a short delay (500ms) between calls and always cache responses locally to avoid being blocked.
Available Data
The kind of data this API exposes, based on its documentation. We could not call the endpoint to confirm the exact field names.
Example Response
Illustrative shape only — we were not able to call this endpoint (it requires credentials or exposes no public sample URL), so the fields below show the kind of data this API returns rather than a recorded response.
{
"id": 1,
"name": "Board Game Geek",
"data": "Board games, RPG and videogames",
"source": "Board Game Geek"
} Field Reference
item.@id Unique BoardGameGeek item ID used in all API calls. item.name Array of name objects; the primary name has sortindex='1'. item.statistics.ratings.average.@value Community average rating out of 10. item.statistics.ratings.numvoters.@value Total number of community ratings submitted. item.minplayers.@value Minimum number of players recommended for the game. item.playingtime.@value Average playing time in minutes. Implementation Example
Calls a real endpoint of this API. Replace any placeholder credentials with your own key.
const url = "https://boardgamegeek.com/xmlapi2/thing?id=174430&stats=1";
const response = await fetch(url);
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
const data = await response.json();
console.log(data); What Can You Build?
Note: These code examples are AI-generated and unverified. Always refer to the official API documentation for accurate usage.
Common Errors & Troubleshooting
Generated guidance based on this API's documentation, not observed by us. Treat it as a starting point and check against the provider's own error reference.
Metadata Score Breakdown
Estimated from metadata — endpoint not independently tested
Metadata estimate · endpoint not independently tested
Technical Specifications
Related Tags
Similar APIs
View All →Animal Crossing: New Horizons
⭐ Beginner's PickThe Animal Crossing: New Horizons API gives you free access to in-game data including villagers, critters, fossils, art, music, and furniture.
Autochess VNG
The Autochess VNG API provides game data for the Autochess VNG mobile game including heroes, items, and races.
Barter.VG
Barter.VG aggregates data about PC games, DLC, bundles, giveaways, and trading from Steam and other platforms.
Digimon Information
⭐ Beginner's PickThe Digimon Information API provides easy access to data about Digimon creatures, including their names, levels, types, and images.
Genshin Impact
⭐ Beginner's PickThe Genshin Impact API provides detailed game data including characters, weapons, artifacts, enemies, and domains from the popular action RPG.