GET /api/v2/product/{barcode}
openfoodfacts.org:open-food-facts-api
Summary: Get product by barcode
Operation ID: getProductByBarcode
Auth: unknown
Operation ID: getProductByBarcode
Auth: unknown
Description
Retrieve detailed information about a food product using its barcode (EAN/UPC code). Returns comprehensive product data including ingredients, nutrition facts, allergens, packaging, and more.
Parameters (2)
barcode
(string, path, required)
The product barcode (EAN-13 or UPC code)
fields
(string, query, optional)
Comma-separated list of fields to return. Use this to limit response size.
Examples (1)
| Title | Type | URL | Action |
|---|---|---|---|
| Get product by barcode | openapi-spec |
https://world.openfoodfacts.org/api/v2/product/3017620425035?fields=code,product_name,brands,nutrition_grades |
Probe History
Status Codes
| Time | Status | Latency | Size |
|---|---|---|---|
| 2026-03-23 10:13:36.084060 | 200 | 179ms |