Nutrition API — macro splits, calorie goals, and a 13,500+ food database
The /nutrition namespace combines IIFYM-style macro calculators with an owned, ingested USDA food database — no upstream rate limits, no per-lookup billing surprises.
No credit card · Free tier forever · X-API-Key header auth
What's included in /nutrition
Owned food database
13,500+ foods ingested from USDA FoodData Central (public domain) directly into our own database — no live third-party calls at runtime.
Macro split calculator
IIFYM/flexible dieting macro splits based on goal, weight, and activity level.
TDEE and calorie goals
Total daily energy expenditure and calorie deficit/surplus targets using the standard energy-balance model.
Nutrition timing
Pre/post-workout nutrition timing guidance tied to training schedule.
No runtime dependency
Because the food data is owned, lookups never fail due to a third-party API outage or rate limit.
Start using the nutrition API today
Free tier — 500 calls/month, no credit card. Upgrade when you need more.
Frequently asked questions
Is the food database licensed or scraped?
Ingested from USDA FoodData Central, a public-domain government dataset — no scraping, no licensing risk.
Does this require a live third-party API key?
No — the food data lives in our own database, so there's no upstream key or rate limit to manage.
Can I search foods by name?
Yes, via /food-search and related endpoints in the food namespace, which shares the same owned dataset.
Related API guides
Fitness API for Apps — One-Rep Max, Training Zones, Workout Plans
22 endpoints for fitness apps: one-rep max via 3 averaged formulas, Karvonen/Tan…
Read guideHealth Calculator API — BMI, BMR, TDEE, Ideal Weight
Evidence-based health calculators: BMI, BMR, TDEE, calorie deficit, sleep needs,…
Read guideHealth & Fitness API — BMI, Calories, Macros, Workouts
REST API for BMI, calorie burn, macro targets, one-rep max, heart rate zones, wo…
Read guideOne key unlocks all 34 namespaces — weather, finance, fitness, astrology, and more.
View all plans and pricing →