TempoLife › Open-source and the food API › nutrition-dataset
Open nutrition dataset
A downloadable CSV/JSON snapshot of common foods and their per-100 g nutrition.
This is planned and not published yet. The interface below shows what we intend to ship and may change.
What it is
For projects that would rather ship a file than call an API, we plan to publish a periodic snapshot of common, generic foods with energy and macros per 100 g, as CSV and JSON, under an open licence with attribution. This is planned, not yet released; the schema will mirror the API's per-100 g fields so you can move between the two. If a static dataset would unblock you, the media contact in the footer is the fastest way to say so and shape it.
Examples
Planned CSV shape
id,name,kcal_100g,protein_g,carbs_g,fat_g
banana-raw,"Banana, raw",89,1.1,22.8,0.3
oats-rolled,"Oats, rolled",379,13.2,67.7,6.5Other packages
Food & nutrition API
A read-only HTTP API for searching foods and reading their nutrition per 100 g.
unit-convert (JS)
The tiny, dependency-free converter behind units.tempolife.app, as an open package.
Source: TempoLife open-source and API docs. Status is current as of the check date; a beta or planned status means the interface can still change. · checked 2026-09-04
Frequently asked questions
Is Open nutrition dataset ready to use?
Not yet — it is planned. The shape shown here is the intended interface and may change before the first release.
What does it cost?
Nothing within fair use. The released code is open source under a permissive licence with attribution; the beta API is free within a rate limit.
Or just use the app
TempoLife gives you the whole food database plus calculators and trackers, free, no code required.