Search cards by name, set code or collector number
Three ways to find a card, combinable. At least one of q, set_code or
number is required; game and set_id refine a search but cannot start
one on their own (to list a whole set, use
/v1/catalog/sets/{set_id}/cards).
| you have | call |
|---|---|
| a name | ?q=charizard ex |
| the codes printed on the card | ?game=pokemon&set_code=OBF&number=125 |
| a number, within one set | ?game=pokemon&set_id=sv03&number=125 |
| a number, across a game | ?game=pokemon-jp&number=001 |
| a Chinese card's number | ?game=pokemon-zh&number=239 (matches 239/208) |
Text (q). The last word is prefix-matched, so it works as the user
types (chari matches Charizard). Multiple words are ANDed. Results are
ranked by relevance, then popularity. Very common words (the, a) are
ignored by the search index and may yield no results.
Set code (set_code). Case-insensitive, but requires game — set
codes are only unique within a game, and Japanese SM10 and English sm10
are different products distinguished by case alone. A code that matches no
set is a filter that matches nothing (total: 0), not an error.
Collector number (number). Matched against every padding the catalog
actually uses, so 1, 01 and 001 are equivalent, and a printed 125/197
is accepted (the set total is not stored). Hyphens are preserved — Yu-Gi-Oh!
numbers like LVAL-EN096 are whole values, not a code plus a number.
Without q, results come back in natural collector-number order rather than
by relevance. Rows omit variants — fetch /v1/cards/{card_id} for those.
An unknown set_id matches nothing rather than erroring.
ApiKeyAuthX-API-Key<token>Your Flipzi Data API key (e.g. fz_live_...), issued from the developer dashboard at flipzi.io/account.
q?stringSearch text. Minimum 2 characters. Optional if set_code or number
is supplied.
2 <= lengthset_code?stringThe set code printed on the card. Requires game.
For English Pokémon this is the 3-letter code (OBF for set sv03).
For every other game the printed code is the set_id itself, and both
forms are accepted — so pokemon-jp takes M5 or SV10, and MTG takes
its 3-letter code directly.
For Dragon Ball, Digimon and Gundam the code is the prefix of the
printed number (FB01 for FB01-001, BT1 for BT1-084). It matches
that code in every set that prints it, so release-event and promo
reprints come back alongside the booster card.
number?stringThe collector number printed on the card, with or without zero-padding
and with or without a /total suffix. 125, 0125 and 125/197 all
find the same card.
length <= 20game?stringRestrict to one game. Required when set_code is used.
With game=pokemon-jp, q is matched against the Japanese name. English
and romaji names are searchable too, via aliases: charizard and
lizardon both find リザードン. Roughly 19% of that catalog — trainers,
items and energy — has no English alias, so search those by set_code +
number. A query written in kana or kanji takes the lang=ja path, which
also matches a fragment from the middle of a name (ヌメルゴン finds
ヒスイ ヌメルゴンV).
set_id?stringRestrict to one set. Case-sensitive; pass it exactly as /v1/catalog/sets returned it.
lang?stringSearch by card language: return only cards that have sold on eBay
in this language, matched by their name in it or in English. The
card's language, not the marketplace's — an Italian card sold on
ebay.de counts for it. No fallback: a card with no sales in the
language is not returned (see other_languages).
Ranking: an exact name (localised or English) first, then names that start with every word of the query, then other matches; ties by popularity.
Omit lang for the classic search; a query in kana or kanji is
treated as lang=ja (as lang=zh when game=pokemon-zh).
"en""de""fr""it""es""ja""zh"currency?stringCurrency of the per-card sold price returned with lang (pro+).
Ignored otherwise.
"eur""eur""usd"page?integer1 <= value1page_size?integer1 <= value <= 200100include_printings?booleantrue returns Pokémon printing rows (Master Ball pattern, Pokémon Center
stamp, Shadowless...) as their own results. Default false: they are
folded under their base card, which carries printings_count. See
Printings and finishes.
falsePaginated search results, most relevant first. With lang (or a
kana/kanji query) each item is a CardSearchResult and the envelope
adds language, language_source and, when empty,
other_languages. Without it the response is exactly as before.
application/json- response
data?array<|>query?|The q that was searched, or null if none was given.
set_code?|The set_code filter applied, upper-cased, or null.
number?|The number filter applied, as supplied, or null.
page?integerpage_size?integertotal?integerlanguage?stringPresent only on a language search — the language answered for.
"en""de""fr""it""es""ja""zh"language_source?stringparam when lang was passed; inferred for a kana/kanji query without it.
"param""inferred"other_languages?Only on an EMPTY language search: how many cards the same query reaches in each other language. Zeros omitted.
curl -X GET "https://example.com/v1/cards/search" \ -H "X-API-Key: YOUR_API_KEY"{ "data": [ { "id": "226a777d-340c-439f-877d-9dd9a5a25065", "name": "Umbreon-GX", "game": "pokemon", "set": { "set_id": "sma", "name": "Yellow A Alternate" }, "number": "SV69", "rarity": "Common", "types": [ "Darkness" ], "release_year": null, "image_url": "https://images.flipzi.io/pokemon/226a777d-340c-439f-877d-9dd9a5a25065/original.webp", "slug": "umbreon-gx-yellow-a-alternate-69", "printing": null, "printing_label": null, "base_card_id": null, "finishes": [], "printings_count": 0 }, { "id": "e8c1a91f-f711-41fe-9792-3c51060fe11a", "name": "Umbreon EX", "game": "pokemon", "set": { "set_id": "xy10", "name": "Fates Collide" }, "number": "119", "rarity": "Ultra Rare", "types": [ "Darkness" ], "release_year": 2016, "image_url": "https://images.flipzi.io/pokemon/e8c1a91f-f711-41fe-9792-3c51060fe11a/original.webp", "slug": "umbreon-ex-fates-collide-119", "printing": null, "printing_label": null, "base_card_id": null, "finishes": [], "printings_count": 0 }, { "id": "a677e10e-1197-4ae7-b8fa-2117f84d1c9b", "name": "Umbreon VMAX", "game": "pokemon", "set": { "set_id": "swsh7", "name": "Evolving Skies" }, "number": "215", "rarity": "Secret Rare", "types": [ "Darkness" ], "release_year": 2021, "image_url": "https://images.flipzi.io/pokemon/a677e10e-1197-4ae7-b8fa-2117f84d1c9b/original.webp", "slug": "umbreon-vmax-evolving-skies-215", "printing": null, "printing_label": null, "base_card_id": null, "finishes": [], "printings_count": 0 } ], "query": "umbreon", "set_code": null, "number": null, "page": 1, "page_size": 3, "total": 51}Set valuation and movement GET
What a whole set is worth, how it moved, and what's driving it. **ultra only.** Costs 5 units. ## `game` is required Unlike `/v1/catalog/sets/{set_id}/cards`, this endpoint will not infer the game. Set ids are not unique across games, and some Japanese sets differ from an English set **only by letter case** — inferring would occasionally value the wrong set with no signal that it had. ## Read `coverage_pct` before quoting `total_cents` The total covers the cards that have a usable price, not necessarily the whole set. A set valued at 87% coverage is a different claim from one at 99%, and the field is there so you can say which. ## Movement is a like-for-like basket `movement.7d` / `movement.30d` compare the set's total value now against the same cards' total then — only cards priced at **both** points are counted, on both sides. It is deliberately not an average of the movers list, which contains only cards that moved more than 3% and would overstate the set. `cards_compared` and `coverage_pct` say how much of the set the figure rests on. Null when there is too little history. Changes at most once a day, so it is a strong `If-None-Match` candidate.
Cards whose price changed since a timestamp GET
The efficient way to keep a catalog in sync: poll this instead of re-pulling everything, and update only what moved. **pro/ultra.** One row per card+grade — not per market — so the `price_cents` here is the same figure `/v1/cards/{card_id}/price` returns for that card. ## Paging Follow `next_cursor` until `has_more` is false. The cursor is **opaque** — pass it back verbatim; do not parse or construct one. Paging is keyset- based, so it stays correct while prices are being written underneath you. ## Delivery is at-least-once A row rewritten while you page can appear twice. **Upsert by `(card_id, grade)`** rather than assuming each row is new. ## Staying caught up When there is nothing new the response is empty and carries an `ETag`. Send it as `If-None-Match` on the next poll to receive `304 Not Modified`. A poller running every minute is caught up almost always, so this is the normal case rather than an edge case. ## Limits `since` must be within the last **7 days**. To back-fill further, re-sync from `/v1/catalog/sets/{set_id}/cards`, which is cheaper for both sides than replaying a month of changes.