Product attributes
Get List of Attribute Groups and Attributes
for an overview see Explanation on Product Attributes"
User-Agent<token>
Identification using the User-Agent header. This is recommended in all requests so that we can contact you if there are issues. If we cannot identify the source of problematic API queries, we may have to block them. User-Agent header in the format 'app_name/app_version (URL or contact info)'
In: header
Response Body
curl -X GET "https://world.openfoodfacts.org/api/v3.4/attribute_groups"{
"status": "success_with_errors",
"result": {
"id": "product_updated",
"name": "Product updated",
"lc_name": "Produit mis à jour"
},
"errors": [
{
"message": {
"id": "sugars_higher_than_carbohydrates",
"name": "Sugars higher than carbohydrates",
"lc_name": "Sucres plus élevés que les glucides",
"description": "Sugars (40g) are higher than carbohydrates (35g).",
"lc_description": "Les sucres (40g) sont plus élévés que les glucdes."
},
"field": {
"id": "nutriment.sugars",
"value": "40"
},
"impact": {
"id": "nutrients_not_updated",
"name": "Nutrients not updated",
"lc_name": "Nutriments non mis à jour",
"description": "The nutrients were not updated.",
"lc_description": "Les nutriments n'ont pas été mis à jour."
}
}
],
"attribute_groups": [
{
"id": "nutritional_quality",
"name": "Nutritional quality",
"warning": "There is always a possibility that data about allergens may be missing, incomplete, incorrect or that the product's composition has changed.",
"attributes": [
{
"id": "nutriscore",
"name": "Nutri-Score",
"icon_url": "http://static.openfoodfacts.org/images/attributes/dist/nutriscore-a.svg",
"setting_name": "Good nutritional quality (Nutri-Score)",
"setting_note": "The Nutri-Score is computed and can be taken into account for all products, even if it is not displayed on the packaging.",
"panel_id": "nutriscore",
"description": "Organic farming aims to protect the environment and to conserve biodiversity by prohibiting or limiting the use of synthetic fertilizers, pesticides and food additives.",
"description_short": "Organic products promote ecological sustainability and biodiversity.",
"default": "very_important",
"values": [
"not_important"
],
"parameters": [
{
"id": "attribute_unwanted_ingredients_tags",
"name": "Unwanted ingredients",
"tagtype": "ingredients",
"type": "tags"
}
]
}
]
}
]
}