Get Macros
get_macrosRetrieve per 100 g calories, protein, total fat, and carbohydrates for a FoodData Central entry. Get macro nutrient breakdown for any food item in one request.
Instructions
Return per 100 g calories, protein, total fat, and carbohydrates for a FoodData Central entry.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fdcId | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| summary | Yes | ||
| nutrients | Yes |