Winter Gifts. A gift box is waiting in every Data API account until 31 December. Open your gift
Flipzi · Trading card scanner API

A card photo.
Your next app feature.

Identify cards from Pokémon, One Piece, Yu-Gi-Oh!, Magic and 12 more games using a photo, including Japanese and Chinese Pokémon, and return ranked matches with confidence. Bring recognition into your product with the scanning allowance included in Data API Ultra and Mega.

REST · JSON Upload, base64 or URL Confidence on every scan
1 · your user’s photo
A hand holding a Luxurious Cape card, photographed at an angle
2 · POST scan.flipzi.io/v1/recognize
{ "data": {
  "candidates": [{
    "name": "Luxurious Cape",
    "set_code": "PAR",
    "card_number": "166/182", …
  }],
  "confidence": "high",
  "auto_accept": true
} }
The sample photo below the scanner demo. Field names from the published OpenAPI; the response is trimmed.
3 · price the card you got back
IdentifiedLuxurious Cape
Set · numberPAR 166/182
Next call/v1/cards/{id}/price
Returns the same per-condition ledger as the card above
Try it

Point it at a card.

Upload a photo to inspect ranked matches and confidence. This demo also requests market data for the match through the Data API. No signup, no key.

Pick the game first

The index holds about 172,000 cards across Pokémon, One Piece, Yu-Gi-Oh!, Magic and 12 more games, and the search runs inside the game you choose. Send a card from another game and you will get a low confidence answer with geometry_rejects — the honest answer, not a supported one.

No card to hand? These are Pokémon:

The result appears here.

3 free scans an hour, and the sample photos above are always free. A key removes the limit. The same engine and the same index ship in the Flipzi apps — iOS or Android — if you would rather watch it run on a phone against your own collection.

97.8% recall @1, 45 English Pokémon phone photos
44/45 auto-accepts, none of them wrong
about 172,000 cards in the index, sixteen catalogues
~1s typical time per scan
Why visual

Text is the first thing a card loses.

Every condition that makes a card hard to read is common in real collections. Matching on the artwork sidesteps all of them, because nothing has to be read.

Glare and foil

Holo and reverse-holo surfaces blow out under any direct light. The artwork is still recognisable when the text is not.

Sleeves and slabs

A card does not have to come out of its sleeve to be identified, which matters when you are scanning a bulk box.

Wear and older print runs

Faded, scuffed and vintage cards degrade text long before they degrade the image.

Calibrated confidence

Every scan returns a score and an auto-accept verdict, so you know when to accept silently and when to ask a person.

Reprints stay separate

Cards sharing identical art come back as distinct candidates, each with its set code, number and reference image, so your interface makes the call.

The same engine we ship

Identical index and model to the scanner in the Flipzi apps. Not a separate pipeline, and not a staler one.

API endpoints and integration example
Surface

Three endpoints. That is the whole API.

REST and JSON, authenticated with a single header. No SDK to install.

POST /v1/recognize Photo in, ranked candidate matches out
GET /v1/meta/index Index size, coverage and build fingerprint
GET /v1/meta/health Liveness and current model version

Scope, stated plainly

The index holds 172,050 cards. Accuracy differs by game, so here is each one, measured on real photos with the search scoped to that game:

GamecategoryCardsrecall@1Measured on
Pokémon (English) pokemon 21,098 97.8% 45 phone photos
Pokémon (Japanese) pokemon-jp 19,768 85% 200 seller photos
Pokémon (Simplified Chinese) pokemon-zh 22,882 72.5% 200 seller photos
One Piece onepiece 3,913 97.1% 68 phone photos; flat scans 63/63
Yu-Gi-Oh! yugioh 14,414 81.7% 71 phone photos; flat scans 117/120
Magic: The Gathering mtg 32,066 91.5% 47 phone photos; flat scans 149/149
Disney Lorcana lorcana 2,986 92.5% hand-reviewed phone photos; sample count not published
Star Wars: Unlimited starwars-unlimited 3,105 91.3% hand-reviewed phone photos; sample count not published
Riftbound riftbound 1,114 Benchmark pending No published real-photo benchmark
Gundam Card Game gundam 1,239 91.4% hand-reviewed phone photos; sample count not published
Digimon Card Game digimon 5,642 79.7% hand-reviewed phone photos; sample count not published
Union Arena union-arena 5,323 89.8% hand-reviewed phone photos; sample count not published
Sorcery: Contested Realm sorcery ~1,500 Benchmark pending No published real-photo benchmark
Dragon Ball Super Card Game (Masters) dragonball-masters ~8,500 74.4% hand-reviewed phone photos; sample count not published
Flesh and Blood flesh-and-blood ~9,900 Benchmark pending No published real-photo benchmark
Weiss Schwarz weiss-schwarz ~18,600 Benchmark pending No published real-photo benchmark

