Juan Bustos
← All lines

barras-ar

An open API and app to find the barcode and reference price of Argentine products. It started as a need inside Keltron and today it is public code.

Where it came from

The kiosks that use Keltron have hundreds of products, and loading them by scanning one by one takes hours. But a pack of cookies has the same barcode across the whole country.

The Argentine government publishes the prices reported by store chains every day, through the Precios Claros program. barras-ar takes that public data and turns it into a search tool: type "alfajor milka" and you get the product with its barcode and its price.

The integration with Keltron, to autocomplete products from the point of sale, is the next step.

Product page for an alfajor in the app: typical price 2,309 pesos, minimum 1,590, maximum 3,200 and its barcode
Product page, with real data from 11/11/2026.

The stations on this line

  1. Daily import

    GitHub Actions · TypeScript

    Every day it downloads the SEPA dataset from Precios Claros, opens the file of each store chain, validates the barcodes and builds one record per product.

  2. Catalog

    Supabase · PostgreSQL

    A single table, one row per barcode, with typical, minimum and maximum price at supermarkets and at wholesalers.

  3. Public API

    Vercel · OpenAPI

    Search by barcode or by text. Read-only, no key, and open to any origin.

  4. App

    Vite · TypeScript

    Scan or search a product and see its price at supermarkets or wholesalers, with its barcode ready to use.

The details that matter

Typical price, not the cheapest

Each product shows the median across the chains that report it, plus the minimum and maximum. A single sale price does not show what it really costs.

Supermarket and wholesale, separately

The wholesale price works as an approximate cost for a store that buys to resell, which is exactly the case of a kiosk.

Normalized barcodes

All barcodes are stored with 13 digits, and if you search the code of a box, you get the product inside and how many units it holds.

Search results for alfajor milka in the app, with the price and number of chains for each product
Search by text.