Foods With Fiber dataset
Total dietary fiber, energy, protein and carbohydrate for 190 commonly eaten foods (230 USDA records including preparation forms such as raw, cooked and dry), normalized from USDA FoodData Central. Each record keeps its FoodData Central ID and adds derived values: fiber per serving using a USDA household measure, fiber per 100 kcal, protein per 100 kcal, percent of the 28 g FDA Daily Value, and the grams, calories and protein that accompany 10 g of fiber.
Download
One row per USDA record. is_default_form marks the form used for rankings. UTF-8, comma separated, RFC 4180 quoting.
At a glance
- Version
- 2026-11-27
- Foods
- 190 (fruit 45, vegetables 52, legumes 25, grains 42, nuts-and-seeds 22, other 4)
- Sources
- SR Legacy, April 2018 (final release) — 229 recordsFoundation, October 2026 — 1 records
- License
- CC BY 4.0 for this compilation; underlying USDA data are public domain (CC0 1.0).
Fields
| Field | Description |
|---|---|
slug | Food identifier used in the page URL /fiber-in/{slug} |
food_name | Display name of the food |
category | Site category (fruit, vegetables, legumes, grains, nuts-and-seeds, other) |
preparation | Preparation form represented by this USDA record |
is_default_form | true if this is the form used for rankings and the page headline |
fdc_id | USDA FoodData Central ID of the source record |
usda_data_type | FoodData Central data type (SR Legacy or Foundation) |
usda_description | Food description exactly as published by USDA |
usda_publication_date | Date USDA published the record in FoodData Central (YYYY-MM-DD) |
serving_description | Default serving (a USDA household measure for this record) |
serving_grams | Gram weight of the default serving, from USDA |
fiber_g_per_serving | Total dietary fiber in the default serving (derived) |
kcal_per_serving | Energy in the default serving, kcal (derived) |
protein_g_per_serving | Protein in the default serving (derived) |
fiber_g_per_100g | Total dietary fiber per 100 g, as published by USDA (nutrient 1079) |
kcal_per_100g | Energy per 100 g, kcal, as published by USDA |
protein_g_per_100g | Protein per 100 g, as published by USDA (nutrient 1003) |
carbohydrate_g_per_100g | Carbohydrate by difference per 100 g, as published by USDA (nutrient 1005) |
fiber_g_per_100kcal | Grams of fiber per 100 kcal (derived) |
protein_g_per_100kcal | Grams of protein per 100 kcal (derived) |
pct_daily_value_per_serving | Fiber per serving as % of the 28 g FDA Daily Value (derived) |
grams_for_10g_fiber | Grams of this food that supply 10 g of fiber (derived) |
kcal_for_10g_fiber | Calories that accompany 10 g of fiber from this food (derived) |
protein_g_with_10g_fiber | Protein that accompanies 10 g of fiber from this food (derived) |
fiber_samples_n | Number of analytical data points USDA reports for the fiber value (blank if not reported) |
fiber_min_g_per_100g | Lowest analytical fiber value USDA reports (blank if not reported) |
fiber_max_g_per_100g | Highest analytical fiber value USDA reports (blank if not reported) |
fiber_derivation | USDA derivation code description for the fiber value |
fiber_value_type | analytical (USDA lab analysis), estimated (USDA calculated or imputed the value), or unspecified (USDA gives no derivation) |
energy_basis | Which USDA energy value was used |
fdc_url | Link to the USDA FoodData Central record |
page_url | Link to the Foods With Fiber page for this food |
Method in brief
- Download the official USDA FoodData Central bulk files (SR Legacy 2018-04; Foundation 2026-10-29). File checksums are recorded in
src/data/meta.json. - Select one USDA record per food and preparation from a hand-curated manifest of commonly eaten foods. The manifest stores only FDC IDs and serving choices, never nutrient values.
- Read total dietary fiber (nutrient 1079), energy in kcal (1008), protein (1003) and carbohydrate (1005) per 100 g, checking units.
- Scale to the chosen USDA household serving and calculate the derived values.
Full details, formulas and rounding rules are on the methodology page.
Known limitations
- SR Legacy was last updated in April 2018 and will not be updated again. USDA’s newer Foundation Foods covers fewer foods and rarely includes household portions; we use it only where SR Legacy has no suitable record.
- Nutrient values are averages. Variety, growing conditions, ripeness, storage and preparation change real values; where USDA reports a sample range, food pages show it.
- Soluble and insoluble fiber are not included because USDA does not report them for nearly all of these foods.
- A few foods only exist in USDA data as branded products (noted on their pages); recipes may have changed since USDA’s analysis.
- Servings are USDA household measures and can differ from package serving sizes.
How to cite
Foods With Fiber. Foods With Fiber dataset, version 2026-11-27. https://foodswithfiber.com/dataset. Derived from U.S. Department of Agriculture, Agricultural Research Service, FoodData Central, https://fdc.nal.usda.gov/.
190 food pages are generated from this exact file. See also data sources.