Nutrition & Food
Database API
A complete nutrition API powered by USDA FoodData Central and Open Food Facts. Search foods, get full nutrition facts, generate meal plans and look up packaged products from 180+ countries, all under one key.
Try It
Search our food database live. Results come straight from the API.
Full nutrition on every food
Powered by USDA FoodData Central and Open Food Facts, covering generic foods and millions of branded products from 180+ countries.
| Food | Calories | Protein | Carbs | Fat | Fiber |
|---|---|---|---|---|---|
| Chicken Breast (grilled) | 165 | 31g | 0g | 3.6g | 0g |
| Brown Rice (cooked) | 216 | 5g | 45g | 1.8g | 3.5g |
| Broccoli (steamed) | 55 | 3.7g | 11g | 0.6g | 5.1g |
| Salmon (baked) | 208 | 20g | 0g | 13g | 0g |
| Sweet Potato (baked) | 103 | 2.3g | 24g | 0.1g | 3.8g |
| Greek Yogurt (plain) | 100 | 17g | 6g | 0.7g | 0g |
| Almonds (raw) | 579 | 21g | 22g | 50g | 12.5g |
| Eggs (whole, boiled) | 155 | 13g | 1.1g | 11g | 0g |
Sample data per 100g serving. The full API returns complete micronutrient profiles.
Everything a food app needs
USDA + Open Food Facts
USDA FoodData Central for gold-standard generic foods, plus Open Food Facts for millions of branded products from 180+ countries.
Macro tracking
Protein, carbs, fat, fiber and sugar per serving on every food row, so macro tracking needs no extra request.
Meal plan generation
Generate meal plans by calorie target, macro split and dietary preference, ready to render in your app.
AI food logging
Send a photo or text description of a meal and get identified foods with full nutrition data back.
Barcode lookup
Look up packaged products by UPC/EAN across 3M+ items, with locale-aware labels via cc=XX.
USDA-first ranking
Generic USDA foods rank above branded duplicates, so "chicken breast" returns clean reference data. Flip on usdaOnly=true.
Country locale boost
Pass a 2-letter ISO country code and locally-tagged Open Food Facts products rank higher, falling back to worldwide.
Product images included
Every food ships an imageUrl when available, so you can render thumbnails directly in your food search UI.
Simple REST, one key
Search foods, look up barcodes, generate meal plans and log meals from text or photo. The same key also covers recipes and exercise content.
# Search the food database curl -H "X-API-Key: YOUR_KEY" \ "https://exercise-api.ymove.app/api/v2/foods?q=chicken+breast" # USDA-only: clean generic foods curl -H "X-API-Key: YOUR_KEY" \ "https://exercise-api.ymove.app/api/v2/foods?q=rice&usdaOnly=true" # Barcode lookup, localized labels curl -H "X-API-Key: YOUR_KEY" \ "https://exercise-api.ymove.app/api/v2/foods/barcode/041631000564?cc=us" # Generate a meal plan curl -H "X-API-Key: YOUR_KEY" \ "https://exercise-api.ymove.app/api/v2/mealplans/generate?calories=2000&diet=high_protein"
Search the food database. Returns calories, macros, micronutrients and imageUrl. Boost locale with country=XX.
Full nutrition for one food: all vitamins, minerals, serving sizes and a product image.
Generate a daily or weekly meal plan by calorie target, macro split and dietary preferences.
Look up a packaged product by barcode. Pass cc=XX for localized labels and serving sizes.
AI food logging from a natural-language meal description. Pro plan and above.
AI food logging from a meal photo. Pro plan and above.
USDA FoodData Central + Open Food Facts
Two best-in-class open data sources, no licensing fees: USDA for gold-standard generic foods, Open Food Facts for branded and packaged products worldwide.
Reference-grade generic foods
Public-domain US government data with full macro and micronutrient profiles, used by MyFitnessPal, Cronometer and clinical software. Ideal for chicken breast, rice, broccoli. Pass usdaOnly=true for a pure feed.
3M+ branded products
Barcode lookup across 180+ countries including the US, UK, France, Germany, Spain, Italy, Brazil, India, Japan and Australia. Community-maintained and growing daily, ideal for packaged and local products.
How Your Move compares
The only nutrition API that includes exercise videos, workout generation and recipe search in one plan.
| Feature | Your Move | Edamam | Nutritionix | Spoonacular |
|---|---|---|---|---|
| USDA food database | ||||
| Open Food Facts (180+ countries) | ||||
| Macro tracking | ||||
| Meal plan generation | ||||
| AI food logging | ||||
| Barcode lookup | ||||
| Exercise videos | ||||
| Recipe search | ||||
| Workout generation |
Also included
1,021 HD exercise videos
White-background HD videos across strength, yoga, stretching, cardio and pilates, with workout generation and a program builder, on the same key.
2999+ recipes with macros
Recipe search with per-ingredient USDA nutrition and a CDN image on every recipe. Pair it with the food database for full meal-planning.
Pricing
Simple, Usage-Based Pricing
Pay for what you use. All plans include the full exercise library with 1,021+ videos, yoga poses, workout generation, and program builder.
Starter
For apps getting started with exercise content.
$19/mo
Start Free Trial- 10,000 exercise video minutes/mo (~40K plays)
- Full exercise library
- Watermarked videos
- Workout & program generation
- Nutrition & recipe API
- Unlimited food barcode scans
- Unlimited food searches
- Unlimited recipe API searches
- 10 AI form analyses/mo
- 1 brand license
- Email support
Pro
Clean, unwatermarked videos for your app.
$29/mo
Start Free Trial- 25,000 exercise video minutes/mo (~100K plays)
- Full exercise library
- Clean unwatermarked videos
- Workout & program generation
- Nutrition & recipe API
- Unlimited food barcode scans
- Unlimited food searches
- Unlimited recipe API searches
- 25 AI form analyses/mo
- 25 AI food photo analyses/mo
- 1 brand license
- Email support
Scale
For growing platforms with higher volume needs.
$79/mo
Start Free Trial- 50,000 exercise video minutes/mo (~200K plays)
- Full exercise library
- Clean unwatermarked videos
- Workout & program generation
- Nutrition & recipe API
- Unlimited food barcode scans
- Unlimited food searches
- Unlimited recipe API searches
- Offline usage allowed
- 50 AI form analyses/mo
- 50 AI food photo analyses/mo
- 3 brand licenses
- Priority support
Enterprise
For large platforms with custom needs.
$299/mo
Start Free Trial- 100,000 exercise video minutes/mo (~400K plays)
- Full exercise library
- Clean unwatermarked videos
- Workout & program generation
- Nutrition & recipe API
- Unlimited food barcode scans
- Unlimited food searches
- Unlimited recipe API searches
- 200 AI form analyses/mo
- 200 AI food photo analyses/mo
- 10 brand licenses
- Dedicated support
Average exercise video is 10–15 seconds, yoga poses around 30 seconds. 10,000 minutes equals roughly 40,000 exercise video plays or 20,000 yoga pose plays.
Nutrition API questions
What is a nutrition API?
Which nutrition API uses USDA FoodData Central?
How do I add barcode food lookup to my fitness app?
Can I use the nutrition API to build a calorie tracker?
Does the nutrition API include macro tracking?
Does the API return nutrition facts and nutritional values?
Can I access USDA FoodData Central through an API?
Is there an alternative to MyFitnessPal API?
Build your food app today
Start your free trial and get API access to 3M+ foods, 2999+ recipes and 1,021 exercise videos under one key.
Get your trial key