TCGdex API
A Multilanguage Pokémon TCG Database with Cards Pictures and most of the informations contained on the cards. You can find out more about TCGdex at…
Fork copies the collection into your workspace, without the publisher's secrets, so you can add your own key and send requests. Star saves it to your starred APIs (Account › Marketplace) and helps others find it.
Overview
A Multilanguage Pokémon TCG Database with Cards Pictures and most of the informations contained on the cards.
You can find out more about TCGdex at https://www.tcgdex.net or on Discord.
Endpoints 33
cards
- GETfetch the list of cards
/cardsdesc - GETFinds Card by Global ID
/cards/:cardIdFind a defined card thatusing its global id - GETGET /sets/{set}/{cardLocalId}
/sets/:set/:cardLocalId
filters
- GETGET /categories
/categories - GETGET /categories/{category}
/categories/:category - GETGET /dex-ids
/dex-ids - GETGET /dex-ids/{dexId}
/dex-ids/:dexId - GETGET /energy-types
/energy-types - GETGET /energy-types/{energy-type}
/energy-types/:energy-type - GETGET /hp
/hp - GETGET /hp/{hp}
/hp/:hp - GETGET /illustrators
/illustrators - GETGET /illustrators/{illustrator}
/illustrators/:illustrator - GETGET /rarities
/rarities - GETGET /rarities/{rarity}
/rarities/:rarity - GETGET /regulation-marks
/regulation-marks - GETGET /regulation-marks/{regulation-mark}
/regulation-marks/:regulation-mark - GETGET /retreats
/retreats - GETGET /retreats/{retreat}
/retreats/:retreat - GETGET /series
/series - GETGET /series/{serie}
/series/:serie - GETGET /sets
/sets - GETGET /sets/{set}
/sets/:set - GETGET /stages
/stages - GETGET /stages/{stage}
/stages/:stage - GETGET /suffixes
/suffixes - GETGET /suffixes/{suffix}
/suffixes/:suffix - GETGET /trainer-types
/trainer-types - GETGET /trainer-types/{trainer-type}
/trainer-types/:trainer-type - GETGET /types
/types - GETGET /types/{type}
/types/:type - GETGET /variants
/variants - GETGET /variants/{variant}
/variants/:variant
API details
- Base URL
https://api.tcgdex.net/v2/{lang}- Authentication
- None declared in the description
- Operations
- 33 operations on 33 pathsGET 33
- Main resources
- filters 30cards 3
- Response formats
application/json- Description format
- OpenAPI 3.0.3, API version
2.0.0 - Links
- Documentation · OpenAPI document · Support
- Listed from
- APIs.guru OpenAPI Directory (CC0-1.0)
Source updated
How to test the TCGdex API in Swastik Codes
- Open the APISelect “Fork & run in Swastik Codes” on this page. Sign in or create a free account if asked.
- Fork it into your workspaceChoose a workspace. You get your own copy of the TCGdex API collection, without the publisher's secrets.
- Add your credentialsOpen the collection's variables or an environment and enter your API key or token, if the API needs one.
- Send a requestPick an endpoint, for example “fetch the list of cards” (GET /cards), and press Send. Check the response, add tests and run the whole collection with the runner.
Frequently asked questions
What is the TCGdex API?
A Multilanguage Pokémon TCG Database with Cards Pictures and most of the informations contained on the cards. You can find out more about TCGdex at… It is listed under Other and has 33 endpoints.
Who publishes the TCGdex API?
It is listed from Tcgdex's public API description (an OpenAPI document), not published by Tcgdex on Swastik Codes. Anyone who controls tcgdex.net can claim the profile by adding a DNS TXT record.
What is the base URL of the TCGdex API?
Requests go to https://api.tcgdex.net/v2/{lang}. Endpoint paths are added to this base URL.
How do I authenticate with the TCGdex API?
Its OpenAPI description does not declare an authentication scheme. Some endpoints may be open; check the provider's documentation before relying on that.
How many endpoints does the TCGdex API have?
33 operations on 33 paths (33 GET). The largest groups are filters, cards.
Is forking the TCGdex API free?
Yes. Forking copies the collection into your workspace for free. It has been starred 0 times and forked 0 times.