Search Grocery Products
GET {{baseUrl}}/food/products/search?query=burger&minCalories=50&maxCalories=800&minCarbs=10&maxCarbs=100&minProtein=10&maxProtein=100&minFat=1&maxFat=100&addProductInformation=true&offset=394&number=10
Search packaged food products, such as frozen pizza or Greek yogurt.
Request Params
| Key | Datatype | Required | Description | 
|---|---|---|---|
| query | string | The (natural language) search query. | |
| minCalories | number | The minimum amount of calories the product must have. | |
| maxCalories | number | The maximum amount of calories the product can have. | |
| minCarbs | number | The minimum amount of carbohydrates in grams the product must have. | |
| maxCarbs | number | The maximum amount of carbohydrates in grams the product can have. | |
| minProtein | number | The minimum amount of protein in grams the product must have. | |
| maxProtein | number | The maximum amount of protein in grams the product can have. | |
| minFat | number | The minimum amount of fat in grams the product must have. | |
| maxFat | number | The maximum amount of fat in grams the product can have. | |
| addProductInformation | boolean | If set to true, you get more information about the products returned. | |
| offset | number | The number of results to skip (between 0 and 900). | |
| number | number | The maximum number of items to return (between 1 and 100). Defaults to 10. | 
RESPONSES
status: OK
{"products":[{"id":192386,"title":"Pizza Buddy: Frozen Pizza Dough, 16 Oz","imageType":"jpg"},{"id":27693,"title":"Uno Pizza","imageType":"jpg"}],"totalProducts":1258,"type":"product","offset":0,"number":2}