Top Brands

GEThttps://api-barcode-lookup.dataandapis.com/v1/brands

Top Brands is an endpoint of the Barcode Lookup API. Product name, brand, ingredients and Nutri-Score for 4.3 million barcodes.

Send your key in the X-Api-Key header. Each call costs 1 token; a free key includes 500 tokens a month.

Request

Query parameters

ParameterExample
datasetfoodOptional

Example request

curl
curl "https://api-barcode-lookup.dataandapis.com/v1/brands?dataset=food" \
  -H "X-Api-Key: YOUR_API_KEY"
Node.js
const res = await fetch("https://api-barcode-lookup.dataandapis.com/v1/brands?dataset=food", {
  headers: { "X-Api-Key": process.env.DATAANDAPIS_KEY },
});
const data = await res.json();
Python
import os, requests

r = requests.get(
    "https://api-barcode-lookup.dataandapis.com/v1/brands?dataset=food",
    headers={"X-Api-Key": os.environ["DATAANDAPIS_KEY"]},
)
data = r.json()

Example response

Example response
{
  "ok": true,
  "count": 8,
  "brands": [
    {
      "brand": "Carrefour",
      "products": 27509
    },
    {
      "brand": "Auchan",
      "products": 18104
    },
    {
      "brand": "Coop",
      "products": 13934
    },
    {
      "brand": "Lidl",
      "products": 13689
    },
    {
      "brand": "Aldi",
      "products": 11700
    },
    {
      "brand": "Hacendado",
      "products": 10337
    },
…
Show full response
{
  "ok": true,
  "count": 8,
  "brands": [
    {
      "brand": "Carrefour",
      "products": 27509
    },
    {
      "brand": "Auchan",
      "products": 18104
    },
    {
      "brand": "Coop",
      "products": 13934
    },
    {
      "brand": "Lidl",
      "products": 13689
    },
    {
      "brand": "Aldi",
      "products": 11700
    },
    {
      "brand": "Hacendado",
      "products": 10337
    },
    {
      "brand": "Tesco",
      "products": 10225
    },
    {
      "brand": "Delhaize",
      "products": 9742
    }
  ]
}