Skip to content
Prepaid, no subscription trap. Top up a balance and we draw the monthly fee from it.
tcggraph

The Set object

One set in one language.

Returned by GET /v1/sets.

Fields

Every field is always present. A field is null only where its type says | null, and a list with nothing in it is [], never null.

FieldTypeDescription
codestringThe set code, as the publisher or the catalogue source spells it. Unique within a game and language.
gamestringThe game's slug.

One of: pokemon, magic-the-gathering, one-piece, yugioh, disney-lorcana, star-wars-unlimited, digimon, grand-archive, dragon-ball-super

namestringThe set name.
languagestringThe set's language. Japanese Pokémon sets are their own rows under ja.
releasedAtstring | nullRelease date, YYYY-MM-DD.
cardCountintegerCards in the set, as catalogued.

A real one

From the production API, unedited.

{
  "code": "me55",
  "game": "pokemon",
  "name": "30th Celebration",
  "language": "en",
  "releasedAt": "2026-09-16",
  "cardCount": 161
}