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

CSV (230 rows) JSON

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

Columns in the CSV and in each JSON record
FieldDescription
slugFood identifier used in the page URL /fiber-in/{slug}
food_nameDisplay name of the food
categorySite category (fruit, vegetables, legumes, grains, nuts-and-seeds, other)
preparationPreparation form represented by this USDA record
is_default_formtrue if this is the form used for rankings and the page headline
fdc_idUSDA FoodData Central ID of the source record
usda_data_typeFoodData Central data type (SR Legacy or Foundation)
usda_descriptionFood description exactly as published by USDA
usda_publication_dateDate USDA published the record in FoodData Central (YYYY-MM-DD)
serving_descriptionDefault serving (a USDA household measure for this record)
serving_gramsGram weight of the default serving, from USDA
fiber_g_per_servingTotal dietary fiber in the default serving (derived)
kcal_per_servingEnergy in the default serving, kcal (derived)
protein_g_per_servingProtein in the default serving (derived)
fiber_g_per_100gTotal dietary fiber per 100 g, as published by USDA (nutrient 1079)
kcal_per_100gEnergy per 100 g, kcal, as published by USDA
protein_g_per_100gProtein per 100 g, as published by USDA (nutrient 1003)
carbohydrate_g_per_100gCarbohydrate by difference per 100 g, as published by USDA (nutrient 1005)
fiber_g_per_100kcalGrams of fiber per 100 kcal (derived)
protein_g_per_100kcalGrams of protein per 100 kcal (derived)
pct_daily_value_per_servingFiber per serving as % of the 28 g FDA Daily Value (derived)
grams_for_10g_fiberGrams of this food that supply 10 g of fiber (derived)
kcal_for_10g_fiberCalories that accompany 10 g of fiber from this food (derived)
protein_g_with_10g_fiberProtein that accompanies 10 g of fiber from this food (derived)
fiber_samples_nNumber of analytical data points USDA reports for the fiber value (blank if not reported)
fiber_min_g_per_100gLowest analytical fiber value USDA reports (blank if not reported)
fiber_max_g_per_100gHighest analytical fiber value USDA reports (blank if not reported)
fiber_derivationUSDA derivation code description for the fiber value
fiber_value_typeanalytical (USDA lab analysis), estimated (USDA calculated or imputed the value), or unspecified (USDA gives no derivation)
energy_basisWhich USDA energy value was used
fdc_urlLink to the USDA FoodData Central record
page_urlLink to the Foods With Fiber page for this food

Method in brief

  1. 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.
  2. 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.
  3. Read total dietary fiber (nutrient 1079), energy in kcal (1008), protein (1003) and carbohydrate (1005) per 100 g, checking units.
  4. 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.