FDC
Fetches details for one food item by FDC ID
Retrieves a single food item by an FDC ID. Optional format and nutrients can be specified.
get/v1/food/{fdcId}
Request
- Base URL: https://api.nal.usda.gov/fdc
- URL: https://api.nal.usda.gov/fdc/v1/food/{fdcId}
- Auth: API key in query parameter api_key
Path parameters
fdcIdstring required
FDC id of the food to retrieve
Query parameters
format'abridged' | 'full'
Optional. 'abridged' for an abridged set of elements, 'full' for all elements (default).
nutrientsinteger[]
Optional. List of up to 25 nutrient numbers. Only the nutrient information for the specified nutrients will be returned. Should be comma separated list (e.g. nutrients=203,204) or repeating parameters (e.g. nutrients=203&nutrients=204). If a food does not have any matching nutrients, the food will be returned with an empty foodNutrients element.
[ 203, 204, 205 ]
Response
One food result.
Example response
{
"dataType": "Branded",
"description": "NUT 'N BERRY MIX",
"fdcId": 534358,
"foodNutrients": [
{
"number": 303,
"name": "Iron, Fe",
"amount": 0.53,
"unitName": "mg",
"derivationCode": "LCCD",
"derivationDescription": "Calculated from a daily value percentage per serving size measure"
}
],
"publicationDate": "4/1/2019",
"brandOwner": "Kar Nut Products Company",
"gtinUpc": "077034085228",
"ndbNumber": "7954",
"foodCode": "27415110"
}Changes
No recorded changes to this operation across all 1 revision of this API.