Your price database was built from a TCGplayer CSV export, which only contains SKU ids (one per condition) — not the product ids needed to build image URLs.
This tool matches every card against TCGCSV's free product catalog to recover the real product id,
then writes a new prices.json with permanent image links baked in. It only needs to be run
once per price export.
prices.json back to be packaged into the next build.Your CSV export contains no Japanese cards, so JP searches fall back to the live API — which can only scan about 25 of the ~417 Japanese sets before hitting the serverless CPU budget. That is why Japanese lookups return so little.
This builds a complete local Japanese database straight from TCGCSV (prices, images and product ids), so JP searches become instant and cover every set.
Note: TCGCSV publishes one market price per printing rather than a full condition ladder, so Japanese prices are stored as Near Mint and other conditions fall back to it.
Prices go stale. Export a fresh pricing CSV from TCGplayer and drop it here — this rebuilds the condition ladder for every printing while keeping the product ids already recovered by the enrichment above, so you don't lose your card images.