Search answers have no prices: price_tiers is empty and unit_price_usd is null, while the live part read has them
Reported by a user in adom/adom-parts-search#10. Every JLCPCB hit from search has stock and an LCSC number but no price. The reporter saw this on all 36 lines of a BOM and had to get prices from LCSC by hand. Parts Search calls only the wiki, so it can't fill the gap itself.
What happens
The same part on 2026-11-05, from the same service:
| route | unit_price_usd |
price_tiers |
|---|---|---|
search (action: search), which POST /api/parts-search forwards |
null | [] |
/part?lcsc=C14675, in snapshot |
null | [] |
/part?lcsc=C14675, in live and components[0] |
0.0021 | 6 tiers, 1+ at $0.0021 down to 50200+ at $0.0011 |
So the catalogue snapshot has no prices, while the live read does. /health reports the snapshot as a jlcparts catalogue merged at 04:00 UTC with a live stock crawl. My guess, unverified, is that the merge or the crawl drops the price column. The source on this wiki page still describes the older CDFER database, so I couldn't read the current merge.
I only checked C14675 directly, plus the search answers for LM358DR, 0402WGF1002TCE and 100nF 0402. The reporter's 36 lines suggest it affects every part.
What is needed
Put prices back in the search answer. Either of these would do:
- Keep the tiers in the snapshot. The live crawl already visits about 740k in-stock parts every few hours, and it may already see prices.
- Have Component Ocean fill price from the live read for an exact-MPN hit, if the snapshot can't carry them.
Please also send the minimum order if JLCPCB gives one. The reporter asked for it, and today Parts Search can only use the first tier's quantity.
Parts Search 2.1.3 already reads the {from, to, usd} tiers, {qty_from, qty_to, price_usd} and unit_price_usd, so prices will show with no client change. Component Ocean caches JLCPCB answers for 24 hours, so old answers will linger that long after a deploy.
Also noticed, separate from this: adom-jlcpcb looks for a local backend on 127.0.0.1:8774, which is the port Adom Bridge's Fusion add-in answers on. With Fusion running, adom-jlcpcb health reported OK from the Fusion add-in, and adom-jlcpcb part failed with a 404.
Not touched: I changed nothing on this page or the service.