Set

The Set Data Model describes the properties of an individual set.

Model Type

Model Index

(Showing 0)

Model Properties

baseSetSize

The number of cards in the set. This will default to totalSetSize if not available. Wizards of the Coast sometimes prints extra cards beyond the set size into promos or supplemental products.

  • Type: number
  • Introduced: v4.1.0

block

The block name the set is in.

  • Type: string
  • Introduced: v4.0.0

booster

A breakdown of possibilities and weights of cards in a booster pack. See the Booster Abstract Model.

  • Type: object
  • Introduced: v5.0.0

cards

The list of cards in the set. See the Card (Set) Data Model.

  • Type: CardSet[]
  • Introduced: v4.0.0

cardsphereSetId

The Cardsphere set identifier.

  • Type: number
  • Introduced: v5.2.1

code

The printing set code for the set.

  • Type: string
  • Introduced: v4.0.0

codeV3

The alternate printing set code Wizards of the Coast uses for a select few duel deck sets.

  • Type: string
  • Introduced: v4.2.1

isForeignOnly

If the set is only available outside the United States of America.

  • Type: boolean
  • Introduced: v4.4.1

isFoilOnly

If the set is only available in foil.

  • Type: boolean
  • Introduced: v4.0.0

isNonFoilOnly

If the set is only available in non-foil.

  • Type: boolean
  • Introduced: v5.0.0

isOnlineOnly

If the set is only available in online game play variations.

  • Type: boolean
  • Introduced: v4.0.0

isPaperOnly

If the set is only available in paper game play.

  • Type: boolean
  • Introduced: v4.6.2

isPartialPreview

If the set is still in preview (spoiled). Preview sets do not have complete data.

  • Type: boolean
  • Introduced: v4.4.2

keyruneCode

The matching Keyrune code for set image icons.

  • Type: string
  • Introduced: v4.3.2

languages

The languages the set was printed in.

  • Type: string[]
  • Introduced: v5.2.1

mcmId

The Cardmarket set identifier.

  • Type: number
  • Introduced: v4.4.0

mcmIdExtras

The split Cardmarket set identifier if a set is printed in two sets. This identifier represents the second set's identifier.

  • Type: number
  • Introduced: v5.1.0

mcmName

The Cardmarket set name.

  • Type: string
  • Introduced: v4.4.0

mtgoCode

The set code for the set as it appears on Magic: The Gathering Online.

  • Type: string
  • Introduced: v4.0.0

name

The name of the set.

  • Type: string
  • Introduced: v4.0.0

parentCode

The parent printing set code for set variations like promotions, guild kits, etc.

  • Type: string
  • Introduced: v4.3.0

releaseDate

The release date in ISO 8601 format for the set.

  • Type: string
  • Introduced: v4.0.0

sealedProduct

The sealed product information for the set. See the Sealed Product Data Model.

  • Type: SealedProduct
  • Introduced: v5.2.0

tcgplayerGroupId

The group identifier of the set on TCGplayer.

  • Type: number
  • Introduced: v4.2.1

tokens

The tokens available to the set. See the Card (Token) Data Model.

  • Type: CardToken[]
  • Introduced: v4.0.0

tokenSetCode

The tokens set code.

  • Type: string
  • Introduced: v5.2.1

totalSetSize

The total number of cards in the set, including promotional and related supplemental products but excluding Alchemy modifications - however those cards are included in the set itself.

  • Type: number
  • Introduced: v4.1.0

translations

The translated set name by language. See the Translations Data Model.

  • Type: Translations
  • Introduced: v4.3.2

type

The expansion type of the set.

  • Type: string
  • Introduced: v4.0.0