Skip to content

Japanese Pokemon API Version 2 Objects

Card Object


name string

The name of the card.


id integer

The internal identification number that the card is given. Used to query for this single card.


setData hash


types list

The energy type or types the card is. Almost always will be a single value.


hp integer

The amount of HP the card has. If it does not have hp, then the value will be -1.


evolvesFrom string

If the card evolves from another card, this field will denote the name of the pre-evolution.


effect hash

Describes the card's effect. Mainly for Trainers and Special Energies.

TODO: FIELDS


attacks hash

Describes all attacks the card has. Includes energy cost, attack name, attack damage, and any description or further effects.

TODO: FIELDS


rules list

Describes rules the card is bound to. Mainly for cards with a Rule Box and certain Trainers.


weaknesses hash

The type or types of energy the card is weak to. Includes the damage modifier that the card receives when being attacked by a type it is weak to.


resistances hash

The type or types of energy the card is resistant to. Includes the damage modifier that the card receives when being attacked by a type it is resistant to.


retreatCost list

List of the energies required to retreat.


convertedRetreatCost integer

The total number of energies needed to retreat.


supertype string

The supertype the card is. Only possibilites are Pokemon, Trainer, or Energy.


subtypes list

The subsets that the card falls into. For example, Single Strike Pokemon, Pokemon VMAX, etc.


rarity string

The rarity of the card.


cardLegalities hash

The formats that the card is allowed to compete in.

TODO: FIELDS


artist string

The card art's artist.


imageUrl string

The url pointing to the card's image. If there is no card image, then this will instead point to https://assets.tcgcollector.com/build/images/default-card-image.789f6232.png.


cardUrl string

The URL which leads to the original card URL data.


sequenceNumber integer

The sequential number of the card (applicable to Secret Rares).


printedNumber string

The number printed on the card, will be the same as sequenceNumber almost always. Is relevant for Promotional cards such as SWSH001


uuid integer

A stable id for each card. Output is an eight digit integer which is unique for each card. While the cards' id may change over time, the uuid should always remain stable and constant.


Set Object


name string

The name of the set.


id integer

The internal identification number that the set is given. Used to query for information about this single set or for all cards in this single set.


source_url string

The URL to a page which has more information about the set.


image_url string

A URL to the official set's image.


language string

The language that the cards in the set are printed in.


year string

The year the set was released.


date string

The exact date the set was released.

NOTE: CURRENTLY NOT SUPPORTED. WILL BE ADDED IN FUTURE UPDATES


card_count integer

The total number of cards in the set.


printed_count integer

The number of cards in the set that is printed on the card. This differs from the set's card_count in sets with Secret Rare cards.


set_code string

The shorthand code for the set.


uuid integer

A stable id for each set. Output is an eight digit integer which is unique for each set. While the set' id may change over time, the uuid should always remain stable and constant.