Check it fits first
Before writing any code, read Flipzi vs JustTCG. The short version of what to confirm:
- The games you use are in the Flipzi catalogue, with the prices you need for them.
- You can live with the known gaps below.
- You can resolve your card ids (see Card ids). This is the real cost of any migration.
Authentication
Flipzi uses one header on every request to https://data.flipzi.io/v1.
JustTCG uses x-api-key: tcg_… against https://api.justtcg.com/v1.
# before
x-api-key: tcg_…
# after
X-API-Key: fz_live_…
Keys are created in the developer account and sent from your server, never from a browser. The free plan needs a verified email and no card. Rotating a key keeps the old one valid for 24 hours, so you can deploy without downtime.
Endpoint mapping
| JustTCG | Flipzi | Notes |
|---|---|---|
GET /games |
GET /v1/catalog/games |
Same idea. Flipzi games use ids such as pokemon, pokemon-jp, mtg, yugioh, onepiece, lorcana. |
GET /sets |
GET /v1/catalog/sets?game= |
Flipzi set_id is case-sensitive and scoped to a game. |
GET /cards (search) |
GET /v1/cards/search |
Flipzi needs at least one of q, set_code or number. With set_code, game is required. |
POST /cards (batch) |
POST /v1/cards/bulk |
Flipzi takes card_ids (Flipzi UUIDs) plus currency and grade. Send ids you resolved first; unmatched ids come back in not_found. |
| See their docs | GET /v1/cards/{id}/price |
Price per card id. Their price lives on variants[]; Flipzi returns prices[] per grade plus finishes{}. |
The full Flipzi surface is in the reference and the
OpenAPI spec, from which you can generate a client in your language. Every response wraps its payload in data; errors are
{"error":{"code","message","request_id"}}.
Response fields
| JustTCG | Flipzi | Notes |
|---|---|---|
uuid |
id |
Both are UUIDs but are different identifiers; store a mapping, do not reuse. |
tcgplayerId |
(none) |
Flipzi does not return a TCGplayer id. Resolve by game + set_code + number, or try id_type=external&source=. |
variants[] |
prices[] and finishes{} |
Their variants are per condition and printing. Flipzi prices are per grade (RAW, PSA_10 …) with finish as a separate map. eBay sold prices support ?condition= on /sold; Cardmarket asking prices are also published by exact grade and language for Pokémon, Japanese Pokémon and One Piece. |
set / set_name |
set.set_id / set.name |
Different set codes between vendors are likely. Match on name + number if codes disagree. |
A Flipzi price object carries grade, price_cents (integer cents),
price_formatted, market, valuation_type, confidence,
updated_at and hours_ago. It is one market's quote chosen by priority, not an average; read
market and valuation_type instead of assuming a source. Currency is ?currency=eur|usd, default EUR.
Card ids
Flipzi card ids are UUIDs and are not the same as any other vendor's. Resolve each card once, store the Flipzi id next to yours, and call prices by id afterwards.
# by the codes printed on the card (game is required with set_code)
curl -H "X-API-Key: fz_live_..." \
"https://data.flipzi.io/v1/cards/search?game=pokemon&set_code=OBF&number=125"
# by an external id, where we hold it (coverage is partial; test your ids first)
curl -H "X-API-Key: fz_live_..." \
"https://data.flipzi.io/v1/cards/{external_id}?id_type=external&source=tcgcsv"
set_id is case-sensitive and scoped to a game (Japanese SM10 and English sm10 are different sets).
Collector numbers match across padding, so 1, 01 and 001 are equivalent. Responses carry no tcgplayer_id or cardmarket_id field.
Pagination and rate limits
- Lists and search page with
pageandpage_size(up to 200) and returntotal; stop whenpage × page_size ≥ total. - The change feed,
GET /v1/cards/updates(Pro and above), pages with an opaquenext_cursoruntilhas_moreis false.sincemust be within the last 7 days. - Two limits, both answered with 429 and
Retry-After:RATE_LIMITED(requests per minute, a sliding window) andQUOTA_EXCEEDED(monthly units). Refusals are not billed, but a refused request still counts towards the minute window, so wait forRetry-Afterinstead of retrying at once. - Read the headers
X-RateLimit-RemainingandX-Quota-Remainingon every response, andGET /v1/meta/usagefor the authoritative count. Quotas are monthly and reset on your billing date on a paid plan (otherwise at 00:00 UTC on the 1st), which differs from vendors that count per day. - Bulk instead of loops:
POST /v1/cards/bulkprices 25, 100, 500 or 750 ids a request, billed one unit per id; unmatched ids come back innot_found.
Missing data
Treat absence as absence. An unknown card id is 404; a known card with no qualifying quote returns an empty prices or sold list, and a grade, condition or language with no observations has no row. None of these is a price of zero, and none should inherit another grade's or printing's figure. On /printings, prices.unavailable says why. Cardmarket condition prices answer coverage as covered, no_offers, stale or not_covered. Show "no price" with the reason, and keep the timestamp (updated_at, as_of) beside every figure you display.
An adapter, in code
Keep the rest of your application unchanged by putting the vendor behind one function. A minimal JavaScript version with the retry rule above:
const BASE = 'https://data.flipzi.io/v1';
async function flipzi(path, init = {}) {
for (let attempt = 0; attempt < 3; attempt++) {
const res = await fetch(BASE + path, {
...init,
headers: { 'X-API-Key': process.env.FLIPZI_KEY, 'Content-Type': 'application/json', ...init.headers },
});
if (res.status === 429) { // RATE_LIMITED or QUOTA_EXCEEDED
const wait = Number(res.headers.get('Retry-After') || 1);
if (wait > 60) throw new Error('monthly quota exhausted');
await new Promise(r => setTimeout(r, wait * 1000));
continue;
}
if (res.status === 404) return null; // unknown id: not a zero price
if (!res.ok) throw new Error((await res.json()).error?.code ?? res.status);
return (await res.json()).data;
}
throw new Error('rate limited');
}
// your old getPrice(cardId) keeps its signature
export async function getPrice(flipziId, grade = 'RAW') {
const data = await flipzi(`/cards/${flipziId}/price?currency=eur&grade=${grade}`);
const p = data?.prices?.[0];
return p ? { cents: p.price_cents, market: p.market, asOf: p.updated_at } : null;
}
Your first request
Three steps, each checkable on its own. Step 1 needs no key.
# 1. the API is up (no key)
curl "https://data.flipzi.io/v1/meta/health"
# {"status":"ok","version":"v1","time":"..."}
# 2. find a card; the id is data[0].id
curl -H "X-API-Key: $FLIPZI_KEY" \
"https://data.flipzi.io/v1/cards/search?q=charizard%20ex&game=pokemon"
# 3. its current price: data.prices[0].price_cents and .market
curl -H "X-API-Key: $FLIPZI_KEY" \
"https://data.flipzi.io/v1/cards/{id}/price?currency=eur"
A response without a key returns 401 API_KEY_REQUIRED; a feature your plan lacks returns 403 PLAN_FEATURE_LOCKED with the plan that unlocks it,
and rejected requests cost no units. Check your remaining quota any time, free, at GET /v1/meta/usage.
No key yet? The playground runs the same calls against production with no signup.
Known gaps
What you may lose by moving, stated plainly:
- 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.
Also confirm against JustTCG: The v1 variant field-by-field schema, which upstream marketplaces its prices come from, and whether every card carries external ids.
Help and the switching offer
We will map your current calls for you. Email [email protected] with the endpoints you use and your rough request volume.
Try it before you decide
Try the calls above against production first, then pick a plan. Declare JustTCG as the API you are moving from at checkout to be eligible for the switching offer, if it is live.
Open the playground Compare all 13 APIs Switching? Migration guides
Sources and what we did not check
Every figure about JustTCG on this page was read from its own public pages on . We did not create an account with it, so we describe only what it publishes. Vendors change prices; confirm on their site before you decide.
- JustTCG pricing, read 25 October 2026
- JustTCG documentation, read 25 October 2026
- JustTCG cards v2, read 25 October 2026
- JustTCG graded (v2), read 25 October 2026
- JustTCG regions (v2), read 25 October 2026
- JustTCG identifiers, read 25 October 2026
- JustTCG terms, read 25 October 2026
Not checked: The v1 variant field-by-field schema, which upstream marketplaces its prices come from, and whether every card carries external ids.
Something wrong or out of date? Tell us and we will fix it.