Skip to main content
The API exposes a number of fields whose values are drawn from a fixed, closed set. This page lists every enum and what each value means. The set of enums is locked — adding a new value to any of them counts as a non-breaking change; removing or renaming a value is a breaking change and only happens with a /v2/ version bump.

Card identity

class

A Card’s primary type. Determines where it can be played and what rules apply.

subclasses

A Card’s secondary creature typing — used by tutors, anti-tribal effects, and synergies. A Card can have zero or more.

elements

The elemental affiliation of a Card or Creature. Drives spirit-cost matching, type advantages, and a host of effect text. A Card can have one or more.

cost

Each entry in a Card’s cost array is an ElementToken from the table above, repeated as many times as that element is required. A cost of ["fire", "fire", "omni"] means two fire spirits and one of any element. total_cost is the precomputed sum, included for sort/filter convenience.

Effects

effect_type

Top-level classification of an effect’s timing. Every Card effect carries one.

effect_categories

A categorical taxonomy of what the effect does. A single effect can have multiple categories. Useful for filtering (“all cards that mill”, “all cards with negate effects”).

effect_subtype (forward-looking)

A finer-grained classifier than effect_categories. Currently shipped in the OpenAPI spec but null on existing rows; populated as the underlying database column rolls out.

Printings

rarity

condition

A printing variant’s foil treatment. A printing has at least one variant; many have two or three.

canvas

The art layout of a printing.

frame_material

The frame texture rendered on the printing.

holo_pattern

The foil pattern overlay on a printing’s art. null on non-foil printings.

title_frame

The title-bar treatment on a printing.

image_type

The kind of image at a particular PrintingImage URL. Multiple images per printing surface different crops.

Sets

set_type

subset

Banlists and rulings

legality

A Card’s legal status in a given format.

prize_rank

Tournament-prize-card placement.