AllCards

Every card as a unique "atomic" object. May also be outputted as every card in a specific set.

Data type: array(anonymous object)
Property type: string

AllCards.json is strictly a unique record of every magic card and does not include all finite details about each card.

Each card's keys are limited to its atomic data only - data that typically will never change with the cards newer printings.

Deprecation Warning

tcgplayerPurchaseUrl will be removed in v4.5.0.

Structure

propertytypeexampledescription

colorIdentity

array(string)
["B"]
List of all colors in card’s mana cost, rules text and any color indicator.

colorIndicator

array(string)
["B","R"]
List of all colors in card’s color indicator (a symbol showing the colors of the card). Usually found only on cards without mana costs and other special cards.

colors

array(string)
["B","R"]
List of all colors in card’s mana cost and any color indicator. Some cards are special (such as Devoid cards or other cards with certain rules text).

convertedManaCost

float
5.0
The converted mana cost of the card.

faceConvertedManaCost

float
5.0
The converted mana cost of the face of either half or part of the card.

foreignData

array(object)
{{link:foreign-data}}
See the {{link:foreign-data}} structure.

hand

string
"+0"
Starting maximum hand size total modifier. A plus or minus character preceeds an integer. Used only on Vanguard cards.

isReserved

boolean
true
Is the card on the MTG Reserved List? (If false, it is usually omitted.)

layout

string
"normal"
Type of card layout. Can be {{code:normal}}, {{code:split}}, {{code:flip}}, {{code:transform}}, {{code:meld}}, {{code:leveler}}, {{code:saga}}, {{code:planar}}, {{code:scheme}}, {{code:vanguard}}, {{code:token}}, {{code:double_faced_token}}, {{code:emblem}}, {{code:augment}}, {{code:aftermath}} or {{code:host}}. (If normal, it is usually omitted.)

legalities

object
{{link:legalities}}
See the {{link:legalities}} structure.

life

string
"+0"
Starting life total modifier. A plus or minus character preceeds an integer. Used only on Vanguard cards.

loyalty

string
"7"
Planeswalker loyalty value.

manaCost

string
"{3}{W}{W}"
Mana cost of the card.

mtgstocksId

integer
40272
mtgstocks.com card id.

name

string
"Angel of Grace"
Names of each face on the card. Meld cards are listed in the order of {{code:CardA}}, {{code:Meld}}, {{code:CardB}}.

names

array(string)
["Nicol Bolas, the Ravager","Nicol Bolas, the Arisen"]
Names of each face on the card. Meld cards are listed in the order of CardA, Meld, CardB.

power

string
"5"
Power of the creature.

printings

array(string)
["M19","PM19"]
List of sets the card was printed in, in uppercase.

purchaseUrls

array(string: string)
{{link:purchase-urls}}
See the {{link:purchase-urls}} structure.

rulings

array(object)
{{link:rulings}}
See the {{link:rulings}} structure.

scryfallOracleId

string
"9b7870df-6bca-499f-bc6e-e57f2ddfe640"
A unique ID for this card’s oracle identity. This value is consistent across reprinted card editions, and unique among different cards with the same name (tokens, Unstable variants, etc).

side

string
"a"
Identifier of the side. Used on cards with multiple faces, such as {{code:flip}}, {{code:split}}, {{code:transform}} cards. Can be {{code:a}}, {{code:b}}, or {{code:c}}.

subtypes

array(string)
["Angel"]
List of card subtypes found after em-dash. ("Legendary Creature — Angel")

supertypes

array(string)
["Legendary"]
List of card supertypes found before em-dash. ("Legendary Creature — Angel")

text

string
"Reach (This creature can block creatures with flying.)\nDeathtouch (Any amount of damage this deals to a creature is enough to destroy it.)"
Rules text of the card.

toughness

string
"4"
Toughness of the card.

type

string
"Legendary Creature — Angel"
Type of the card. Includes any supertypes and subtypes. ("Creature — Angel")

types

array(string)
["Creature"]
List of types of the card.

uuid

string
"7eb0f276-5e32-5a1e-acfd-9b0ddc19b845"
A universal unique id (v5) generated by MTGJSON. Each entry is unique.
Last Updated: 2019-05-20