Compare Products

starterLive data

Side-by-side nutrition and scores for 2–5 products, with the healthiest pick per nutrient.

GET/api/v1/food/compare

Data source

Query parameters

ParameterDescriptionTry value
codes
string required
Comma-separated barcodes
apikey
string required
Your API key. Can also be sent as the X-API-Key header.demo key used here

Response envelope

Success: { data, meta: { sources, fetchedAt, cached } }. Errors: { error: { code, message } } with HTTP 400, 401, 404, 502, 503 or 504.