Open data

The FiberUp fiber database

By Anthony Calise, maker of FiberUp. Updated October 17, 2026.

The food database behind the FiberUp app, published for anyone to use: 198 common foods with total fiber per typical serving and per 100 g, the soluble and insoluble split, percent of the daily value, and a low FODMAP flag. Values come from USDA FoodData Central and standard references, matched to servings people actually eat.

Use it in apps, research, classes, spreadsheets, or articles. The license is CC BY 4.0: you can copy, change, and use it commercially, as long as you credit FiberUp with a link to this page.

JSON API

Static JSON over HTTPS. No key or sign-up, CORS is open, and responses are cached at the edge, so you can call it straight from a browser.

EndpointReturns
GET /api/v1/foods.jsonAll foods, highest fiber first, with license and update date
GET /api/v1/foods/{slug}.jsonOne food, for example lentils
GET /foods/fiberup-foods.csvThe same data as CSV

Example response for one food:

{
  "slug": "lentils",
  "name": "Lentils",
  "category": "Legume",
  "serving": "1/2 cup cooked",
  "serving_grams": 99,
  "fiber_g": 7.8,
  "fiber_per_100g": 7.9,
  "soluble_g": 1.2,
  "insoluble_g": 6.6,
  "daily_value_pct": 28,
  "low_fodmap_at_serving": false,
  "url": "https://fiberup.app/fiber-in/lentils/"
}

From JavaScript:

fetch('https://fiberup.app/api/v1/foods/lentils.json')
  .then((r) => r.json())
  .then((food) => console.log(food.name, food.fiber_g, 'g per', food.serving));

Fields

FieldTypeMeaning
slugstringURL-safe id, also used in the per-food endpoint
namestringCommon food name
categorystringVegetable, Fruit, Legume, Grain, Nut & Seed, Other
servingstringTypical serving as people eat it, for example 1/2 cup cooked
serving_gramsnumberWeight of that serving in grams
fiber_gnumberTotal dietary fiber per serving, grams
fiber_per_100gnumberTotal dietary fiber per 100 g
soluble_gnumberSoluble fiber per serving (approximate)
insoluble_gnumberInsoluble fiber per serving (approximate)
daily_value_pctnumberPercent of the 28 g FDA daily value
low_fodmap_at_servingbooleanWhether the serving is low FODMAP
urlstringThe food page on fiberup.app

What is in it

The highest-fiber foods per serving are fiber one cereal, all-bran cereal, chia seeds. Browse the full ranking on fiber in foods.

How to cite

Credit FiberUp with a link to fiberup.app/data. For a paper or report:

For a web page, a line like Fiber data: FiberUp fiber database is enough.

Notes and limits

Spotted an error? Email [email protected] or open an issue on GitHub.