FiberUp Fiber Database
Dietary fiber per serving and per 100 g, split into soluble and insoluble, for ~200 common foods
Nutrition data for millions of foods from six national food composition datasets.
Food Info API is a free Food & Drink API that requires apiKey authentication, is served over HTTPS and does not support CORS, so it should be called from a server.

Unified API suite · now live
Geocode an address, validate an email, track a flight or pull stock data with one account, one dashboard and one API key.
Dietary fiber per serving and per 100 g, split into soluble and insoluble, for ~200 common foods
Yes. The Food Info API is listed in the Food & Drink category of the public-apis directory, which only includes APIs that are free or have a free tier. Check its documentation for rate limits and paid plans.
Yes. The Food Info API uses apiKey authentication, so you need to register for credentials before making requests.
Not directly. The Food Info API does not allow CORS, so call it from a server, serverless function or proxy instead of front-end JavaScript.
Yes. The Food Info API is served over HTTPS, so it's safe to use in production.