RigMacro food data
Last updated: November 27, 2026
RigMacro's food search is built from two public sources, USDA FoodData Central and Open Food Facts. We clean the two, merge them and keep one entry per food. That combined list, including the foods we left out and why, is free to download here, so anyone can use it, check it or build on it.
First release coming soon. The files will appear here with RigMacro's next food index build.
Download
foods-usda-off-<build>.csv.gz- One row for every USDA and Open Food Facts food we looked at: name, brand, barcodes, calories, protein, carbohydrate and fat per 100 g, serving size, source and source ID. A
statuscolumn says whether we kept or dropped it, and areasoncolumn says why we dropped it: impossible values, a duplicate of another row, values scaled twice, the same food kept from the other source, or flagged in review.
Source exports used for this build: USDA FoodData Central (date to come), Open Food Facts (date to come).
How we build it
- Check each source. We test every food against simple rules, for example calories that don't match the protein, carbohydrate and fat, or values that can't be right. From Open Food Facts we take US products with full calorie and macro values, and leave out entries with no name or a name that isn't in English.
- Merge. Where both sources have the same barcode, or the same product under different barcodes, we keep one entry and attach every barcode.
- Review. Rows that fail a rule, rows where the two sources disagree, and the most-searched foods get a second review before we keep or drop them.
Because the file records every decision, you can check any food we dropped, or rebuild the list from the original sources your own way.
What's not included
- Restaurant menu items. RigMacro shows these separately, and they aren't part of this list.
- Foods that people save in their own RigMacro accounts. Nothing from anyone's diary or account is in these files.
Licence and attribution
The combined list is made available under the Open Database License (ODbL) 1.0. Any rights in the individual contents of the database are licensed under the Database Contents License (DbCL) 1.0. If you share or adapt it, credit the sources below and keep your version under the same licence.
- Open Food Facts: contains data from Open Food Facts, made available under the Open Database License (ODbL).
- USDA FoodData Central: USDA data is in the public domain. Source: U.S. Department of Agriculture, Agricultural Research Service. FoodData Central, 2026. fdc.nal.usda.gov.
RigLabs is not affiliated with, or endorsed by, the U.S. Department of Agriculture or Open Food Facts.
The data is provided as is, without warranty of any kind. Nutrition values can be wrong or out of date, so check the product's label when it matters.
Questions or corrections
Spotted a wrong value? Email support@riglabs.app. To correct a product at the source, you can also edit it on Open Food Facts.