USDA-verifiable nutrition data in clean, structured JSON. Designed for developers.
Avocavo Nutrition API gives you USDA-verifiable nutrition data in clean, structured JSON.
# Authenticate with OAuth avocavo login # Analyze single ingredient avocavo ingredient "1 cup brown rice"
✅ Or use our REST API with cURL:
curl -X POST https://nutrition.avocavo.app/api/v1/nutrition/ingredient \ -H "Authorization: Bearer YOUR_TOKEN" \ -d '{"ingredient": "1 cup rice"}'
✅ See Authentication to get your token.
All API calls require an OAuth Bearer token.
avocavo login
-H "Authorization: Bearer YOUR_TOKEN"
Analyze a single ingredient with portion-aware parsing.
{ "ingredient": "1 cup brown rice, cooked" }
curl -X POST https://nutrition.avocavo.app/api/v1/nutrition/ingredient \ -H "Authorization: Bearer YOUR_TOKEN" \ -d '{"ingredient": "1 cup rice"}'
{ "success": true, "ingredient": "1 cup rice", "nutrition": { "calories_total": 205, "protein_total": 4.3, "total_fat_total": 0.4, "carbohydrates_total": 44.5, "fiber_total": 0.6, "sodium_total": 1.6 }, "usda_match": { "fdc_id": 169756, "description": "Rice, white, medium-grain, enriched, cooked", "data_type": "sr_legacy_food" }, "verification_url": "https://fdc.nal.usda.gov/fdc-app.html#/food-details/169756" }
Analyze multiple ingredients in a single request. Batch limits vary by plan: Free (5), Starter (10), Professional (20), Enterprise (50+).
{ "ingredients": [ {"ingredient": "1 cup rice", "id": "rice1"}, {"ingredient": "100g chicken breast", "id": "chicken1"} ] }
{ "success": true, "results": [ { "id": "rice1", "ingredient": "1 cup rice", "nutrition": { "calories_total": 205, "protein_total": 4.3, "fdc_id": 169756 } }, { "id": "chicken1", "ingredient": "100g chicken breast", "nutrition": { "calories_total": 165, "protein_total": 31.0, "fdc_id": 171477 } } ] }
Analyze a complete recipe with serving-based nutrition.
{ "recipe_name": "Classic Pancakes", "servings": 4, "ingredients": [ "1 cup flour", "1 cup milk", "1 egg" ] }
{ "success": true, "recipe_name": "Classic Pancakes", "servings": 4, "ingredients": [ { "ingredient": "1 cup flour", "nutrition": { "calories": 455, "protein": 12.9, "fdc_id": 169761 } }, { "ingredient": "1 cup milk", "nutrition": { "calories": 122, "protein": 8.1, "fdc_id": 173441 } }, { "ingredient": "1 egg", "nutrition": { "calories": 72, "protein": 6.3, "fdc_id": 171287 } } ], "totals_per_serving": { "calories": 162.3, "protein": 6.8, "carbs": 26.5, "fat": 3.7 } }
{ "ingredient": "1 cup rice", "calories_total": 205, "protein_total": 4.3, "fdc_id": 169756, "verification_url": "https://fdc.nal.usda.gov/fdc-app.html#/food-details/169756" }
[ { "ingredient": "1 cup rice", "calories_total": 205, "fdc_id": 169756 }, { "ingredient": "100g chicken breast", "calories_total": 165, "fdc_id": 171477 } ]
{ "recipe_name": "Classic Pancakes", "servings": 4, "totals_per_serving": { "calories": 162.3, "protein": 6.8, "carbs": 26.5, "fat": 3.7 } }
# Install npm install -g avocavo-nutrition-cli # Login with OAuth avocavo login # Analyze avocavo ingredient "1 cup rice"
pip install avocavo-nutrition import avocavo_nutrition as av av.login() result = av.analyze_ingredient("2 tbsp olive oil")
avocavo login avocavo ingredient "100g chicken breast"
{ "success": false, "error": "ingredient_not_usda_verified", "message": "Could not find USDA match for: 'computer'" }
Plan | Hourly Limit | Per-Minute Limit | Burst Rate |
---|---|---|---|
Free | 1,000 / hour | 100 / minute | Up to 50 requests / 10 seconds |
Starter | 2,500 / hour | 500 / minute | Up to 100 requests / 10 seconds |
Professional | 10,000 / hour | 1,000 / minute | Up to 200 requests / 10 seconds |
Business | 50,000 / hour | 5,000 / minute | Custom limits with SLAs |
Plan | Max Ingredients per Batch | Notes |
---|---|---|
Free | 5 ingredients | Single ingredients recommended |
Starter | 10 ingredients | Small batch processing |
Professional | 20 ingredients | Production batch processing |
Enterprise | 50+ ingredients | Custom limits available on request |
✅ Need more? Contact us for custom enterprise plans.
Plan | Monthly Price | Included Calls | Extra Calls |
---|---|---|---|
Free | $0 | 1,000 | $1/1,000 as needed |
Starter | $4.99 | 5,000 | $1/1,000 as needed |
Professional | $8.99 | 10,000 | $1/1,000 as needed |
Business | $39.99 | 50,000 | Custom pricing available |
For developers who need USDA-verifiable nutrition data in clean JSON for meal planning, recipes, diet apps, and more.
USDA FoodData Central with real FDC IDs and verification URLs.
Yes! Analyze single ingredients, batch lists, or full recipes with serving calculations.
Secure OAuth 2.0 login. No API keys to manage.
Typical ~200ms per request with intelligent caching.
Yes! 1,000 calls/month free. Easy to get started.
Yes! Once you request nutrition data, it's yours to use, store, cache, and serve in your app however you want. No usage restrictions.
Batch limits vary by plan:
For larger batches, split them into multiple requests.
We're here to help you integrate our API successfully into your application.