Suggestions

Get Suggestions

For example , Dave is looking for packaging_shapes that contain the term "fe", all packaging_shapes containing "fe" will be returned. This is useful if you have a search in your application, for a specific product field.

GET
/cgi/suggest.pl
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

Query Parameters

tagtypestring

Type of a tag / id of a tags taxonomy (e.g. categories, labels, ingredients, etc.)

term?string

Response Body

curl -X GET "https://world.openfoodfacts.net/cgi/suggest.pl?tagtype=additives&term=f"
[
  "string"
]