Master sets, sections and roles

The data model: set types, sections, roles and variants.

A master set is every card that belongs to a subject. MasterSet defines six types:

typeWhat it isExample
characterEvery card of one Pokémoncharizard
artistEvery card one illustrator drewmitsuhiro-arita-cards
expansionA released set, with every finish of every card151
promo_seriesA promo linescarlet-violet-black-star-promos
specialtyA kind of card across setsGold Star cards
collectibleAn official non-TCG lineTopps series

Sections

Collectors disagree about what counts. MasterSet answers by putting every card in exactly one section, and letting you choose sections. A set object lists the sections it has, how many cards each holds, and whether MasterSet includes each by default.

KeyContains
mainThe set’s own cards, one per printing
finish:<finish>A variant finish of those cards, e.g. finish:reverse_holofoil, finish:1st_edition
cameosCards where the Pokémon appears in another card’s artwork (character sets)
trophyCards awarded at a single event or to players who placed (character sets)
promosStamped, overlay and distribution variants of an expansion’s cards
energyBasic Energy belonging to an expansion
special_editionsPrerelease, staff, league and retailer-exclusive releases
errors, prototypes, metal, jumbo, collectiblesSpecial kinds of card

Use exclude and include with these keys on a checklist request. A key the set does not have is ignored, so one request shape works for every set.

Roles

A card’s role belongs to the set it is in, not to the card. The same card can be a regular card in one Pokémon’s set and a cameo in another’s. Each checklist row carries roles: any of cameo, trophy, promo, energy, special_edition.

Cameo data builds on RotomAmiti’s Cameo Pokémon Card Database, a community project, with MasterSet’s own corrections and per-set roles.

Variants

Each finish of a card is its own row with its own id: the unlimited print, the 1st Edition, the reverse holo. finish names it. variants=false returns one row per card. GET /cards/{id} lists a card’s other finishes.

Identifiers

  • Master sets: ms_12, or the slug (charizard). Slugs can be renamed; a renamed slug answers 301 to the new one. Ids never change.
  • Cards: card_1294. When two records turn out to be one card they are merged, and the old id answers 301 to the surviving one.
  • Treat ids as opaque strings.

This page as Markdown · all docs in one file · OpenAPI