FlipziDocs
API referenceCards

Flipzi card id for a pokemontcg.io id, a Cardmarket idProduct or a TCGplayer product id

GET
/v1/cards/lookup

Pass exactly one of pokemontcg_id, cardmarket_id or tcgplayer_id.

pokemontcg_id: translate a pokemontcg.io v2 card id (sv3-125, base1-4) into the Flipzi card_id, with the card. For code moving off pokemontcg.io, which is documented to go offline on 1 March 2027.

pokemontcg.io v2 card ids (sv3-125, base1-4), for code moving off pokemontcg.io, which is documented to go offline on 1 March 2027. English Pokémon only; matched case-insensitively. Storing the UUID is optional: every /v1/cards/{card_id} route and the bulk routes also take the pokemontcg.io id directly.

English Pokémon only; matched case-insensitively. A merged card answers with the surviving card's id.

cardmarket_id (1.21.0): the cards bound to a Cardmarket idProduct, as cards (one product can back more than one card row, such as a reprint twin or an oversized copy). These are the cards whose Cardmarket figures are read from that product. Any game with Cardmarket products.

tcgplayer_id (1.22.0): a TCGplayer product id, the number in tcgplayer.com/product/<id>, every game. The answer is the Flipzi card or printing whose TCGplayer price comes from that product. An id resolves only when TCGplayer's own record for the product agrees with the card on name and collector number, and on printing and set where TCGplayer lists look-alikes (an Alternate Art next to the regular card, a reprint in another set). An id that does not pass, or that no Flipzi card carries, is 404 CARD_NOT_FOUND. A Flipzi card is exactly as specific as its TCGplayer product: when TCGplayer lists two physical variants under one product, so does the card. Every /v1/cards/{card_id} route takes the same ids with ?id_type=external&source=tcgplayer.

Authorization

ApiKeyAuth
headerX-API-Key<token>

Your Flipzi Data API key (e.g. fz_live_...), issued from the developer dashboard at flipzi.io/account.

Query Parameters

pokemontcg_id?string

A pokemontcg.io card id, <set id>-<number>. Send exactly one of pokemontcg_id, cardmarket_id, tcgplayer_id.

cardmarket_id?integer

A Cardmarket idProduct (1.21.0). Send exactly one of pokemontcg_id, cardmarket_id, tcgplayer_id.

tcgplayer_id?string

A TCGplayer product id, digits only (tcgplayer.com/product/254761 → 254761) (1.22.0). Send exactly one of pokemontcg_id, cardmarket_id, tcgplayer_id.

Match^[1-9][0-9]{0,9}$

Response Body

The Flipzi card for this id.

application/json
  1. response
data?
curl -X GET "https://example.com/v1/cards/lookup" \  -H "X-API-Key: YOUR_API_KEY"
{  "data": {    "pokemontcg_id": "sv3-125",    "card_id": "0908653a-ce24-4d7e-811e-78c2935bd822",    "card": {      "id": "0908653a-ce24-4d7e-811e-78c2935bd822",      "name": "Charizard ex",      "game": "pokemon",      "set": {        "set_id": "sv03",        "name": "Obsidian Flames",        "code": "OBF"      },      "number": "125",      "rarity": "Double rare",      "types": [        "Darkness"      ],      "release_year": 2023,      "image_url": "https://images.flipzi.io/pokemon/0908653a-ce24-4d7e-811e-78c2935bd822/original.webp",      "slug": "charizard-ex-obsidian-flames-125",      "name_en": null,      "printing": null,      "printing_label": null,      "base_card_id": null,      "finishes": []    }  }}