Developer releases open-source CeX UK price tool after bug inflated £30 case value to £136
A developer building an eBay pricing tool discovered a bug that incorrectly attributed a £136 CeX cash offer — meant for a Raspberry Pi 500+ — to a £30 Argon ONE Pi case. The error stemmed from CeX's Algolia-powered search returning fuzzy, mismatched results rather than exact product matches. To address this, the developer built and published a standalone Python library called cex-uk-prices on GitHub under an MIT licence, which scores search results for relevance and discards weak matches below a 0.6 threshold. The tool queries CeX's Algolia index directly, since the main website returns 403 errors to server-side requests, and retrieves sell prices, cash and voucher trade-in values, and stock availability. The developer cautions that the library relies on an unofficial endpoint that may break if CeX updates its front end.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)
Log in to join the discussion and vote.
Log in