Nutrition API

MyFitnessPal API Alternative: Real-Time Nutrition Data for Developers

The official MyFitnessPal API has been closed to new partners for years. YMove is a developer-friendly drop-in: USDA-grade food data, barcode lookup, AI food logging, and meal plan generation under one REST API key.

Feature Comparison

Open to new developers

YMove
MyFitnessPal API
Edamam
NutritionixEnterprise

Self-serve signup

YMove
MyFitnessPal API
Edamam
Nutritionix

USDA FoodData Central

YMove
MyFitnessPal API
Edamam
Nutritionix

Branded products (Open Food Facts, 180+ countries)

YMove
MyFitnessPal API
Edamam
Nutritionix

Barcode lookup

YMove
MyFitnessPal API
Edamam
Nutritionix

AI food logging (text + photo)

YMove
MyFitnessPal API
Edamam
Nutritionix

Meal plan generation

YMove
MyFitnessPal API
Edamam
Nutritionix

Macro tracking (protein/carbs/fat)

YMove
MyFitnessPal API
Edamam
Nutritionix

Exercise videos in same plan

YMove
MyFitnessPal API
Edamam
Nutritionix

Starting price

YMove$19/mo
MyFitnessPal APIN/A (closed)
Edamam$9/mo
NutritionixCustom

Why developers need a MyFitnessPal API alternative

MyFitnessPal's public API is gated. New partners are not accepted, and third-party scraping violates the terms of service. Developers who want to ship a calorie tracker, macro counter, or meal-logging app need an open, self-serve alternative with comparable food coverage.

YMove gives you that on day one. Sign up, grab an API key, and call REST endpoints. No partnership applications, no enterprise sales process, no deprecation timelines.

How YMove maps to the MyFitnessPal feature set

  • Food search:GET /api/v2/foods?q=chicken+breast returns USDA generic foods plus 3M+ branded products from Open Food Facts, ranked USDA-first so generic searches surface clean reference foods. Pass usdaOnly=true for a pure USDA feed.
  • Barcode scanner:GET /api/v2/foods/barcode/{upc} returns full nutrition for the scanned product, with country-localized labels via cc=XX.
  • Meal logging by text:POST /api/v2/foods/log/text accepts a description like "grilled chicken with rice and broccoli" and returns identified foods with structured nutrition.
  • Meal logging by photo:POST /api/v2/foods/log/photo accepts a base64 image and returns identified foods.
  • Meal plan generator: GET /api/v2/mealplans/generate?calories=2000&diet=high_protein returns a meal plan that hits the calorie and macro targets.

5-line code sample: replace a closed MyFitnessPal call

# Search for a food by name and get calories + macros
curl -H "X-API-Key: YOUR_KEY" \
  "https://exercise-api.ymove.app/api/v2/foods?q=chicken+breast"

# Look up a packaged product by barcode
curl -H "X-API-Key: YOUR_KEY" \
  "https://exercise-api.ymove.app/api/v2/foods/barcode/041631000564?cc=us"

Pricing: $19/mo for everything

MyFitnessPal's closed API has no published price for new developers because the program is closed. YMove's$19/mo bundled plan gives you the nutrition api, barcode lookup, AI food logging, recipe search, and exercise videos under a single key. Compare with Edamam ($58+/mo for separate nutrition + recipe plans) or Nutritionix (custom enterprise pricing).

Frequently Asked Questions

Is the MyFitnessPal API still available?

The official MyFitnessPal API is closed to new partners. Existing partners may have continued access, but new developers cannot apply. This is why most teams ship on a MyFitnessPal API alternative instead.

Does YMove use the same food data as MyFitnessPal?

YMove uses USDA FoodData Central (the same public-domain government source MyFitnessPal uses for generic foods) and Open Food Facts (3M+ branded products from 180+ countries). Coverage and accuracy are comparable for the typical fitness-app use case.

Can I scrape MyFitnessPal instead?

Scraping MyFitnessPal violates their terms of service and risks IP bans, legal exposure, and breaking changes. A licensed REST API like YMove is safer and more reliable.

How long does it take to swap from a MyFitnessPal integration to YMove?

Most teams swap in under a day. The endpoints map cleanly: food search, barcode lookup, food details, and meal logging all have direct equivalents. The differences are in field names and authentication header (X-API-Key).

Does YMove include exercise data like MyFitnessPal does?

Yes, and unlike MyFitnessPal API access, exercise content is in the same plan. The $19/mo bundle includes the exercise API (HD videos), workout generator, and recipe API in addition to nutrition and food database.

Build on YMove instead

Sign up in under a minute, grab a key, and start calling the nutrition API.

Start Free Trial