• Unified API
  • Mobile SDK
  • Connection Widget
  • Streaming
  • Lab Reports API
  • Graph API
  • Health Scores
  • Health Rewards
  • Planned Workouts
  • Lab Testing
  • AI Interface
  • Enterprise
  • Insurance
  • Integrations
  • Research
  • Podcast
  • Blog
  • Reports
  • Events
  • Documentation
  • Community
  • Example apps
  • Wearable Data
  • About
  • Customers
  • Partners
  • Careers
  • Support
  • Pricing
Terra
Pricing
Become an integrationGet started

MyFitnessPal API Integration

With Terra's MyFitnessPal API integration, your app can access detailed nutrition data from one of the world's most popular food-tracking platforms. The integration delivers meal-level data including calories, macronutrients, micronutrients, and water intake, normalized and delivered to your webhook.

Start Receiving Data From MyFitnessPal In 5 Minutes

MyFitnessPal

MyFitnessPal

Enable MyFitnessPal through your Terra dashboard

Select a Wearable

MyFitnessPal

MyFitnessPal

Connect users to your app

0. "active_durations_data":{...}
1. "calories_data": {...}
2. "device_data": {...}
3. "distance_data": {...}
4. "heart_rate_data": {...}
5. "movement_data": {...}
6. "position_data": {...}

Start receiving data from MyFitnessPal on your app or website

How the MyFitnessPal API integration works

Data delivery
Terra polls MyFitnessPal
Expected latency
Up to 5–10 minutes after the provider syncs
Data types
Nutrition
Credentials
No provider credentials required

Two ways to receive MyFitnessPal data

When data is available from a MyFitnessPal device, Terra sends it straight to your webhook. During your Terra account setup you'll be prompted for a callback URL, and that is where Terra POSTs each payload.

MyFitnessPal does not notify Terra when data changes, so Terra polls it every 5–10 minutes for each connected user and POSTs the normalized payload to your webhook.

MyFitnessPal's Nutrition
Payload Preview

Terra API preserves the raw data from the wearable, it just standardizes the units and the json format. It doesn’t augment or change the raw data in any way.

Data is organized into one of 6 data types.

Learn More

MyFitnessPal's Available Data Types

Nutrition Payload (JSON)

{

meals: [ ... ]

metadata: { ... }

summary: { ... }

}

Data can also be sent as a FIT File or with the FHIR Format.

Send MyFitnessPal data to your backend

Terra forwards every normalized payload to the destination you already use.
WebhookWebhook
FirestoreFirestore
SQLSQL
Mongo DBMongo DB
Google Cloud Storage BucketGoogle Cloud Storage Bucket
WebhookWebhook
FirestoreFirestore
SQLSQL
Mongo DBMongo DB
Google Cloud Storage BucketGoogle Cloud Storage Bucket
AWS S3 BucketAWS S3 Bucket
AWS Simple Queue ServiceAWS Simple Queue Service
KafkaKafka
SupabaseSupabase
Azure BlobAzure Blob
AWS S3 BucketAWS S3 Bucket
AWS Simple Queue ServiceAWS Simple Queue Service
KafkaKafka
SupabaseSupabase
Azure BlobAzure Blob

People Often Ask Us...

How do I access MyFitnessPal data via API?

Terra provides a web API integration with MyFitnessPal. After your users authenticate through Terra's widget, Terra fetches their nutrition and meal logging data and POSTs each normalized payload to your webhook.

How quickly does MyFitnessPal data reach my app?

Terra polls MyFitnessPal every 5–10 minutes for each connected user, so new data reaches your webhook within that window of a device sync. Your app stays current with users' dietary tracking throughout the day.

What data is available from MyFitnessPal through Terra?

Through Terra's MyFitnessPal integration, you can access nutrition data. This includes detailed meal logs, calorie counts, macronutrient breakdowns of carbohydrates, fats, and protein, and micronutrient information for every logged meal.

How much does the MyFitnessPal API integration cost?

Every Terra plan includes unlimited integrations, so there is no separate charge for MyFitnessPal. Pricing is credit-based, with 100,000 credits included each month and usage-based rates beyond that. Every plan carries a 30-day money-back guarantee, so you can build against real MyFitnessPal data risk-free.

Can't Find Your Question?

What devices are supported?

Terra API integrates with any MyFitnessPal device currently supported by MyFitnessPal.

MyFitnessPal

Connect with our MyFitnessPal Integration

MyFitnessPal API alternatives

These integrations also offer Nutrition data.

EatThisMuch

EatThisMuch

Nutracheck

Nutracheck

PÜL

PÜL

FatSecret

FatSecret

MacrosFirst

MacrosFirst

Cronometer

Cronometer

My Macros+

My Macros+

Virtuagym

Virtuagym

Ask, Learn, and Connect

Explore the community forum and connect to Terra API with ease.

Ask a Question

The world's best health apps run on Terra data

Get started
ProductsIntegrations AI Interface Authentication Mobile Development Documentation GraphAPI
DocumentationAPI SDK Quickstart
CommunityBlog Research Community Podcast Github
CompanyAboutCareersCustomersBecome an IntegrationCookies PolicyGDPRPrivacy PolicyTerms of Purchase
© Terra API. 2026 — All rights reserved.

Cookie Preferences

Essential CookiesAlways On
Advertisement Cookies
Analytics Cookies

Crunch Time: Embrace the Cookie Monster Within!

We use cookies to enhance your browsing experience and analyse our traffic. By clicking “Accept All”, you consent to our use of cookies according to our Cookie Policy. You can change your mind any time by visiting out cookie policy.

Cookies Policy