API use cases
Each page is a short program that calls the Barcodes.gg API, with the full code. The examples use the resale price API, which is on Standard Plus and higher plans.
Example builds
-
Build a sneaker price Discord bot
Build a sneaker price Discord bot: a /price command in discord.js that shows the lowest ask per marketplace for a style code. Full code, about 40 lines.
-
Build a sneaker price alert with a cron job
Build a sneaker price monitor: a Node.js script, run by cron, that posts to a webhook when the ask for a size drops below your target. Full code.
-
Add resale prices to inventory software by barcode
Add resale prices to inventory software: scan a sneaker barcode and get its style code, size and prices per marketplace in one API call. Code included.
The APIs behind them
-
Sneaker price API
StockX and Alias resale prices per size, by style code or by barcode.
-
Barcode lookup API
Send a UPC or EAN and get the product, its image and the size of that barcode.