Skip to content
Prepaid, no subscription trap. Top up a balance and we draw the monthly fee from it.
tcggraph

The Game object

One supported game.

Returned by GET /v1/games and GET /v1/games/{slug}.

Fields

Every field is always present. A field is null only where its type says | null, and a list with nothing in it is [], never null.

FieldTypeDescription
slugstringThe identifier every game parameter takes.

One of: pokemon, magic-the-gathering, one-piece, yugioh, disney-lorcana, star-wars-unlimited, digimon, grand-archive, dragon-ball-super

namestringThe full name.
shortNamestringThe name as players say it.
publisherstringWho prints the game.
releasedintegerThe year the game launched.
countsobjectA snapshot of the catalogue taken after each ingest, as quoted on our game pages. indexed is the live count.
counts.cardsintegerDistinct card names.
counts.setsintegerEnglish sets.
counts.printingsintegerEnglish printings.
counts.languagesintegerLanguages the game is catalogued in, excluding Magic's novelty scripts.
languagesstring[]Language codes with at least one printing whose image has been hashed, counted live. Includes Magic's novelty scripts (ph, qya, …).
formatsstring[]The game's main play formats, as display names. Not the keys of legalities: only Magic (23 formats), Pokémon (standard, expanded, unlimited), Yu-Gi-Oh! (tcg, ocg) and Lorcana (core) carry legality data, and every other game's cards return legalities: {}.
sampleCountintegerCards of this game in the public sample behind the explorer, which needs no key.
indexedobjectWhat is queryable right now, counted on each request.
indexed.cardsintegerEnglish printings: what /v1/cards?game= counts without language.
indexed.setsintegerEnglish sets.
indexed.printingsByLanguagemap<string, integer>Printings per language code.

A real one

From the production API, unedited.

{
  "slug": "pokemon",
  "name": "Pokémon Trading Card Game",
  "shortName": "Pokémon",
  "publisher": "The Pokémon Company",
  "released": 1996,
  "counts": {
    "cards": 4159,
    "sets": 176,
    "printings": 20635,
    "languages": 6
  },
  "languages": [
    "en",
    "de",
    "es",
    "fr",
    "it",
    "ja"
  ],
  "formats": [
    "Standard",
    "Expanded",
    "Unlimited",
    "GLC"
  ],
  "sampleCount": 20,
  "indexed": {
    "cards": 26447,
    "sets": 230,
    "printingsByLanguage": {
      "de": 13331,
      "en": 26447,
      "es": 12561,
      "fr": 16760,
      "it": 12812,
      "ja": 27861
    }
  }
}