JSON API - Get a sets list /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) | String |
symbol | Set Symbol (you can add .(webp|png|jpg) to customize the format | 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 |
https://api.tcgdex.net/v2/en/sets
Response
[
..., {
"id": "swsh3",
"name": "Darkness Ablaze",
"logo": "https://assets.tcgdex.net/en/swsh/swsh3/logo",
"symbol": "https://assets.tcgdex.net/univ/swsh/swsh3/symbol",
"cardCount": {
"total": 201,
"official": 189
}
}, ...
]