Prediction management
Get predictions
Query Parameters
count?integer
The number of items to return
Default
25
Range
1 <= value
page?integer
Page index to return (starting at 1)
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"
barcode?string
Filter by barcode value
types?string
Comma-separated list, filter by prediction types
Response Body
curl -X GET "https://robotoff.openfoodfacts.org/api/v1/predictions?count=25&page=1&server_type=off&barcode=5410041040807&types=brand%2Clabel"
{
"status": "no_predictions",
"predictions": [
{}
],
"count": 0
}