Annotation management

Get logo annotations

Retrieve logo annotations with optional filters

GET
/annotation/collection

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

value_tag?string

Filter by value tag, i.e the value that is going to be sent to Product Opener

types?string

Comma-separated list of annotation types to filter by

Response Body

curl -X GET "https://robotoff.openfoodfacts.org/api/v1/annotation/collection?count=25&page=1&server_type=off&barcode=5410041040807&value_tag=string&types=brand%2Clabel"
{
  "status": "no_annotation",
  "annotation": [
    {}
  ],
  "count": 0
}