Interface Card
all_parts?: CardRelated[];
border_color: string;
card_faces?: CardFace[];
cardmarket_id?: number;
cmc: number;
collector_number: string;
color_identity: Colors;
colors: Colors;
csv_extra?: { [key: string]: string };
defense?: string;
edhrec_rank?: number;
filename: string;
finish: "normal" | "foil" | "etched";
flavor_text?: string;
game_changer: boolean;
games: string[];
hand_modifier?: string;
highres_image: boolean;
image_status: string;
image_uris?: Record<string, string>;
keywords: string[];
lang: string;
layout: CardLayout;
legalities: Record<string, string>;
life_modifier?: string;
loyalty?: string;
mana_cost: string;
mtgo_foil_id?: number;
mtgo_id?: number;
name: string;
norm_type: string;
object: "card";
oracle_id: string;
oracle_text: string;
power?: string;
price: string;
printed_name?: string;
produced_mana?: Colors;
quantity: number;
rarity: string;
rarity_orig: string;
rarity_recent: string;
released_at: string;
reserved: boolean;
resource_id?: string;
rulings_uri: string;
scryfall_id: string;
scryfall_uri: string;
security_stamp?: string;
set: string;
set_name: string;
set_type: string;
tcgplayer_etched_id?: number;
tcgplayer_id?: number;
toughness?: string;
type_line: string;
user_lang?: string;
user_tags: string[];
}
Hierarchy
Index
Properties
Properties
Optionalall_parts
If this card is closely related to other cards, this property will be an array with Related Card Objects.
border_color
This card’s border color: black, white, borderless, yellow, silver, or gold
Optionalcard_faces
An array of Card Face objects, if this card is multifaced.
Optionalcardmarket_id
This card’s ID on Cardmarket’s API, also known as the idProduct.
cmc
The card’s mana value. Note that some funny cards have fractional mana costs.
collector_number
This card’s collector number. Note that collector numbers can contain non-numeric characters, such as letters or
★.
color_identity
This card’s color identity.
colors
This card’s colors, if the overall card has colors defined by the rules. Otherwise, the colors will be on the card_faces objects.
Optionalcsv_extra
Extra CSV fields not processed in CardDB conversion. These fields are added to card entries on export.
Optionaldefense
This card’s defense, if any. Battle cards.
Optionaledhrec_rank
This card’s overall rank/popularity on EDHREC. Not all cards are ranked.
filename
Associated CSV filename.
finish
Finish variation if any.
Optionalflavor_text
The flavor text, if any.
game_changer
True if this card is on the Commander Game Changer list.
games
A list of games that this card print is available in: paper, arena, mtgo, astral, and / or sega.
Optionalhand_modifier
This card’s hand modifier, if it is Vanguard card. This value will contain a delta, such as -1.
highres_image
True if this card’s imagery is high resolution.
image_status
A computer-readable indicator for the state of this card’s image, one of missing, placeholder, lowres, or
highres_scan.
Optionalimage_uris
An object listing available imagery for this card. See the Card Imagery article for more information.
keywords
An array of keywords that this card uses, such as 'Flying' and 'Cumulative upkeep'.
lang
Scryfall language code.
layout
A code for this card’s layout.
legalities
An object describing the legality of this card across play formats. Possible legalities are legal, not_legal,
restricted, and banned.
Optionallife_modifier
This card’s life modifier, if it is Vanguard card. This value will contain a delta, such as +2.
Optionalloyalty
This loyalty if any. Note that some cards have loyalties that are not numeric, such as X.
mana_cost
The mana cost for this card. This value will be any empty string "" if the cost is absent. Remember that per the game rules, a missing mana cost and a mana cost of {0} are different values. Multi-faced cards will report this value in card faces.
Optionalmtgo_foil_id
This card’s foil Magic Online ID (also known as the Catalog ID), if any. A large percentage of cards are not available on Magic Online and do not have this ID.
Optionalmtgo_id
This card’s Magic Online ID (also known as the Catalog ID), if any. A large percentage of cards are not available on Magic Online and do not have this ID.
name
The name of this card. If this card has multiple faces, this field will contain both names separated by ␣//␣.
norm_type
Normalized card type based on type line parsing.
object
oracle_id
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.
oracle_text
The Oracle text for this card, if any.
Optionalpower
This card’s power, if any. Note that some cards have powers that are not numeric, such as *.
price
Any USD price derived from Scryfall DB during conversion.
Optionalprinted_name
The localized name printed on this card, if any.
Optionalproduced_mana
Colors of mana that this card could produce.
quantity
Total count of this card.
rarity
This card’s rarity. One of common, uncommon, rare, special, mythic, or bonus.
rarity_orig
Rarity of original / first printing.
rarity_recent
Rarity of recent / latest printing that isn't in high value (secret lair) / promo sets or is a promo card.
released_at
The date this card was first released.
reserved
True if this card is on the Reserved List.
Optionalresource_id
This card’s Resource ID on Gatherer, if any.
rulings_uri
A link to this card’s rulings list on Scryfall’s API.
scryfall_id
Scryfall ID / UUID.
scryfall_uri
Scryfall URL for card.
Optionalsecurity_stamp
The security stamp on this card, if any. One of oval, triangle, acorn, circle, arena, or heart.
set
This card’s set code.
set_name
This card’s full set name.
set_type
The type of set this printing is in.
Optionaltcgplayer_etched_id
This card’s ID on TCGplayer’s API, for its etched version if that version is a separate product.
Optionaltcgplayer_id
This card’s ID on TCGplayer’s API, also known as the productId.
Optionaltoughness
This card’s toughness, if any. Note that some cards have toughnesses that are not numeric, such as *.
type_line
The type line of this card.
Optionaluser_lang
Language code from external user managed source / CSV file. This is metadata and various online collection services allow this to be freely set by the user, so it may not correlate to actual associated Scryfall ID / data.
user_tags
User or platform derived categorization tags.
Populated opportunistically during CSV import from platform-specific fields (IE for Archidekt Category /
Secondary Category for deck exports or Tags for collection export). Not all platforms provide tag or
category data. Values are normalized to lowercase and trimmed.
Tags that case-insensitively match Scryfall keywords for the card are excluded to avoid semantic duplication
(IE Cycling vs cycling). Tags that case-insensitively match the normalized type line are also excluded.
This field is derived and non-authoritative:
- Source CSV values are preserved verbatim in
csv_extra. user_tagsis ignored when exporting CardDBs back to CSV.user_tagsis included inexport-llmoutput for semantic enrichment.
Always defined; empty array indicates no tags were derived.
Defines the enriched, but reduced set of card data transferred from the Scryfall DB.
See
https://scryfall.com/docs/api/cards