Parameters
Common fatsecret Platform REST API request and response parameters.
For further information, please refer to the individual endpoint documentation.
Unique Identifiers
| eaten_foods.food_id |
Long |
The ID of the food that has been previously consumed |
| exercise_id |
Long |
Unique exercise identifier |
| feedback.external_id |
String |
Custom identifier for external use. E.g an external unique user identifier |
| feedback.issue_type_id |
Int |
The type ID for the request. Valid options are 1 (Wrong Name/Brand), 2 (Wrong Nutrition Info), 3 (Missing Serving Size), 4 (Barcode not found), 99 (Other) |
| feedback.returned_food.food_id |
Int |
A food ID that is related to the issue (i.e. barcode incorrect food attached). Required when issue_type_id is 1, 2 or 3 |
| feedback.returned_food.serving_id |
Int |
A foods serving ID that is related to the issue (i.e. incorrect nutrient information). Required when issue_type_id is 2 or 3 |
| food_category_id |
Long |
Unique identifier of the food category entry |
| food_entry_id |
Long |
Unique identifier of the food diary entry |
| food_id |
Long |
Unique food identifier |
| recipe_id |
Long |
Unique recipe identifier |
| saved_meal_id |
Long |
Unique saved meal identifier |
| saved_meal_item_id |
Long |
Unique saved meal item identifier |
| serving_id |
Long |
Unique serving identifier |
| shift_from_id |
Long |
ID of the exercise type to shift from |
| shift_to_id |
Long |
ID of the exercise type to shift to |
| user_id |
String |
You can set your own ID for the newly created profile if you do not wish to store the auth_token and auth_secret |
Common Nutrients
| calories |
Decimal |
Energy content in kcal |
| carbohydrate |
Decimal |
Total carbohydrate content in grams |
| protein |
Decimal |
Protein content in grams |
| fat |
Decimal |
Total fat content in grams |
| saturated_fat |
Decimal |
Saturated fat content in grams (where available) |
| polyunsaturated_fat |
Decimal |
Polyunsaturated fat content in grams (where available) |
| monounsaturated_fat |
Decimal |
Monounsaturated fat content in grams (where available) |
| trans_fat |
Decimal |
Trans fat content in grams (where available) |
| cholesterol |
Decimal |
Cholesterol content in milligrams (where available) |
| sodium |
Decimal |
Sodium content in milligrams (where available) |
| potassium |
Decimal |
Potassium content in milligrams (where available) |
| fiber |
Decimal |
Fiber content in grams (where available) |
| sugar |
Decimal |
Sugar content in grams (where available) |
| added_sugars |
Decimal |
Added Sugars content in grams (where available) |
| vitamin_d |
Decimal |
Vitamin D content in micrograms (where available) |
| vitamin_a |
Decimal |
Vitamin A content in micrograms (where available) |
| vitamin_c |
Decimal |
Vitamin C content in milligrams (where available) |
| calcium |
Decimal |
Calcium content in milligrams (where available) |
| iron |
Decimal |
Iron content in milligrams (where available) |