Name the game in category; an unknown value returns an explicit error rather than a guess. The Data API covers catalogue and pricing for every result.

Quickstart

One request. One header.

What the demo above just did, as a curl. Swap the key for your own and it works from any shell.

Request
curl -X POST https://scan.flipzi.io/v1/recognize \
  -H "X-API-Key: $FLIPZI_SCANNER_KEY" \
  -F category=pokemon \
  -F [email protected]
Response
{
  "data": {
    "candidates": [
      {
        "card_id": "0f8a3c62-1b4e-4e9f-9a11-2c7d5e6b8a90",
        "name": "Charizard ex",
        "set_code": "OBF",
        "card_number": "125/197",
        "rarity": "Double Rare",
        "image_url": "https://...",
        "score": 0.9474
      }
    ],
    "confidence": "high",
    "auto_accept": true,
    "reasons": ["strong_visual_match", "geometry_confirms"],
    "top_score": 0.9474,
    "margin": 0.3195,
    "match_path": "visual",
    "index_version": "20260817T063440Z"
  }
}

Branch on confidence, not on score

auto_accept means the top match is strong and clearly ahead of the runner-up — safe to apply without asking anyone. When it is false, show the candidates: that usually means an identical-art reprint, which no amount of looking harder can resolve. reasons tells you which situation you are in. Full reference in the API docs.

Data API Mega

From a card photo
to your next product feature.

Identify Pokémon, One Piece, Yu-Gi-Oh!, Magic and 12 more games cards, retrieve market data and build the experience around them. One subscription, with separate keys for data and scanning.

Choose Mega Compare all plans

€249.00 / month, excluding VAT

Data API units / month
1,000,000
Card scans / month
75,000

Includes Ultra’s data, higher throughput and larger bulk requests. Scanning covers 16 of the 20 catalogue games.

Only on Mega: auction-house sales. Every completed sale of a card at Goldin, Fanatics Collect and ALT, with grade, cert number where the house shows it, and the price including buyer’s premium. See auction sales →

Ultra · 100 scans / monthMega · 75,000 scans / month Compare Data API plans →

One subscription and invoice. Scanning uses a separate API key and allowance in the same account. Recognition covers 16 of the 20 catalogue games.

Straight answers

Is there a Pokémon card recognition API?

Yes. Send a photo with category pokemon, pokemon-jp or pokemon-zh and the API returns ranked candidate cards with set code, collector number and a confidence score. Accuracy is measured per catalogue on real photos: English Pokémon 97.8% recall@1 on 45 phone photos, Japanese 85% and Simplified Chinese 72.5% on 200 seller photos each. The matched card id is priced by the Data API like any other card.

How is this different from a text-reading scanner?

Most card scanners read the name and set code off the card, which fails the moment there is glare on a foil, a sleeve over the surface, or edge wear on an older card. Flipzi does not read the card at all. The image is embedded by a vision model and matched against the catalogue on artwork, so nothing depends on legible text.

How are identical-art reprints handled?

They come back as separate candidates in the ranked list, with the set code, collector number and reference image on each, so the choice is made in your interface rather than guessed at by ours. Raise top_n if you want a deeper shortlist.

Which games are supported?

