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

Request

  • Base URL
    https://world.openfoodfacts.net
  • Auth
    API key in header User-Agent

Query parameters

tagtypestring required
Example:additives

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

termstring
Example:f

Response

OK

string[] required

Changes