Question management
Get questions for a given product
Questions are sorted by priority: we want questions with highest impact to be displayed first. The order is the following:
- category
- label
- brand
- remaining types
Path Parameters
barcodeinteger
The barcode of the product
Query Parameters
count?integer
The number of questions to return
Default
1
Range
1 <= value
server_type?string
The server type (=project) to use, such as 'off' (Open Food Facts), 'obf' (Open Beauty Facts),...
Default
"off"
Value in
"off" | "obf" | "opff" | "opf" | "off_pro"
lang?string
The language of the question/value
Default
"en"
insight_types?string
Comma-separated list, filter by insight types
Response Body
curl -X GET "https://robotoff.openfoodfacts.org/api/v1/questions/5410041040807?count=1&server_type=off&lang=en&insight_types=brand%2Clabel"
{
"status": "no_questions",
"questions": [
{}
]
}