Pokémon (English), Pokémon (Japanese), Pokémon (Simplified Chinese), One Piece, Yu-Gi-Oh!, Magic: The Gathering, Disney Lorcana, Star Wars: Unlimited, Riftbound, Gundam Card Game, Digimon Card Game, Union Arena, Sorcery: Contested Realm, Dragon Ball Super Card Game (Masters), Flesh and Blood, Weiss Schwarz — about 172,000 cards in one index. Name the game in the category field on every scan (pokemon, pokemon-jp, pokemon-zh, onepiece, yugioh, mtg, lorcana, starwars-unlimited, riftbound, gundam, digimon, union-arena, sorcery, dragonball-masters, flesh-and-blood, weiss-schwarz). A scan without it searches English Pokémon, and Japanese and Chinese Pokémon reuse the English artwork, so naming the game is what keeps the answer in the right catalogue. An unknown category returns an error rather than a guess.

How accurate is it?

It depends on the game, so published results are measured with the search scoped to one game: Pokémon (English) 97.8% on 45 phone photos; Pokémon (Japanese) 85% on 200 seller photos; Pokémon (Simplified Chinese) 72.5% on 200 seller photos; One Piece 97.1% on 68 phone photos (flat scans 63/63); Yu-Gi-Oh! 81.7% on 71 phone photos (flat scans 117/120); Magic: The Gathering 91.5% on 47 phone photos (flat scans 149/149); Disney Lorcana 92.5% on hand-reviewed phone photos (sample count not published); Star Wars: Unlimited 91.3% on hand-reviewed phone photos (sample count not published); Gundam Card Game 91.4% on hand-reviewed phone photos (sample count not published); Digimon Card Game 79.7% on hand-reviewed phone photos (sample count not published); Union Arena 89.8% on hand-reviewed phone photos (sample count not published); Dragon Ball Super Card Game (Masters) 74.4% on hand-reviewed phone photos (sample count not published). A real-photo benchmark has not yet been published for Riftbound, Sorcery: Contested Realm, Flesh and Blood, Weiss Schwarz. Every benchmark photo was labelled by a person against the catalogue image. Foils are the hard case: most Yu-Gi-Oh! misses are Secret, Ghost and Starlight rares whose shine hides the artwork, and those come back at low confidence rather than as a confident wrong answer. For English Pokémon: recall@1 and recall@5 of 97.8% on 45 hand-labelled real phone photos, scored against the 20,406-card English index of the time. That is a small sample and a hard one: real captures, real glare, real hands, labelled by reading each photo rather than by trusting the scanner that produced it. One of the 45 still fails, and no crop of it retrieves the right card. On the same set the auto-accept verdict fired 44/45 times and was never wrong. Rather than take any of this on trust, upload a card at the top of this page.

How do I send an image?

Three ways: a multipart file upload, a base64-encoded string, or a URL we fetch for you. All three are available on every plan that includes scanning.

What do I get back?

A ranked list of candidate cards, each with the catalogue id, name, set code, collector number, rarity and a reference image, plus the match score. How many candidates you can request depends on your plan.

Is this the same engine the Flipzi apps use?

Yes. It is the same index and the same model that serves the scanner in the iOS and Android apps, not a separate or staler pipeline. The demo on this page runs on it too, so what you see here is what you would ship.

How fast is a scan?

~1s for the recognition itself, plus however long your image takes to upload. Matching is exact rather than approximate — every card in the index is compared, and several candidate crops of your photo are scored — because on real photos that was worth far more than the milliseconds it costs. The demo above reports its own timing, so you can see the real figure rather than ours.

Do you keep the images I send?

Scans are archived to improve recognition, partitioned by which door they came through, so demo uploads, app captures and a paying customer's images stay separately identifiable and separately deletable. See the retention section of the API reference for the detail.

After a match: price the card with the TCG price API, price Japanese Pokémon cards, or see how card shops use scanning at intake.

Put a camera in front of a card.

Scanning comes with Data API Ultra and Mega. Choose a plan and manage your data and scanner keys in one dashboard.

Pokémon, One Piece, Yu-Gi-Oh!, Magic and 12 more games · 97.8% recall@1 on 45 English Pokémon photos · Confidence on every scan