# SetList

List of codes, names and release dates of all sets.

Data type: array(anonymous object)

# Data Structure

Property Attributes

The property attributes you see below earmark possible conditions for a field in this data structure.

    Property Index

    A list of all available properties.

    1. baseSetSize

    2. code

    3. isFoilOnly

    4. name

    5. releaseDate

    6. totalSetSize

    7. type

    Show More

    Property Information

    Type

    integer

    Introduced

    v4.5.0

    Example

    259

    Description

    Number of cards in the set. Will default to totalSetSize if not available. Note that Wizards sometimes prints extra cards beyond the set size into promos or supplemental products.

    Key

    Type

    string

    Introduced

    v4.0.0

    Example

    "M19"

    Description

    Set code for the set.

    Type

    boolean

    Introduced

    v4.0.0

    Example

    true

    Description

    Set only has foil cards.

    Attributes

    optional

    Key

    Type

    string

    Introduced

    v4.0.0

    Example

    "Core Set 2019"

    Description

    Name for the set.

    Type

    string

    Introduced

    v4.0.0

    Example

    "2018-07-13"

    Description

    Release date in ISO8601 format for the set. Returns null if the set was not formally released as a product.

    Attributes

    nullable

    Type

    integer

    Introduced

    v4.5.0

    Example

    273

    Description

    Total number of cards in the set, including promos and related supplemental products.

    Key

    Type

    string

    Introduced

    v4.0.0

    Example

    "expansion"

    Description

    As of 03-28-2019, the possible values are archenemy, box, core, commander, draft_innovation, duel_deck, expansion, from_the_vault, funny, masters, masterpiece, memorabilia, spellbook, planechase, premium_deck, promo, starter, token, treasure_chest, or vanguard

    Attributes

    stale
    Last Updated: 2020-04-21