The Autocomplete endpoint provides a list of the most popular ingredients and products in several languages, and can be used to add autocomplete functionality to your application.
The amount of data you will be getting in the product list
language-tag - the language and locale of the autocomplete list. E.g “en-us”.
|Language code||Locale code||Default Locale|
For English language tag could be:
en-us– US product names in English;
en-gb– GB product names in English;
en- same as en-gb.
file-type – this parameter allows you to control the amount of data you will be getting in the product list. Available options:
all– full data, all items with full content;
all-slim- all items are returned and the items do not include metadata information;
food- only food items, including metadata (check the response section for more information);
food-slim- only food items not including metadata.
Our CDN provides utilities to manage image size and format. You can find more information in our: Image Load Optimization documentation.
To reduce the amount of traffic for your application we recommend using these headers:
- Accept-Encoding: deflate, gzip - this will reduce the size of the response, consequently speeding up the request time.
- If-Modified-Since - this will download content only if it has been modified. More about it here: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/If-Modified-Since.
The canonical name of the product, identical for all languages
The name of the product in the selected language
The link to the product’s image
Indicates if the product name is
The product’s category
The product’s storing recommendation