Free plan

Barcode Lookup

Scan or type a barcode, get the product. Resolve any EAN-13 or UPC code to a food record — brand, category, Nutri-Score, and a nutrition summary — in a single request. Built for scanner-based apps.

200 OK
GET /v1/foods/barcode/5449000000996
curl -H "X-API-Key: food_•••" \
  "https://foodbase.dev/v1/foods/barcode/5449000000996"

{
  "name_default": "Coca-Cola",
  "brand": "Coca-Cola",
  "barcode": "5449000000996",
  "nutriscore": "e",
  "nutrition_summary": {
    "energy_kcal": 42,
    "sugars_g": 10.6,
    "proteins_g": 0,
    "fat_g": 0
  }
}

Prefer to click around? Try the product explorer or the photo playground.

What you get back

name_default / brand

Product name and brand for the scanned code.

name / lang

Full multilingual name set where the label carries several languages; add ?lang= (en, fr, es, de, it, bg) for localized category and allergen fields.

barcode

The normalized EAN-13 / UPC value.

nutriscore

Nutri-Score grade (a–e) when available.

nutrition_summary

Headline macros: energy, sugars, protein, fat.

image_url

Product image when available.

Included on the free plan — 100 requests/day, no credit card required. See plans →

Build with it

Barcode scanners

Turn a phone camera scan into instant product + nutrition data.

Pantry & grocery apps

Let users add items by scanning the package barcode.

Retail & checkout

Enrich a basket with food attributes keyed off the barcode.

Start building with the Barcode Lookup API

Free to start. No credit card required.

Get API key Go to Dashboard