Skip to content
alltcgapi.com
REST API · game=yugioh

Yu-Gi-Oh! TCG API.
Every rarity, its own id.

Monsters, spells and traps from the English-language TCG, one record per printing. A card printed at Ultra, Starlight and Grand Master Rare is three cards, each with its own id and image.

800 trial credits, once · No credit card

Magnificent MaestrosYGO
game: "yugioh"Click a card to inspect ↗
125 sets

Releases in the catalogue

API reading ·
16,150 cards

Printings, each with its own id

API reading ·
See coverage
by game
01 / Explore the data

A catalogue you can build on.

Pick an example.
See how your app would request it.

Read from the API
Blue-Eyes White Dragon, the White Phantom Beast
Yu-Gi-Oh! / card

Blue-Eyes White Dragon, the White Phantom Beast

Set
YGO-MAMS
Number
MAMS-EN001
Rarity
Ultra Rare
306ad374-feed-4a6c-8ffe-04ea512e47ab
Real printings from Magnificent Maestros.
Pick one to inspect.
The requestGET
curl "https://api.alltcgapi.com/v1/cards/306ad374-feed-4a6c-8ffe-04ea512e47ab" \
  -H "X-Api-Key: $ALLTCG_KEY"

One card is one printing, with its own id. The id is stable: store it, and read the card again whenever you need it. Costs 1 credit.
Open the quickstart
Same API. Same shape as every other game.Examples read from the API when this page was built.
02 / Built around the printing

Yu-Gi-Oh! cards.
Their own identity.

A collector needs the card they actually own. Your app can keep set, number and printing together, and still speak one API across games.

Read the API reference
01

Set codes as printed

MAMS-EN001 is the code in the corner of the card and the number in the API. Another rarity of the same card adds a letter: MAMS-EN001a, MAMS-EN001b.

02

The frame in supertype

Effect Monster, Xyz Monster, Field Spell or Counter Trap arrives in supertype. The attribute, LIGHT or DARK, arrives in attributes.types.

03

Stats in attributes

attack, defense and monsterType arrive in attributes, next to the fields every game shares.

03 / Built for your next card app

More collections.
More possibilities.

Give Yu-Gi-Oh! collectors a place in your app. Build browsing, collection tracking and product discovery around the cards they own.

Start building with the API
Catalogue

Core sets, promos and tournament packs

Every release with its date and card total, promotional sets kept apart.

Sets
Rarities

One printing per rarity

Starlight, Ghost or Grand Master Rare: each is a card of its own.

Printings
Card images

The printing, not the name

One image per printing, linked to its set code.

Images
Marketplace ids

Join with what you already have

A TCGplayer product id on every card; Cardmarket ids where the two catalogues match.

IDs
One API

The same shape as every other game

Add Pokémon, Digimon or Flesh and Blood without a second integration.

Multi-TCG
04 / A few useful answers

Before your first request.

How do I find a card by its set code?

Call /v1/cards?game=yugioh&number=MAMS-EN001. The code is matched exactly; the other rarities of the same card end with a letter. API reference

Is the Japanese OCG included?

No. The catalogue covers English-language TCG releases. OCG cards are not served today. Coverage

Do I need a different key for each game?

No. One key reads every game. Pass game= to narrow a list, or leave it out to read across the whole catalogue. Authentication

Does the API return prices?

Yes: the current price of a card or a sealed product, by source. Cardmarket quotes are in euro and TCGplayer quotes in dollars, each with the day it was observed, and each with its history day by day. Which games have quotes from which source is on the coverage page. Card price API

Building for more than one game? Pokémon TCG API · One Piece Card Game API · Disney Lorcana API · Digimon Card Game API · Dragon Ball Super Fusion World API · Flesh and Blood TCG API · Star Wars: Unlimited API · Weiss Schwarz API · Cardfight!! Vanguard API · Riftbound TCG API · Gundam Card Game API · Final Fantasy TCG API · Force of Will TCG API · Dragon Ball Super Card Game Masters API · Battle Spirits Saga API · Cyberpunk TCG API · Star Wars: Destiny API · Dragoborne TCG API.

Start with one request

Make room for
Yu-Gi-Oh! collections.

Cards, sets and card images. One integration.

Get a free API key Read the quickstart 800 trial credits, once · No credit card