https://es.thronesdb.com/ can be queried via an http API.

This API is provided for use in deckbuilders, card databases, tournament managers, and other tools that are a complement to playing A Game of Thrones: The Card Game Second Edition.

All texts are copyrighted by Fantasy Flight Games.

Public and Protected (OAuth2)

There are two kinds of API endpoints: Public and Protected (OAuth2). Public API endpoints are available to everyone, while Protected API endpoints are only available to registered clients (applications). If you need such an access, please send me an email describing your project, including the Application Name, the Application Website and a Redirect URI (you can read this awesome page for more info on OAuth2) and I'll send you credentials.


The documentation can be found here: https://es.thronesdb.com/api/doc.


/api/public/card/01001 returns data for card 01001
/api/public/packs/?jsonp=parseSets returns data for all packs wrapped in a call to parseSets()


The response is in ascii encoding. Non-ascii characters are encoded with \uXXXX with XXXX their hexadecimal unicode value.


Please conform to HTTP Caching best practices when building your queries.