Skip to content
Eden Engine

Grocery Barcode to Nutrition and Ingredients (v2 Route)

omnial/barcode-lookup

Given the EAN or UPC barcode of a packaged food (the v2 route), returns the product's record: name, brand, categories, pack quantity, ingredients text, allergens, countries where it is sold, Nutri-Score grade, Eco-Score grade, NOVA processing group, and energy (kcal) with fat, carbohydrates, sugars, protein and salt (grams), plus whether a record was found.

activeper callv2

Price

Up to $0.0811 per call; you pay what the call used

The price shown is the price you pay. No monthly minimum. Top-ups start at $5.

Data source

Open Food Facts and UPCitemdb

Data from Open Food Facts and UPCitemdb.

Use it

Five steps: search, inspect, learn, run, settle. No per-tool setup; your agent reaches this tool through the meta-tools it already has.

agent
// 1. search: find the tool
omnial_search({ query: "what you need" })

// 2. inspect: price and input schema
omnial_inspect({ tool: "omnial/barcode-lookup" })

// 3. learn: read the usage guide at runtime
omnial_learn({ tool: "omnial/barcode-lookup" })

// 4. run: price the exact call first, then run it
omnial_execute({ tool: "omnial/barcode-lookup", input: { /* see input_schema */ }, dry_run: true })
omnial_execute({ tool: "omnial/barcode-lookup", input: { /* ... */ } })

// 5. settle: the call is charged when it finishes, nothing to do

Not connected yet? Point your MCP client at https://mcp.eden-engine.com/mcp, then copy a config for your client.

Pricing

Every charge this tool can incur.

ChargePrice
Per call
$0.0811
Updated
Oct 14, 2026

Input and output schemas

Input schema
input_schema.json
{
  "type": "object",
  "required": [
    "barcode"
  ],
  "properties": {
    "barcode": {
      "type": "string",
      "description": "The product's EAN or UPC barcode, as the digits printed under the bars."
    }
  },
  "additionalProperties": false
}
Output schema
output_schema.json
{
  "type": "object",
  "properties": {
    "brand": {
      "type": "string"
    },
    "found": {
      "type": "boolean"
    },
    "barcode": {
      "type": "string"
    },
    "quantity": {
      "type": "string"
    },
    "allergens": {
      "type": "string"
    },
    "countries": {
      "type": "string"
    },
    "nutrition": {
      "type": "object",
      "properties": {
        "fat_g": {
          "type": "number"
        },
        "salt_g": {
          "type": "number"
        },
        "carbs_g": {
          "type": "number"
        },
        "sugar_g": {
          "type": "number"
        },
        "protein_g": {
          "type": "number"
        },
        "energy_kcal": {
          "type": "number"
        }
      }
    },
    "categories": {
      "type": "string"
    },
    "nova_group": {
      "type": "number"
    },
    "ingredients": {
      "type": "string"
    },
    "product_name": {
      "type": "string"
    },
    "ecoscore_grade": {
      "type": "string"
    },
    "nutriscore_grade": {
      "type": "string"
    }
  },
  "description": "The product record, as returned after shaping."
}