FAGE · 5201054017432
Total 5% Fat Greek Yogurt
93 kcal
- Protein
- 9 g
- Carbs
- 3 g
- Fat
- 5 g
Scan a barcode or type a food name and get calories, protein, carbs and fat back in milliseconds. One API key for food and 1,900+ exercises with video.
100,000 calls/mo on Growth, 500,000 on Scale · Food data from Open Food Facts (ODbL)
The WorkoutX Calorie API returns nutrition facts for 3.4 million packaged foods: calories, protein, fat, saturated fat, carbohydrates, sugars, fiber and salt per 100 g, plus the same values per serving when the label states one.
Look foods up by barcode (EAN-8, UPC-A, EAN-13, GTIN-14) or search by name and brand. It is made for calorie counters, macro trackers, barcode scanners, diet coaching and AI nutrition assistants. The data comes from Open Food Facts and is refreshed every month.
Your app reads the barcode, or the user types “oat milk”.
WorkoutX finds the food among 3.4M products in milliseconds.
Calories, protein, carbs and fat per 100 g and per serving, ready to log.
Actual values from the Calorie API, per 100 g. Bars show the share of protein, carbs and fat.
FAGE · 5201054017432
93 kcal
Ülker · 8690504135913
543 kcal · 195 kcal per 36 g bar
Ferrero · 3017620422003
539 kcal
Mars · 5000159407236
450 kcal
Source: Open Food Facts contributors, under the ODbL.
{
"barcode": "5201054017432",
"name": "Total 5% Fat Greek Yogurt",
"brand": "FAGE",
"nutritionPer100g": { "calories": 93, "protein": 9, "fat": 5, "carbs": 3, ... },
"serving": { "label": "1 serving (100 g)", "grams": 100, ... },
"attribution": { "source": "Open Food Facts", "license": "Open Database License (ODbL) 1.0", ... }
}
Calories and macros per 100 g for some of the most scanned packaged foods in the Open Food Facts database, as the Calorie API returns them. Free to cite with a link.
| Food | Barcode | kcal | Protein | Carbs | Fat |
|---|---|---|---|---|---|
| Nutella Ferrero | 80177173 | 539 | 6.3 g | 57.5 g | 30.9 g |
| Prince Chocolate Whole Wheat LU | 7622210449283 | 467 | 6.3 g | 69 g | 17 g |
| Skyr nature 0% Yoplait | 3329770077003 | 57 | 9.5 g | 3.6 g | 0.5 g |
| Excellence 85% Cacao Dark Chocolate Lindt | 3046920022606 | 584 | 12.5 g | 22 g | 46 g |
| Excellence 70% Cacao Dark Chocolate Lindt | 3046920022651 | 566 | 9.5 g | 35 g | 41 g |
| Wasa Fibres crispbread Wasa | 7300400481588 | 333 | 12 g | 47 g | 5 g |
| Cruesly mixed nuts Quaker | 3168930010265 | 462 | 8.5 g | 57 g | 19 g |
| 100% Peanut butter Menguy's | 3327272107969 | 610 | 28 g | 13 g | 48 g |
| Coke Zero Coca-Cola | 5449000214799 | 0.3 | 0 g | 0 g | 0 g |
| Pesto alla Genovese Barilla | 8076809513753 | 492 | 4.7 g | 11 g | 47 g |
| Nocciolata hazelnut spread Rigoni di Asiago | 8052575090230 | 544 | 8.1 g | 54 g | 32 g |
| Walnut kernels Alesto | 20005733 | 712 | 15.5 g | 3.7 g | 69.1 g |
| Oat chocolate biscuits Bjorg | 3229820794525 | 454 | 8.1 g | 61 g | 18 g |
| Krisprolls wholegrain Krisprolls | 7311070032611 | 400 | 13 g | 68 g | 6.6 g |
| Organic sandwich bread La Boulangère | 3760049790214 | 268 | 8.1 g | 47 g | 4.2 g |
| Roasted almond drink, no sugar Alpro | 5411188112709 | 15 | 0.5 g | 0 g | 1.1 g |
link Using this table? Please credit both sources:
Calorie data: <a href="https://workoutxapp.com/calorie-api.html">WorkoutX Calorie API</a>, from <a href="https://world.openfoodfacts.org">Open Food Facts</a> (ODbL)
Most fitness apps need both sides of the calorie balance. WorkoutX gives you both with one key and one bill.
Log meals by barcode or name: calories and macros per 100 g and per serving.
Calories burned for any of 1,900+ exercises, from MET values, body weight and time.
Show users their daily balance, with workouts from the AI Workout Generator.
Step-by-step guide with app code: How to add barcode nutrition lookup to your fitness app.
AI agents can use it too: the WorkoutX MCP server has search_foods and get_food_by_barcode. Endpoint details are in the API reference.
The Calorie API comes with Growth and up, with its own monthly allowance. Food calls do not use your request quota, so tracking meals never eats into your exercise calls.
Growth
$39/mo
100,000 Calorie API calls a month, plus 25,000 requests, AI Workout Generator, supplements and 150,000 exercise video views.
Scale
$79/mo
500,000 Calorie API calls a month, plus 100,000 requests, multi-week programs and priority support.
The food data in the Calorie API comes from Open Food Facts, a free, open database of food products from around the world, built by thousands of contributors. It is available under the Open Database License (ODbL) 1.0; individual contents are under the Database Contents License.
WorkoutX filters the data (products without a name or calories, and impossible values, are left out) and serves it through the API. WorkoutX is not affiliated with Open Food Facts. Product images are not included.
Credit to show in your app
Food data from Open Food Facts (openfoodfacts.org), available under the ODbL.
attribution object with the same details.A REST API that returns calories, protein, fat, saturated fat, carbohydrates, sugars, fiber and salt for 3.4 million packaged foods. You look foods up by barcode at /v2/foods/barcode/{code} or by name and brand at /v2/foods/search?q=.
Growth ($39 a month) with 100,000 Calorie API calls a month, Scale ($79 a month) with 500,000, and Enterprise with custom limits. Legacy Pro and Ultra subscribers have it too. There is no extra fee, and food calls have their own allowance: they do not count against your request quota.
The API answers 429 with the date the allowance starts over (the first day of the next month, UTC). Every response shows X-Food-Quota-Limit, X-Food-Quota-Remaining and X-Food-Quota-Reset, and /v2/account/usage reports it too. Your exercise requests keep working.
From Open Food Facts, the open food products database, under the Open Database License (ODbL). We filter out products without a name or calories and entries with impossible values, and refresh the data every month.
Yes. Show a short credit such as "Food data from Open Food Facts (openfoodfacts.org), available under the ODbL" where your app displays the values. Every response includes an attribution object with the source, license and link.
Both. Values per 100 g (per 100 ml for drinks) are always included. When the label states a serving size, you also get its weight in grams and the same nutrients for one serving.
No. The Calorie API returns names, brands, barcodes and nutrition values only.
The API answers 404 with a short message. Most apps then offer a name search or let the user enter the food by hand.
Yes. The WorkoutX MCP server has search_foods and get_food_by_barcode tools, so Claude, Cursor, ChatGPT and other MCP clients can look up calories with your API key.
Start free with the exercise API, then switch to Growth to unlock the Calorie API.
Food data from Open Food Facts, available under the Open Database License.