REST API

Nutrition & Food Database API

Powered by USDA FoodData Central + Open Food Facts (3M+ products from 180+ countries)

A complete nutrition API powered by USDA FoodData Central and Open Food Facts. Search foods, get calories and macros, generate meal plans, and look up packaged products from 180+ countries worldwide.

Try It

Search our food database live. Results come straight from the API.

Values per:

USDA + Open Food Facts

Nutrition data from both USDA FoodData Central and Open Food Facts. USDA provides the gold standard for generic foods, while Open Food Facts adds millions of branded and packaged products from 180+ countries worldwide.

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 and Open Food Facts, covering generic foods and millions of branded products from 180+ countries.

Chicken Breast (grilled)

165

Cal

31g

Protein

0g

Carbs

3.6g

Fat

0g

Fiber

Brown Rice (cooked)

216

Cal

5g

Protein

45g

Carbs

1.8g

Fat

3.5g

Fiber

Broccoli (steamed)

55

Cal

3.7g

Protein

11g

Carbs

0.6g

Fat

5.1g

Fiber

Salmon (baked)

208

Cal

20g

Protein

0g

Carbs

13g

Fat

0g

Fiber

Sweet Potato (baked)

103

Cal

2.3g

Protein

24g

Carbs

0.1g

Fat

3.8g

Fiber

Greek Yogurt (plain)

100

Cal

17g

Protein

6g

Carbs

0.7g

Fat

0g

Fiber

Almonds (raw)

579

Cal

21g

Protein

22g

Carbs

50g

Fat

12.5g

Fiber

Eggs (whole, boiled)

155

Cal

13g

Protein

1.1g

Carbs

11g

Fat

0g

Fiber

Sample data per 100g serving.

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?q=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" \
  -H "Content-Type: application/json" \
  -d '{"image": "<base64-encoded-image>", "media_type": "image/jpeg"}' \
  "https://exercise-api.ymove.app/api/v2/foods/log/photo"

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

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/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/log/text

AI food logging from text. Send a meal description and get identified foods with nutrition data. Pro plan and above.

POST
/api/v2/foods/log/photo

AI food logging from photo. Send a meal image and get identified foods with nutrition data. Pro plan and above.

Powered by USDA FoodData Central + Open Food Facts

We combine two best-in-class data sources: USDA FoodData Central for the gold standard in generic food nutrition data, and Open Food Facts for millions of branded and packaged products from over 180 countries. Both are open data with no licensing fees.

USDA FoodData Central

  • Public domain US government data
  • Full macro and micronutrient profiles
  • Used by MyFitnessPal, Cronometer, and clinical software
  • Ideal for generic foods: chicken breast, rice, broccoli

Open Food Facts

  • 3M+ branded products with barcode lookup
  • 180+ countries including US, UK, France, Germany, Spain, Italy, Brazil, India, Japan, Australia, and more
  • Community-maintained and continuously growing
  • Ideal for packaged foods and local products worldwide

Worldwide Food Coverage

Open Food Facts is the world's largest open food database, with products from every continent. The largest databases are in France, the United States, Germany, United Kingdom, Spain, Italy, Belgium, Switzerland, Netherlands, Australia, Canada, Poland, Brazil, Mexico, India, Sweden, Japan, and Argentina, with coverage growing daily as contributors worldwide scan and add products.

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 →

3M+

Food Products

USDA + Open Food Facts

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.

USDA Food Database

YMove

Edamam

Nutritionix

Spoonacular

Open Food Facts (180+ countries)

YMove

Edamam

Nutritionix

Spoonacular

Macro Tracking

YMove

Edamam

Nutritionix

Spoonacular

Meal Plan Generation

YMove

Edamam

Nutritionix

Spoonacular

AI Food Logging

YMove

Edamam

Nutritionix

Spoonacular

Barcode Lookup

YMove

Edamam

Nutritionix

Spoonacular

Exercise Videos

YMove

Edamam

Nutritionix

Spoonacular

Recipe Search

YMove

Edamam

Nutritionix

Spoonacular

Workout Generation

YMove

Edamam

Nutritionix

Spoonacular

Starting Price

$19/mo

YMove

$9/mo

Edamam

Enterprise

Nutritionix

$5/mo

Spoonacular

All-in-One

$19/mo

YMove

$58+/mo

Edamam

N/A

Nutritionix

$34+/mo

Spoonacular

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