Sign in | Sign up

Filter by Nutritional Info

Tagged:

Currently contains 3 posts

Avatar

March 30, 2015 03:28

ruger747

In version 1 of the api, it is possible to filter results by the amount of calories. Is it possible to filter by other nutritional entities? For example, if a user is interested in food items with greater than 5g of protein or less than 6g of fat. A previous thread discussed including the a filter in the payload, but the example only covers how to filter based on restaurant type.

Avatar

October 09, 2015 04:50

Sahilb

bump

Avatar

October 09, 2015 14:48

Matt Silverman

Please see the “range filters” section here:
https://developer.nutritionix.com/docs/v1_1

You can see a list of nutrition fields here:
https://docs.google.com/spreadsheets/d/1jZSa039OfpQOiRzaS980nPKCvVe2TRKRPZk7ZbaH7kE/edit#gid=0

Reply to thread