Nutrients
Get Nutrients List
Changed onUsed to display the nutrition facts table of a product, or to display a form to input those nutrition facts.
get/cgi/nutrients.pl
Request
- Base URLhttps://world.openfoodfacts.net
- AuthAPI key in header User-Agent
Query parameters
ccstring
Example:us
2 letter code of the country of the user. Used for localizing some fields in returned values (e.g. knowledge panels). If not passed, the country may be inferred by the IP address of the request.
lcstring
Example:fr
2 letter code of the language of the user. Used for localizing some fields in returned values (e.g. knowledge panels). If not passed, the language may be inferred by the domain name prefix.
Response
OK
Changes
- info
added the new optional
queryrequest parametercc - info
added the new optional
queryrequest parameterlc
- info
- warning
deleted the
queryrequest parametercc
1 more change in this revision
- warning