The nutrition API that gives you protein, vitamins, and minerals in the free tier. Natural language input. USDA data. Built for developers who ship fast.
Natural language in. Complete nutrition data out. It's that simple.
POST /v1/calculate/natural { "text": "100g grilled chicken breast" }
{ "Energy": 156 kcal, "Protein": 31.02g, "Fat": 3.57g (with breakdown!), "Vitamin B-6": 0.6mg, "Vitamin B-12": 0.34ยตg, "Iron": 1.04mg, "Zinc": 1.0mg, "Calcium": 15mg, ...and 17 more nutrients }
Official SDKs for Python, JavaScript, and Java. Copy, paste, ship.
from nutrition_api import NutritionAPI # Initialize with your RapidAPI key api = NutritionAPI(api_key="YOUR_RAPIDAPI_KEY") # Calculate nutrition for any food result = api.calculate("100g grilled chicken breast") # Access the data print(f"Calories: {result['Energy']['value']} kcal") print(f"Protein: {result['Protein']['value']}g") print(f"Fat: {result['Fat']['value']}g") # Multi-item meals work too! meal = api.calculate("2 eggs, 100g oatmeal, 1 banana")
Built by a developer who was tired of paying $50/month for basic nutrition data.
Protein, carbs, fats, 13 vitamins, 10 minerals. Most APIs lock this behind premium plans.
Send "100g chicken and 1 cup rice" - we parse it. No need to build your own food parser.
Multi-layer edge caching. 5,000 popular foods indexed for instant lookup.
Calculate entire meals in one request. Up to 10 items per call on Business tier.
Industry first: Saturated + mono + poly + trans + other = total. Math that works.
Same peer-reviewed, laboratory-analyzed database used by MyFitnessPal & Cronometer.
No more mysterious "missing" fat in your calculations.
*Includes phospholipids, sterols, and minor fatty acids. Total: 3.57g โ
More nutrients. Better pricing. Faster responses.
| Feature | NutritionAPI | Competitors |
|---|---|---|
| Nutrients in Free Tier | 25+ | 5-10 (paywalled) |
| Protein in Free Tier | Yes | Often locked |
| Vitamins & Minerals | All 23 | Premium only |
| Natural Language Input | Built-in | You build |
| Multi-Item Meals | Up to 10 | Limited |
| Response Time | <100ms | 500ms+ |
| Fat Breakdown | Hierarchical | Total only |
| Data Source | USDA (verified) | Unknown |
The same peer-reviewed, laboratory-analyzed database trusted by millions of users worldwide.
Start free. Scale as you grow. Same 25+ nutrients on every tier.
Join developers who chose simplicity over complexity.
Get Your Free API Key