Documentation · API v1

API reference

List a set's products

GET/v1/sets/{code}/products

Returns the cards and sealed product in a set: cards in number order, then sealed. Each item carries its market price; call Get a product for the full detail.

Path parameters

codestring · required
The set code, such as PFL, or the set id, such as phantasmal-flames. If several sets share a code you'll get 400 ambiguous_set_code listing their ids: use the id instead.

Query parameters

kindcard | sealed · optional
Only cards, or only sealed product.
raritystring · optional
Only this rarity, such as Special Illustration Rare or special-illustration-rare.
finishstring · optional
Only this finish, such as Holo, Reverse Holo or normal.
limitinteger · optional
Products per page, 1 to 250. Defaults to 100.
cursorstring · optional
The next_cursor from the previous page. Leave it out for the first page.
currencystring · optional
GBP, the default and currently the only currency.

Response fields

setobject
The set's id, code and name.
data[].idstring
Product id. Use it with the /v1/products endpoints.
data[].namestring
Product name.
data[].kindcard | sealed
Whether this is a single card or sealed product.
data[].setobject
The set's id, code and name.
data[].numberstring | null
Card number, such as 125/094. Null for sealed product.
data[].raritystring | null
Rarity, for cards.
data[].finishstring | null
Finish, such as Holo or Reverse Holo. Null for sealed product.
data[].pricesobject
market price, currency and as_of.
has_moreboolean
Whether there's another page.
next_cursorstring | null
Pass as cursor to get the next page. Null on the last page.