Try It

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

Values per:
Country:
Food database

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.

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. The full API returns complete micronutrient profiles.

Capabilities

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.

For developers

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.

foods.sh
# 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"
/foods?query=…&usdaOnly=true

Search the food database. Returns calories, macros, micronutrients and imageUrl. Boost locale with country=XX.

/foods/{id}

Full nutrition for one food: all vitamins, minerals, serving sizes and a product image.

/mealplans/generate

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

/foods/barcode/{upc}

Look up a packaged product by barcode. Pass cc=XX for localized labels and serving sizes.

/foods/log/text

AI food logging from a natural-language meal description. Pro plan and above.

/foods/log/photo

AI food logging from a meal photo. Pro plan and above.

Data sources

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.

USDA FoodData Central

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.

Open Food Facts

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.

Comparison

How Your Move compares

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

FeatureYour MoveEdamamNutritionixSpoonacular
USDA food database
Open Food Facts (180+ countries)
Macro tracking
Meal plan generation
AI food logging
Barcode lookup
Exercise videos
Recipe search
Workout generation
One key, three APIs

Also included

Exercise API

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.

Recipe API

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.

MonthlyYearly

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.

FAQ

Nutrition API questions

What is a nutrition API?
A nutrition API is a REST endpoint that returns food and nutrition data (calories, protein, carbs, fat, fiber, vitamins, minerals) for a given food name, barcode or query. Developers use it to power calorie counters, macro trackers, meal planners and fitness apps without building a food database themselves. The Your Move nutrition API combines USDA FoodData Central with Open Food Facts so you get gold-standard generic foods plus millions of branded products.
Which nutrition API uses USDA FoodData Central?
Your Move’s nutrition API is built directly on USDA FoodData Central for generic foods (chicken breast, brown rice, broccoli) and merges in Open Food Facts for branded and packaged products. Pass usdaOnly=true to restrict any food search to USDA-only results, which is what most calorie tracker and macro tracking apps want for clean reference data.
How do I add barcode food lookup to my fitness app?
Call GET /api/v2/foods/barcode/{upc} with the scanned UPC or EAN code. The endpoint returns full nutrition data for the packaged product, with locale-aware labels when you pass cc=XX (ISO alpha-2 country code). The barcode endpoint covers 3M+ products from 180+ countries via Open Food Facts.
Can I use the nutrition API to build a calorie tracker?
Yes. The Your Move calorie tracking API exposes per-100g and per-serving calories along with protein, carbs, fat, fiber, sugar and a full micronutrient profile for every food. Combine /api/v2/foods (search) with /api/v2/foods/barcode (scan) and the AI food logging endpoints to ship a complete calorie counter.
Does the nutrition API include macro tracking?
Every food row includes protein, carbs and fat per serving so you can build macro tracking features directly from the response. The /api/v2/mealplans/generate endpoint also accepts a macro split target (e.g. high_protein) and returns a meal plan that meets it.
Does the API return nutrition facts and nutritional values?
Yes. Every food returns full nutrition facts: calories, protein, carbs, fat, fiber, sugar, plus a complete micronutrient profile (vitamins and minerals) per 100g and per serving. That makes it a drop-in nutritional value API for food labels, recipe cards and tracking features.
Can I access USDA FoodData Central through an API?
Yes. Your Move’s nutrition API serves USDA FoodData Central data directly, with commercial-friendly terms, fast search and a single API key that also covers barcode lookup and branded products. Pass usdaOnly=true to restrict results to FoodData Central reference foods only.
Is there an alternative to MyFitnessPal API?
Yes. The MyFitnessPal API is closed to new developers, so most teams need a developer-friendly drop-in. Your Move provides USDA-backed nutrition data, barcode lookup, AI food logging and meal-plan generation under one API key starting at $19/mo. See the MyFitnessPal API alternative page for endpoint mappings.

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