REST API

Nutrition & Food Database API

A complete nutrition API powered by USDA FoodData Central. Search foods, get calories and macros, generate meal plans, and combine with our exercise API for a full fitness platform.

USDA Food Database

Complete nutrition data from the USDA FoodData Central database. Calories, macros, vitamins, and minerals for thousands of foods.

Macro Tracking

Get protein, carbs, fat, fiber, and sugar per serving. Build calorie counters and macro tracking features.

Meal Plan Generation

Generate meal plans by calorie target, dietary preference, and macro split. Ready-to-use in your fitness app.

Exercise + Nutrition

Combine with the Exercise API for a complete fitness platform. Workouts, nutrition, and meal plans in one integration.

AI Food Logging

Send a photo or text description of a meal and get identified foods with full nutrition data. Powered by AI.

Barcode Lookup

Look up packaged food products by barcode (UPC/EAN). Get instant nutrition data for any scanned product.

Food Database with Full Nutrition Data

Powered by USDA FoodData Central - public domain data, no licensing fees, no legal risk.

FoodCaloriesProteinCarbsFatFiber
Chicken Breast (grilled)16531g0g3.6g0g
Brown Rice (cooked)2165g45g1.8g3.5g
Broccoli (steamed)553.7g11g0.6g5.1g
Salmon (baked)20820g0g13g0g
Sweet Potato (baked)1032.3g24g0.1g3.8g
Greek Yogurt (plain)10017g6g0.7g0g
Almonds (raw)57921g22g50g12.5g
Eggs (whole, boiled)15513g1.1g11g0g

Sample data per 100g serving. Full API returns complete micronutrient profiles.

Simple REST API

Search foods, get nutrition data, and generate meal plans with a few API calls.

# Search the food database
curl -H "X-API-Key: YOUR_KEY" \
  "https://exercise-api.ymove.app/api/v2/foods?query=chicken+breast"

# Get nutrition details for a food
curl -H "X-API-Key: YOUR_KEY" \
  "https://exercise-api.ymove.app/api/v2/foods/chicken-breast-grilled"

# 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"

# Barcode lookup
curl -H "X-API-Key: YOUR_KEY" \
  "https://exercise-api.ymove.app/api/v2/foods/barcode/041631000564"

# AI food logging (photo)
curl -X POST -H "X-API-Key: YOUR_KEY" \
  -F "image=@meal.jpg" \
  "https://exercise-api.ymove.app/api/v2/foods/analyze"

# AI food logging (text)
curl -X POST -H "X-API-Key: YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{"description": "grilled chicken with rice and broccoli"}' \
  "https://exercise-api.ymove.app/api/v2/foods/analyze"

API Endpoints

Nutrition API endpoints for food search, nutrient lookup, and meal plan generation.

GET
/api/v2/foods

Search the food database by name. Returns nutrition data including calories, protein, carbs, fat, and micronutrients.

GET
/api/v2/foods/{id}

Get full nutrition details for a specific food item, including all vitamins, minerals, and serving sizes.

GET
/api/v2/nutrition/search

Search foods by nutrient criteria - high protein, low carb, high fiber, and more.

GET
/api/v2/mealplans/generate

Generate a daily or weekly meal plan by calorie target, macro split, and dietary preferences.

GET
/api/v2/foods/barcode/{upc}

Look up a food product by barcode (UPC/EAN). Returns full nutrition data for packaged foods.

POST
/api/v2/foods/analyze

AI-powered food logging - send a photo or text description and get back identified foods with full nutrition data.

Powered by USDA FoodData Central

Our nutrition data comes from the USDA FoodData Central database - the gold standard for food nutrition data. Public domain, no licensing fees, no legal risk. Used by hospitals, research institutions, and major food tracking apps worldwide.

Public Domain

US government data - free to use commercially with zero licensing restrictions.

Comprehensive

Thousands of foods with full macro and micronutrient profiles including vitamins and minerals.

Trusted Source

The same data source used by MyFitnessPal, Cronometer, and clinical nutrition software.

The Complete Fitness API Platform

Combine nutrition data with our exercise API to build a full fitness app. One API key, one integration.

636+

HD Exercise Videos

Exercise API →

USDA

Food Database

Nutrition API

AI

Workout Generation

Workout API →

Meal

Plan Generation

Nutrition API

500+

Recipes

Recipe API →

How YMove Compares

The only nutrition API that includes exercise videos, workout generation, and recipe search in one plan.

FeatureYMoveEdamamNutritionixSpoonacular
USDA Food Database
Macro Tracking
Meal Plan Generation
AI Food Logging
Barcode Lookup
Exercise Videos
Recipe Search
Workout Generation
Starting Price$19/mo$9/moEnterprise$5/mo
All-in-One (exercises + nutrition + recipes)$19/mo$58+/moN/A$34+/mo

Pricing

Simple, Usage-Based Pricing

Pay for what you use. All plans include the full exercise library with 636+ videos, yoga poses, workout generation, and program builder.

MonthlyYearly

Starter

For apps getting started with exercise content.

$19/mo

Start Free Trial
  • 10,000 video minutes/mo (~40K plays)
  • Full exercise library
  • Watermarked videos
  • Workout & program generation
  • Nutrition & recipe API
  • 10 AI form analyses/mo
  • 1 brand license
  • Email support

Pro

Clean, unwatermarked videos for your app.

$29/mo

Start Free Trial
  • 25,000 video minutes/mo (~100K plays)
  • Full exercise library
  • Clean unwatermarked videos
  • Workout & program generation
  • Nutrition & recipe API
  • 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 video minutes/mo (~200K plays)
  • Full exercise library
  • Clean unwatermarked videos
  • Workout & program generation
  • Nutrition & recipe API
  • 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 video minutes/mo (~400K plays)
  • Full exercise library
  • Clean unwatermarked videos
  • Workout & program generation
  • Nutrition & recipe API
  • 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.

Ready to Build?

Start your free trial and get API access to nutrition data, exercise videos, and workout generation.

Start Free Trial