Food Calorie API
Ship meal tracking, macro logging, and barcode scan features faster with our nutrition API, food database API, and verified calorie data built for production health apps.
Food Calorie API endpoints
| Method | Endpoint | Description |
|---|---|---|
| Food data | ||
| GET |
suggestFoods /api/v1/search/suggest |
Lightweight autocomplete for search boxes and meal-logging UIs. |
| GET |
getFood /api/v1/foods/{food_id} |
Full nutrient, serving and barcode data for a single food id (from Search foods / Suggest). |
| GET |
barcodeLookup /api/v1/search/barcode/{upc} |
Resolve a UPC/EAN to product and nutrition data. Local database first, then Open Food Facts. |
| GET |
searchFoods /api/v1/search/foods |
Search the food catalog by name or brand. Returns per-100g macros, a full nutrients array and a computed meal object. Ranked: exact phrase > all words > most words > any word. |
| Calculators | ||
| GET |
calcPortion /api/v1/calc/portion |
Scale a food's nutrition to an arbitrary gram amount. |
| POST |
calcRecipe /api/v1/calc/recipe |
Aggregate total and per-serving nutrition for a list of ingredients (food_id + grams). |
| GET |
calcMacros /api/v1/calc/macros |
BMR, TDEE and daily macro targets from body stats using the Mifflin-St Jeor formula. |
Food Calorie API pricing
| Plan | Price | Rate limit | Quotas |
|---|---|---|---|
| BASIC | Free | 2 / second |
|
| PRO | $9.99 / month | 8 / second |
|
| ULTRA | $49.99 / month | 20 / second |
|
| MEGA | $199.99 / month | 40 / second |
|