Food Nutrition & UPC Barcode Product API
Published by @mdforge
· Verified Publisher
99.98% uptime
~180ms avg
AI Score 94/100
Scan 3M+ UPC/EAN food barcodes via Open Food Facts (calories, macros, Nutri-Score, allergens) plus quick gram nutrition lookup.
Live Interactive Playground
https://api.indieapis.com/v1/food-nutrition-barcode/barcode
Calories, protein, carbs, fat, sugars, Nutri-Score, allergens & ingredients.
Live JSON Response
Click "Run Live Test" to query live data
{
"ok": true
}
Overview & Documentation
Scan 3M+ UPC/EAN food barcodes via Open Food Facts (calories, macros, Nutri-Score, allergens) plus quick gram nutrition lookup.
Zero-proxy production API with hard monthly spend caps ($0 surprise overages) and native Streamable HTTP MCP support.
Gateway Headers & Hard Caps
Every response includes X-Quota-Limit, X-Quota-Used, X-Quota-Remaining, and X-Quota-Reset.
When your monthly quota is reached, the gateway returns 429 QUOTA_EXCEEDED so you are never billed surprise overages.
Complete Endpoint Reference (3 Endpoints)
Base URL: https://api.indieapis.com/v1/food-nutrition-barcode · Scoped MCP: https://indieapis.com/mcp/food-nutrition-barcode
| Method | Path | Parameters | Description |
|---|---|---|---|
| GET | /barcode |
barcode*
|
Calories, protein, carbs, fat, sugars, Nutri-Score, allergens & ingredients. |
| GET | /search |
q*, limit
|
Search Open Food Facts catalog by product name or brand. |
| GET | /analyze |
food*, grams
|
Instant offline calories/protein/carbs/fat/fiber for staple foods by gram weight. |