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
A /price command in discord.js, about 40 lines: type a style code and the bot replies with the lowest ask on each marketplace.
-
Build a sneaker price alert with a cron job
A Node.js script for cron that posts to a webhook when the lowest ask for a size reaches your target price.
-
Add resale prices to inventory software by barcode
One API call that turns the barcode on a box into its style code, its size and the resale prices for that size.
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.