91 days left.
The Pokémon TCG API is scheduled to go offline on
(counted from 30 November 2026, UTC).
Your stored pokemontcg.io card ids work on Flipzi as they are:
/v1/cards/sv3-125. How.
This guide is for code that already calls api.pokemontcg.io/v2 and
has to move. If you are still deciding where to move to, read
Pokémon TCG API alternatives
first. If you want the fewest code changes, the official successor is
Scrydex,
which says ids from the old API still work there. They work on Flipzi too. This page is for teams moving to Flipzi.
Most teams make that move because they need European and per-country prices.
What is changing, and when
- Status: Deprecated. New accounts can no longer be registered; API keys already issued by pokemontcg.io keep working through 1 March 2027. The documentation asks developers to migrate to Scrydex.
- Your deadline: your pokemontcg.io API key is documented to work through
.
The documentation does not say whether data keeps updating until then, so check the
updatedAton the price blocks you depend on. - The plan below needs the old API to be reachable during the shadow-read step, so start well before the cut-off.
Pokémon TCG API facts on this page were last verified on against each vendor's own pages, linked under Sources. Vendors change; check before you decide.
Check it fits before you start
Flipzi replaces the catalogue lookup and price parts of a pokemontcg.io integration. It does not replace the card-text parts. Decide before you write any code:
| You use pokemontcg.io for | On Flipzi |
|---|---|
| Card and set lookup, images | Yes. One image URL per card (WebP), not small and large. |
| TCGplayer and Cardmarket prices | Yes, as a separate call, with the market named on every figure. |
| Price history | From Basic: daily history (30 days on Basic, full from Pro). |
| HP, attacks, abilities, weaknesses, retreat cost, legalities, artist, flavour text, Pokédex numbers | No. Keep another source for card text. |
| Free, unauthenticated requests | No. Every call needs a key; the free plan is 500 units a month at 5 requests a minute, without commercial use. |
| Japanese, Chinese or other languages | Japanese and Chinese Pokémon are separate catalogues (pokemon-jp, pokemon-zh) with their own ids. |
Endpoint mapping
| pokemontcg.io v2 | Flipzi Data API v1 | Notes |
|---|---|---|
GET /v2/cards?q=… | GET /v1/cards/search | q is a name, not a query language. Add game=pokemon, and set_id or number to narrow it down. |
GET /v2/cards/:id | GET /v1/cards/{id} | Takes your pokemontcg.io id as it is (/v1/cards/sv3-125), or a Flipzi UUID. See card ids. |
GET /v2/sets | GET /v1/catalog/sets?game=pokemon | game is required; set_id is case-sensitive. |
GET /v2/cards?q=set.id:… | GET /v1/catalog/sets/{set_id}/cards?game=pokemon | A whole set in collector-number order. |
card.tcgplayer.prices, card.cardmarket.prices | GET /v1/cards/{id}/price | One quote per grade, chosen by market priority, with market naming the source. Many cards: POST /v1/cards/bulk (Basic and above). |
cardmarket.prices.avg7 / avg30 / trendPrice | GET /v1/cards/{id}/history; on Ultra, cardmarket_guide on /price | History is a daily series. cardmarket_guide carries trend, 7- and 30-day averages and low for English Pokémon. |
GET /v2/types, /subtypes, /supertypes, /rarities | None | Types and rarity are fields on each card; there are no list endpoints for them. |
| None | GET /v1/cards/{id}/sold, /marketplaces, /sales, /cardmarket | New: eBay completed sales and Cardmarket asking prices by condition. See adding Cardmarket and eBay prices. |
Authentication and limits
| pokemontcg.io | Flipzi | |
|---|---|---|
| Base URL | https://api.pokemontcg.io/v2 | https://data.flipzi.io/v1 |
| Header | X-Api-Key | X-API-Key: fz_live_… (HTTP headers are case-insensitive; the key is what changes) |
| Without a key | Allowed at lower limits | 401 API_KEY_REQUIRED on everything except /v1/meta/health |
| Limits | 20,000 requests a day with a key; 1,000 a day and 30 a minute without one. | Monthly units plus a per-minute rate, by plan: Basic €19.99/month · Pro €49.99/month · Ultra €99.00/month · Mega €249.00/month. Free: 500 units a month at 5 requests a minute. Shared by every key on the account. |
| Cost per call | One request | Search, card and price: 1 unit each. Bulk: 1 unit per id. Errors are never billed. |
| Usage | Not documented | GET /v1/meta/usage (free, works at the cap) and X-Quota-* headers |
Details: authentication, rate limits, billing units and plans.
Keep your card ids
A pokemontcg.io id is the set id, a hyphen and the collector number:
sv3-125. You do not have to translate it. Wherever the Flipzi Data
API takes a card id, it also takes a pokemontcg.io id:
GET /v1/cards/sv3-125, and every route under it:/price,/history,/printings,/sold,/cardmarketand the rest.POST /v1/cards/bulk(and/bulk/analytics,/bulk/cardmarket): put them incard_ids, mixed with UUIDs if you like. A row you asked for by a pokemontcg.io id carriesrequested_id, so you can match results to your input.GET /v1/cards/lookup?pokemontcg_id=sv3-125returns the Flipzicard_idand the card, if you would rather store the UUID next to the old id.
The same card, before and after:
# Before: the Pokémon TCG API, by its card id (prices arrive inside the card)
curl -H "X-Api-Key: $POKEMONTCG_API_KEY" \
"https://api.pokemontcg.io/v2/cards/sv3-125"
# After: the same card id on Flipzi. The host, /v1 and the key change; the id does not.
curl -H "X-API-Key: $FLIPZI_API_KEY" \
"https://data.flipzi.io/v1/cards/sv3-125"
# Its price is one more call (1 unit), with the same id
curl -H "X-API-Key: $FLIPZI_API_KEY" \
"https://data.flipzi.io/v1/cards/sv3-125/price?currency=usd"
99.2% of the
20,635 card ids in pokemontcg.io's own
published card files resolve to a Flipzi card. We matched every one on
28 October 2026 by set, collector number and name, never by
number alone. Of the rest, 145 have no
Flipzi card yet (mostly "a" alternate prints, the 30th Celebration Classic Collection
and the newest sets) and 13 match a card
our catalogue holds twice. Those return 404 CARD_NOT_FOUND rather than a
guess, and sit in not_found in a bulk response.
- The response id is a Flipzi UUID, for example
0908653a-ce24-4d7e-811e-78c2935bd822forsv3-125. Both keep working; store whichever suits you. - English Pokémon only. Ids are matched case-insensitively, and
bulk responses echo them in lower case. Percent-encode the two ids with
?or!in them (ex10-%3F). - One id, the base card. pokemontcg.io has one id for
base1-4; Flipzi also has the Shadowless and 1st Edition printings as their own cards. The pokemontcg.io id names the base card, and/printingslists the others.
You need set ids only to search or list a set. We compared pokemontcg.io's
published set list with Flipzi's Pokémon sets on 22 October 2026:
122 of 176
set ids are spelled identically (Base Set is base1 on both). Most of the rest are
newer sets with a different spelling:
| pokemontcg.io set id | Flipzi set_id | Notes |
|---|---|---|
sv1 … sv9 | sv01 … sv09 | Zero-padded set ids. Numbers are padded too (025); the number search accepts 25. |
sv3pt5, sv4pt5, sv6pt5, sv8pt5 | sv03.5, sv04.5, sv06.5, sv08.5 | "pt5" becomes ".5" with padding. |
zsv10pt5 / rsv10pt5 | sv10.5b / sv10.5w | Black Bolt and White Flare. |
me1, me2, me2pt5 | me01, me02, me02.5 | Padded. |
me3, me4, me5, me55 | perfect-order, chaos-rising, pitch-black, 30th-celebration | Newer sets use name slugs. |
sm35, sm75, swsh35, swsh45 | sm3.5, sm7.5, swsh3.5, swsh4.5 | Decimal point instead of run-together digits. |
swsh12pt5, pgo | swsh12.5, swsh10.5 | Crown Zenith and Pokémon GO. |
swsh9tg … swsh12tg, swsh12pt5gg, swsh45sv | the parent set | Trainer Gallery, Galarian Gallery and Shiny Vault cards sit in their parent set with their printed numbers (TG01, GG44, SV107). |
cel25c | cel25 | Classic Collection cards sit in Celebrations with a suffixed number (4A for Charizard), so match by name. |
base6, bp, hsp, fut20 | lc, bog, hgssp, fut2020 | Legendary Collection, Best of Game, HGSS promos, Futsal. |
mcd11 … mcd22, tk1a … tk2b | not mapped one-to-one | McDonald's collections and trainer kits are split differently; resolve these by name and number. |
To search by set and number, use set_id and number:
/v1/cards/search?game=pokemon&set_id=sv03.5&number=25 finds card
025, because the number match ignores zero-padding.
The search language is different too. Field queries such as
name:char* -types:water, select and orderBy
have no equivalent. q is a plain name with the last word
prefix-matched (char finds Charizard). See
finding a card.
Pagination and response shape
| pokemontcg.io | Flipzi | |
|---|---|---|
| Envelope | data | data |
| Page size | pageSize, default and max 250 | page_size, default 100, max 200 |
| Totals | page, pageSize, count, totalCount | page, page_size, total beside data; no count (use data.length) |
| Field case | camelCase | snake_case |
| Money | Decimal dollars or euros | Integer cents (price_cents) plus price_formatted, currency chosen with ?currency=eur|usd |
| Errors | HTTP status | {"error": {"code", "message", "details", "request_id"}}; plan limits return 403 PLAN_FEATURE_LOCKED with the plan that unlocks it |
Card fields, one by one
Every field of the pokemontcg.io v2 card object, and where it is on Flipzi. The Flipzi side is what the API actually returns. It was read from the code that builds the response, not from documentation.
| pokemontcg.io card | Flipzi | Returned by |
|---|---|---|
id | id (a UUID). Your pokemontcg.io id still works in requests; it is not echoed on the card. | detail, search, set cards |
name | name | every card object |
supertype, subtypes | No equivalent | |
level, hp | No equivalent | |
types | types (energy types; can be null) | every card object |
evolvesFrom, evolvesTo | No equivalent | |
rules, ancientTrait, abilities, attacks | No equivalent (card text) | |
weaknesses, resistances, retreatCost, convertedRetreatCost | No equivalent | |
set.id | set.set_id (spelling can differ: sv03, see set ids) | every card object |
set.name | set.name | every card object |
set.ptcgoCode | set.code (the printed code; can be null) | every card object |
set.releaseDate | release_year (year only; can be null). Set dates: GET /v1/catalog/sets | every card object |
set.series, set.printedTotal, set.total, set.legalities, set.images | No equivalent on the card | |
number | number (zero-padded in recent sets: 025) | every card object |
artist, flavorText, nationalPokedexNumbers | No equivalent | |
rarity | rarity | every card object |
legalities, regulationMark | No equivalent | |
images.small, images.large | image_url (one WebP image) | every card object |
tcgplayer.url, cardmarket.url | No equivalent | |
tcgplayer.prices, cardmarket.prices | prices[] and finishes; see prices | /price |
tcgplayer.updatedAt, cardmarket.updatedAt | updated_at and hours_ago on each price | /price |
| None | game, slug, name_en (English name of a Japanese or Chinese card), printing, printing_label, base_card_id, finishes | every card object |
| None | variants[]: variant_id, edition, finish, grade | /v1/cards/{id} only |
Everything marked "no equivalent" is card text or gameplay data. If your app shows it, keep a source for it; Flipzi is a catalogue and price API.
Where the prices went
pokemontcg.io put two price blocks inside every card. Flipzi has a price
endpoint that returns one quote per grade and tells you which market it
came from. For ungraded cards, TCGplayer's market price is the first choice when you
ask for currency=usd, and Cardmarket is first for eur.
That is a design difference, not a missing feature. If your UI shows
"TCGplayer market" and "Cardmarket trend" side by side, read
market and plan for the per-market breakdown.
| pokemontcg.io field | Flipzi | Plan |
|---|---|---|
tcgplayer.prices.holofoil.market (or normal) | prices[] where grade is RAW: price_cents, market, confidence, updated_at | Every plan |
tcgplayer.prices.reverseHolofoil, 1stEditionHolofoil | finishes.reverse_holo, finishes.first_edition on /price | Every plan |
low, mid, high, directLow | No equivalent | |
| Both markets' own figures | markets[] on /price, winner first | Ultra |
cardmarket.prices.trendPrice, avg7, avg30, lowPrice | cardmarket_guide: trend_cents, avg7_cents, avg30_cents, low_cents | Ultra |
avg1, averageSellPrice, germanProLow, suggestedPrice | No equivalent | |
tcgplayer.updatedAt, cardmarket.updatedAt | updated_at and hours_ago on every price | Every plan |
| None | Graded prices (?grade=PSA_10), eBay sold comps, Cardmarket asking prices by condition and language | Pro / Ultra |
How the quote is chosen is documented in which market a price came from and how prices are produced.
JavaScript and Python
An adapter that prices a card by its pokemontcg.io id, looks up the Flipzi id when you want to store it, and pages through a set. It is the same code in both languages, and it is tested against captured API responses whenever this page changes.
// migrate.mjs (Node 18+, built-in fetch). Run: FLIPZI_API_KEY=fz_live_... node migrate.mjs
const BASE = process.env.FLIPZI_BASE ?? "https://data.flipzi.io/v1";
async function flipzi(path, params = {}) {
const url = new URL(BASE + path);
for (const [k, v] of Object.entries(params)) url.searchParams.set(k, String(v));
const res = await fetch(url, { headers: { "X-API-Key": process.env.FLIPZI_API_KEY } });
const body = await res.json();
if (!res.ok) {
const err = new Error(`${res.status} ${body.error?.code}: ${body.error?.message}`);
err.code = body.error?.code;
throw err;
}
return body;
}
// Your stored pokemontcg.io ids work as they are: "sv3-125" goes wherever a
// Flipzi card id goes. lookup() is for code that also wants to keep the
// Flipzi UUID; null means the card is not in the catalogue (review it by hand).
export async function lookup(ptcgId) {
try {
const { data } = await flipzi("/cards/lookup", { pokemontcg_id: ptcgId });
return data; // { pokemontcg_id, card_id, card }
} catch (err) {
if (err.code === "CARD_NOT_FOUND") return null;
throw err;
}
}
// What your code used to read from card.tcgplayer.prices / card.cardmarket.prices.
// cardId is a Flipzi UUID or a pokemontcg.io id.
export async function rawPrice(cardId, currency = "usd") {
const { data } = await flipzi(`/cards/${cardId}/price`, { currency });
const raw = data.prices.find((p) => p.grade === "RAW");
if (!raw) return null;
return {
cents: raw.price_cents, // integer, in `currency`
market: raw.market, // which market quoted it: "tcgplayer", "cardmarket", ...
reliable: raw.confidence.is_reliable,
updatedAt: raw.updated_at,
otherFinishes: data.finishes, // { reverse_holo: {...} } or [] when there are none
};
}
// Every card in one set, page by page (pokemontcg.io: page, pageSize, totalCount).
export async function* setCards(setId) {
for (let page = 1; ; page++) {
const body = await flipzi(`/catalog/sets/${setId}/cards`, { game: "pokemon", page, page_size: 200 });
yield* body.data;
if (page * body.page_size >= body.total) return;
}
}
const match = await lookup("base1-4");
console.log(match ? match.card_id : "needs review", await rawPrice("base1-4"));
# migrate.py (Python 3.9+, pip install requests). Run: FLIPZI_API_KEY=fz_live_... python migrate.py
import os
import requests
BASE = os.environ.get("FLIPZI_BASE", "https://data.flipzi.io/v1")
session = requests.Session()
# Send your own User-Agent: the edge refuses Python's default urllib one.
session.headers.update({"X-API-Key": os.environ["FLIPZI_API_KEY"], "User-Agent": "my-app/1.0"})
def flipzi(path, **params):
res = session.get(BASE + path, params=params, timeout=15)
body = res.json()
if not res.ok:
err = body.get("error", {})
raise RuntimeError(f"{res.status_code} {err.get('code')}: {err.get('message')}")
return body
def lookup(ptcg_id):
"""'base1-4' -> {pokemontcg_id, card_id, card}, or None when the card is not in the catalogue.
Only needed to store Flipzi UUIDs: a pokemontcg.io id works wherever a card id goes.
"""
res = session.get(BASE + "/cards/lookup", params={"pokemontcg_id": ptcg_id}, timeout=15)
if res.status_code == 404:
return None
body = res.json()
if not res.ok:
err = body.get("error", {})
raise RuntimeError(f"{res.status_code} {err.get('code')}: {err.get('message')}")
return body["data"]
def raw_price(card_id, currency="usd"):
"""card_id is a Flipzi UUID or a pokemontcg.io id."""
data = flipzi(f"/cards/{card_id}/price", currency=currency)["data"]
raw = next((p for p in data["prices"] if p["grade"] == "RAW"), None)
if raw is None:
return None
return {
"cents": raw["price_cents"],
"market": raw["market"],
"reliable": raw["confidence"]["is_reliable"],
"updated_at": raw["updated_at"],
"other_finishes": data.get("finishes") or {},
}
def set_cards(set_id):
"""Every card in one set, page by page."""
page = 1
while True:
body = flipzi(f"/catalog/sets/{set_id}/cards", game="pokemon", page=page, page_size=200)
yield from body["data"]
if page * body["page_size"] >= body["total"]:
return
page += 1
match = lookup("base1-4")
print(match["card_id"] if match else "needs review", raw_price("base1-4"))
Try the search and price calls in the playground first. They run against production data with no key.
A staged migration
- Inventory. List every call your code makes and every field it reads. Mark the card-text fields; they need another source.
- Check ids. Call
/v1/cards/lookupfor every pokemontcg.io id you store (1 unit each, free plan or above), and keep the returnedcard_idbeside the old id if you want it. Review the404s by hand. - Adapter. Put one module between your app and both APIs that
returns your own shape:
{id, name, set, number, image, price}. Nothing else in the codebase should know which API answered. - Shadow reads. Keep serving from pokemontcg.io and call Flipzi
in the background for a sample of cards. Log both prices, the
marketFlipzi used and the ratio. Expect differences: the two APIs choose and refresh prices differently. - Flag cut-over. Serve from Flipzi behind a feature flag, a small share of traffic first, then all of it.
- Retire. Remove the old client once the flag has been fully on for a release, and long before 1 March 2027.
Testing and rollback
Before the cut-over
- Every stored pokemontcg.io id answers
200from/v1/cards/lookup, or its404sits in the review queue. - Spot-check 50 resolved cards by image: Trainer Gallery, Shiny Vault, Classic Collection and promo sets are where mismatches hide.
- Prices: compare shadow-read ratios per set and look into outliers. A large gap usually means a different market was chosen or a different printing was matched.
- Errors: handle
401,403 PLAN_FEATURE_LOCKED,404 CARD_NOT_FOUND,422 INVALID_INPUTand429(readRetry-After). See errors. - Quota: replay one day of traffic against the shadow path and read
/v1/meta/usage; size the plan from that, not from request counts on the old API. - Currency:
price_centsis an integer in the currency you asked for. Divide by 100 once, in the adapter.
Rollback
- Keep the pokemontcg.io client and its key working until the flag has been fully on for a full release cycle.
- Rollback is turning the flag off, nothing else. That only holds if your stored data still carries the old ids, so add the Flipzi id as a column; do not replace the old one.
- After 1 March 2027 there is no old API to roll back to. Rehearse a rollback before that date, not after.
What does not map
Things that look like the same feature but are not:
- One quote, not two blocks.
/pricereturns the winning market per grade. Both markets side by side need Ultra (markets[]). - TCGplayer low/mid/high/directLow have no equivalent, and nor do Cardmarket
avg1,averageSellPrice,germanProLoworsuggestedPrice. - Price history is not the same as trend fields.
avg7andavg30were Cardmarket's own averages; Flipzi history is a daily series of the selected quote, and Cardmarket's guide figures are on Ultra only. - Printings are separate ids. A Master Ball pattern or a stamped promo is its own Flipzi card with
base_card_idpointing at the base card. pokemontcg.io usually had one id for both. - Subsets fold into their parent set when you search or list a set. The id still works as it is; only
set.set_iddiffers:swsh9tg-TG01isswsh9numberTG01, andcel25c-4_Aiscel25number4A. - Non-English cards are separate catalogues with separate ids, not a language field on one card.
- No card text, no legalities, no query language, no
select. - Different update cadence. Every Flipzi price carries
updated_atandhours_ago; do not assume a fixed refresh time.
What Flipzi does not have
- Sealed-product search and current prices are available through GET /v1/sealed. Historical comparisons cover selected booster boxes. The general sealed catalogue has no per-product price-history endpoint.
- No GraphQL. It is a REST API with an OpenAPI 3.0 spec, official SDKs for TypeScript/JavaScript and Python (flipzi on npm and PyPI), and a local, open-source MCP server (@flipzitcg/mcp, npm) for AI assistants.
- No webhooks. Change feeds are polled with GET /v1/cards/updates.
- No grading population reports.
- Card ids are Flipzi UUIDs. The one other vendor's id accepted as it is is a pokemontcg.io id for English Pokémon (sv3-125); anything else works only through id_type=external&source=, with partial coverage. Responses carry no tcgplayer_id or cardmarket_id field. For other vendors, plan on matching by game + set code + collector number.
- The free plan is 500 units a month at 5 requests a minute, reaching every endpoint up to Ultra: current prices, price history, analytics, graded prices and eBay sold comps within the allowance, and 5 calls a month to each Ultra endpoint (sales by marketplace, Cardmarket prices by condition, market movers and set analytics), with no commercial-use grant.
- Pokémon (Japanese) current prices are Cardmarket asking prices in EUR, ungraded; its graded values come from eBay sold comps. Pokémon (Chinese) has eBay sold comps only. Cyberpunk is catalogue-only. Scanning covers Pokémon, One Piece, Yu-Gi-Oh!, Magic and 12 more games.
Sources
Read on . We did not sign up to any other vendor; we describe only what each one publishes. Flipzi's side is checked against our OpenAPI spec.
Pokémon TCG API
- Pokémon TCG API documentation (deprecation notice)
- Authentication
- Rate limits
- Search cards
- The card object
- pokemontcg.io home page
- pokemon-tcg-data (the published set and card files)
Scrydex (successor)
Flipzi
Not stated by the vendor, so not described here:
- Its terms of service page returned a 404 when we checked, so its licensing and attribution terms are not described here.
- Whether data stops updating before the key cut-off is not stated.
Something out of date? Tell us and we will correct it.
Try it before you decide
Search and price calls from this guide run in the playground against production data, with no signup and no key.
Open the playground Compare all 13 APIs Switching? Migration guides