Documentation · API v1

API reference

List sets

GET/v1/sets

Returns every set, newest first, in one response. Use a set's code or id with /v1/sets/{code}/products to list what's in it.

Query parameters

languagestring · optional
Only sets in this language, such as English or Japanese.
seriesstring · optional
Only sets in this series.

Response fields

data[].idstring
Stable set id, such as phantasmal-flames. Unique, so it's the safest thing to store.
data[].codestring | null
The code printed on the cards, such as PFL. Different language editions can share a code.
data[].namestring
Set name.
data[].seriesstring | null
The series the set belongs to.
data[].languagestring | null
Language, such as English.
data[].release_datedate | null
Release date, YYYY-MM-DD.
data[].card_countinteger | null
Number of cards printed in the set.
data[].variant_countinteger | null
Number of card products, counting each finish separately.
data[].sealed_countinteger | null
Number of sealed products.
data[].finishesobject
How many card products have each finish.
data[].logoobject | null
Logo image details: id, width, height, format.
countinteger
Number of sets returned.