geek
The Hotness
Games|People|Company
Search: Titles Only:
Index | All | Recent | Guidelines
Article Edit | History | Editors

BGG XML API redirected from XML API

Introduction

You can access some information from the geek via the BoardGameGeek XML API. Each base URI is described and the various parameters are listed. The parameters and their values are URL-encoded in the standard manner. There are some examples at the end. The resultant output XML is not described here, but XML is "self-describing" right? The output should be quite clear from simple inspection.

For all of the parameters mentioned below, the first parameter you list follows a ? (question mark), and each subsequent parameter follows an & (ampersand).

Commands

Search for games by name and by AKAs

/xmlapi/search

Retrieve information about a particular game or games

/xmlapi/boardgame/<gameid>
/xmlapi/boardgame/<gameid>,<gameid2>[...]

Retrieve games in a user's collection

/xmlapi/collection/<username>
Retrieve games in a user's collection. Important definition: A user's collection includes any games the user has added to her collection on BGG. This includes games she owns, games she used to own, games she's rated, games upon which she's commented, games she's played, and games on her wishlist, just to name a few. In this section, references to the collection mean this broader sense of BGG collection, not the user's personal stash of games.

Retrieve the messages from a forum/game thread

/xmlapi/thread/<threadid>

  • Example: http://www.boardgamegeek.com/xmlapi/thread/381021 [Note: Your browser may interpret this as a request to subscribe to an RSS feed.]
  • start: Start article (default = 0)
  • count: Number of articles (default and max = 100)
  • username: Username to filter for

Retrieve entries from a geeklist

/xmlapi/geeklist/<listid>

Old Documentation

http://boardgamegeek.com/xmlapi

Discussion thread

http://www.boardgamegeek.com/thread/99401

Games Data XML Snapshot

BGG XML Snapshot

[What Links Here]
Front Page | Welcome | Contact | Privacy Policy | Advertise | Support BGG | Feeds RSS
BoardGameGeek and the BoardGameGeek logo are trademarks of BoardGameGeek, LLC.