Skip to main content
Collaborative food product database providing nutrition facts, ingredients, allergens, and Nutri-Score ratings for products worldwide via barcode lookup. Best for nutrition analysis, dietary tracking, and food product comparison workflows. The open-source equivalent of proprietary nutrition databases — covers packaged food globally with community-verified data. 2 endpoints available through Lava’s AI Gateway. See the Open Food Facts API docs for full documentation.
This provider is managed — no additional setup required.

Endpoints

Look up product by barcode

GET https://world.openfoodfacts.org/api/v2/product/737628064502 — Free
const data = await lava.gateway('https://world.openfoodfacts.org/api/v2/product/737628064502', { method: 'GET' });

Search for food products

GET https://world.openfoodfacts.org/api/v2/search?categories_tags=breakfast-cereals&fields=product_name,nutriscore_grade — Free
const data = await lava.gateway('https://world.openfoodfacts.org/api/v2/search?categories_tags=breakfast-cereals&fields=product_name,nutriscore_grade', { method: 'GET' });

Next Steps

All Providers

Browse all supported AI providers

Forward Proxy

Learn how to construct proxy URLs and authenticate requests