JSON API - Get a set /v2/:lang/cards
Fields
Name | Description | Type |
---|---|---|
id | Set Unique ID | String |
name | Set Name | String |
logo | Set logo (you can add .(webp|png|jpg) to customize the format) (see Assets) | String |
symbol | Set Symbol (you can add .(webp|png|jpg) to customize the format (see Assets) | String |
cardCount | Contain information about the number of cards in the set | Object |
cardCount.total | The total amount of cards in this set (including hidden) | Number |
cardCount.official | The amount of cards in this set (displayed on the bottom left/right of the card) | Number |
cardCount.reverse | The amount of cards in this set that can be found in reverse holo | Number |
cardCount.holo | The amount of cards in this set that can be found in holo | Number |
cardCount.firstEd | The amount of cards in this set that can be found with the firstEdition Tag | Number |
serie | Informations about the serie | Serie Resume |
tcgOnline | Pokémon TCG Online Set code | String |
releaseDate | The set release date in the form yyyy-mm-dd | String |
legal | Set usability in competitions | Object |
legal.standard | Ability to use this set in standard competitions | Boolean |
legal.expanded | Ability to use this set in Expanded competitions | Boolean |
cards | List of cards in this set | Array of Card Resume |
https://api.tcgdex.net/v2/en/sets
Response
{
"cardCount": {
"firstEd": 0,
"holo": 64,
"normal": 137,
"official": 189,
"reverse": 155,
"total": 201
},
"cards": [..., {
"id": "swsh3-136",
"image": "https://assets.tcgdex.net/en/swsh/swsh3/136",
"localId": "136",
"name": "Furret"
}, ...],
"id": "swsh3",
"legal": {
"expanded": true,
"standard": false
},
"logo": "https://assets.tcgdex.net/en/swsh/swsh3/logo",
"name": "Darkness Ablaze",
"releaseDate": "2020-08-14",
"serie": {
"id": "swsh",
"name": "Sword & Shield"
},
"symbol": "https://assets.tcgdex.net/univ/swsh/swsh3/symbol"
}