# 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](https://fdc.nal.usda.gov/download-datasets)
- Data as of: 2019-04-01
- Refresh cadence: About every 720 hours
- Rows: 7793
- Source terms: [CC0 1.0 Universal \(USDA FoodData Central licensing\)](https://fdc.nal.usda.gov/)

## Questions this answers

- What are the most recent records, newest publication\_date first?
- How many records are there for each description?
- Which records have food\_group containing a given word?

## Columns and sample rows

| Column | Type | Unit | Description | Sample 1 | Sample 2 | Sample 3 |
| --- | --- | --- | --- | --- | --- | --- |
| fdc\_id | integer | - | FoodData Central id | 167512 | 167513 | 167514 |
| description | string | - | Food description | Pillsbury Golden Layer Buttermilk Biscuits, Artificial Flavor, refrigerated dough | Pillsbury, Cinnamon Rolls with Icing, refrigerated dough | Kraft Foods, Shake N Bake Original Recipe, Coating for Pork, dry |
| food\_group | string | - | SR food group | Baked Products | Baked Products | Baked Products |
| energy\_kcal | number | kcal | Energy per 100 g edible portion | 307 | 330 | 377 |
| protein\_g | number | g | Protein per 100 g edible portion | 5.88 | 4.34 | 6.1 |
| total\_fat\_g | number | g | Total fat per 100 g edible portion | 13.24 | 11.27 | 3.7 |
| saturated\_fat\_g | number | g | Saturated fat per 100 g edible portion | 2.941 | 3.25 | - |
| carbohydrate\_g | number | g | Carbohydrate, by difference per 100 g edible portion | 41.18 | 53.42 | 79.8 |
| fiber\_g | number | g | Dietary fiber per 100 g edible portion | 1.2 | 1.4 | - |
| sugars\_g | number | g | Total sugars per 100 g edible portion | 5.88 | 21.34 | - |
| water\_g | number | g | Water per 100 g edible portion | 35.5 | 27.86 | 3.2 |
| cholesterol\_mg | number | mg | Cholesterol per 100 g edible portion | 0 | 0 | - |
| sodium\_mg | number | mg | Sodium per 100 g edible portion | 1059 | 780 | 2182 |
| potassium\_mg | number | mg | Potassium per 100 g edible portion | - | - | - |
| calcium\_mg | number | mg | Calcium per 100 g edible portion | - | 28 | - |
| iron\_mg | number | mg | Iron per 100 g edible portion | 2.12 | 1.93 | - |
| magnesium\_mg | number | mg | Magnesium per 100 g edible portion | - | - | - |
| phosphorus\_mg | number | mg | Phosphorus per 100 g edible portion | - | - | - |
| zinc\_mg | number | mg | Zinc per 100 g edible portion | - | - | - |
| vitamin\_c\_mg | number | mg | Vitamin C per 100 g edible portion | - | 0.1 | - |
| vitamin\_a\_rae\_ug | number | ug | Vitamin A, RAE per 100 g edible portion | - | 0 | - |
| vitamin\_d\_ug | number | ug | Vitamin D \(D2 + D3\) per 100 g edible portion | - | - | - |
| vitamin\_b12\_ug | number | ug | Vitamin B-12 per 100 g edible portion | - | - | - |
| folate\_dfe\_ug | number | ug | Folate, DFE per 100 g edible portion | - | - | - |
| publication\_date | date | - | Date the food record was published | 2019-04-01 | 2019-04-01 | 2019-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.

_AgentNative is not the publisher of this data. Always check the source for authoritative figures._
