FlipziDocs
API referenceScanning (scan.flipzi.io)

Identify a card from a photo

Served by the Scanner API

This endpoint lives on scan.flipzi.io and takes your Scanner API key, not your Data API key. The Scanner API section covers image formats, confidence and quotas.
POST
/v1/recognize

Returns ranked catalogue matches for the card in the supplied image. Use a candidate's card_id with any card endpoint in this API.

Host and key: https://scan.flipzi.io, with a Scanner API key (fzs_live_…). Included with Ultra (100 scans a month) and Mega (75,000).

Consumes one scan only when recognition actually runs. Validation failures (422), auth failures (401/403) and rate-limit rejections (429) do not consume quota.

Authorization

ScannerKeyAuth
headerX-API-Key<token>

Your Flipzi Scanner API key (fzs_live_...), used only on https://scan.flipzi.io. Issued from the same dashboard as your Data API key (switch to the Scanner API, then API keys). Available on Ultra and Mega.

Request Body

  1. body
image*unknown

The card photo (JPEG, PNG or WebP). Max 12 MB.

hint_card_number?string

Collector number you already read, e.g. 76/198. Re-ranks only.

hint_set_code?string

Set code you already read, e.g. OBF. Re-ranks only.

top_n?integer

Candidates to return, up to 20.

Range1 <= value
category?string

The game to search. Japanese and Chinese cards reuse the English artwork, so name pokemon-jp or pokemon-zh when you scan those. Anything else returns 422.

Default"pokemon"
Value in"pokemon""pokemon-jp""pokemon-zh"

Response Body

Recognition completed. A successful response may still contain low-confidence candidates.

application/json
  1. response
data?
curl -X POST "https://scan.flipzi.io/v1/recognize" \  -H "X-API-Key: YOUR_SCANNER_API_KEY" \  -F "[email protected]"
{  "data": {    "candidates": [      {        "card_id": "0f8a3c62-1b4e-4e9f-9a11-2c7d5e6b8a90",        "name": "Rayquaza ex",        "set_id": "sv3pt5",        "set_code": "OBF",        "card_number": "76/198",        "rarity": "Double Rare",        "image_url": "http://example.com",        "category": "pokemon",        "score": 0.9474      }    ],    "confidence": "high",    "auto_accept": true,    "top_score": 0.9474,    "margin": 0.3195,    "match_path": "visual",    "index_version": "20260817T063440Z"  }}