Image management

Get images

Retrieve images with optional filters

GET
/images

Query Parameters

count?integer

The number of items to return

Default25
Range1 <= value
page?integer

Page index to return (starting at 1)

Default1
Range1 <= 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?integer

Filter by barcode value

with_predictions?boolean

Filter images that have predictions

Defaultfalse

Response Body

curl -X GET "https://robotoff.openfoodfacts.org/api/v1/images?count=25&page=1&server_type=off&barcode=5410041040807&with_predictions=false"
{
  "status": "no_images",
  "images": [
    {}
  ],
  "count": 0
}