AgentNative

All datasets

USDA FoodData Central SR Legacy: nutrients per 100 g for 7,800 foods

USDA National Nutrient Database for Standard Reference (SR Legacy, final release April 2018) in wide form: energy, protein, fat, carbohydrate, fiber, sugars, cholesterol, sodium, potassium, calcium, iron, magnesium, phosphorus, zinc and vitamins A, C, D, B12 and folate per 100 grams of each generic food, with the food group. Branded and Foundation foods and the other 150 nutrients are not included. SR Legacy is frozen; newer values live in the Foundation Foods dataset. AgentNative normalizes the source and charges a fee for querying it. The data is available directly from https://fdc.nal.usda.gov/download-datasets.

Source
https://fdc.nal.usda.gov/download-datasets
Data as of
2019-04-01
Refresh cadence
About every 720 hours
Rows
7,793
Source terms
CC0 1.0 Universal (USDA FoodData Central licensing)

Questions this answers

Columns and sample rows

ColumnTypeUnitDescriptionSample 1Sample 2Sample 3
fdc_idinteger-FoodData Central id167512167513167514
descriptionstring-Food descriptionPillsbury Golden Layer Buttermilk Biscuits, Artificial Flavor, refrigerated doughPillsbury, Cinnamon Rolls with Icing, refrigerated doughKraft Foods, Shake N Bake Original Recipe, Coating for Pork, dry
food_groupstring-SR food groupBaked ProductsBaked ProductsBaked Products
energy_kcalnumberkcalEnergy per 100 g edible portion307330377
protein_gnumbergProtein per 100 g edible portion5.884.346.1
total_fat_gnumbergTotal fat per 100 g edible portion13.2411.273.7
saturated_fat_gnumbergSaturated fat per 100 g edible portion2.9413.25-
carbohydrate_gnumbergCarbohydrate, by difference per 100 g edible portion41.1853.4279.8
fiber_gnumbergDietary fiber per 100 g edible portion1.21.4-
sugars_gnumbergTotal sugars per 100 g edible portion5.8821.34-
water_gnumbergWater per 100 g edible portion35.527.863.2
cholesterol_mgnumbermgCholesterol per 100 g edible portion00-
sodium_mgnumbermgSodium per 100 g edible portion10597802182
potassium_mgnumbermgPotassium per 100 g edible portion---
calcium_mgnumbermgCalcium per 100 g edible portion-28-
iron_mgnumbermgIron per 100 g edible portion2.121.93-
magnesium_mgnumbermgMagnesium per 100 g edible portion---
phosphorus_mgnumbermgPhosphorus per 100 g edible portion---
zinc_mgnumbermgZinc per 100 g edible portion---
vitamin_c_mgnumbermgVitamin C per 100 g edible portion-0.1-
vitamin_a_rae_ugnumberugVitamin A, RAE per 100 g edible portion-0-
vitamin_d_ugnumberugVitamin D (D2 + D3) per 100 g edible portion---
vitamin_b12_ugnumberugVitamin B-12 per 100 g edible portion---
folate_dfe_ugnumberugFolate, DFE per 100 g edible portion---
publication_datedate-Date the food record was published2019-04-012019-04-012019-04-01

Query it

Over MCP

Free: three sample rows

{"tool":"sample_imported_dataset","arguments":{"dataset_id":"core-usda-sr-legacy-nutrition"}}

Free: an unfiltered page of 25 rows

{"tool":"query_imported_dataset","arguments":{"dataset_id":"core-usda-sr-legacy-nutrition","top":25,"skip":0}}

Query fee applies: filter by a column value

{"tool":"query_imported_dataset","arguments":{"dataset_id":"core-usda-sr-legacy-nutrition","where":[{"field":"description","op":"contains","value":"text"}],"top":10}}

Over HTTP

Free: three sample rows

curl 'https://agentnative.dennery.ai/v1/warehouse/sample/core-usda-sr-legacy-nutrition'

Free: an unfiltered page of 25 rows

curl 'https://agentnative.dennery.ai/v1/warehouse/query/core-usda-sr-legacy-nutrition?$top=25&$skip=0'

Query fee applies: filter by a column value

curl 'https://agentnative.dennery.ai/v1/warehouse/query/core-usda-sr-legacy-nutrition?$filter_field=description&$filter_value=text&$top=10'

An unpaid filtered request returns HTTP 402 with the number of matching rows, the price and the exact call to pay for it.

Query fee, not a data sale

We do not sell this dataset and it is not available only through us. You can get it from the source at any time. The fee pays for the work of finding it, keeping it current, normalizing it, filtering and calculating over it and answering in one small response. Unfiltered pages of up to 25 rows and top-10 summaries are free. A non-empty filtered, sorted or larger result costs USD 0.01.

Common questions

Where does this data come from?

Every answer names the source and links to it: https://fdc.nal.usda.gov/download-datasets.

How current is it?

The data is as of 2019-04-01 and is refreshed about every 720 hours.

What does a query cost?

Three sample rows, unfiltered pages of 25 rows and top-10 summaries are free. A non-empty filtered, sorted or larger result costs USD 0.01.