• 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

MacrosFirst API Integration

With Terra's MacrosFirst web API integration, your app can access nutrition tracking and macro counting data from the MacrosFirst platform. The integration delivers macronutrient breakdowns, caloric intake, and meal timing data, normalized and delivered to your webhook.

Start Receiving Data From MacrosFirst In 5 Minutes

MacrosFirst

MacrosFirst

Enable MacrosFirst through your Terra dashboard

Select a Wearable

MacrosFirst

MacrosFirst

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 MacrosFirst on your app or website

How the MacrosFirst API integration works

Data delivery
Terra polls MacrosFirst
Expected latency
Up to 5–10 minutes after the provider syncs
Data types
Body and Nutrition
Credentials
Terra manages the MacrosFirst API credentials, so there is nothing to register

Two ways to receive MacrosFirst data

When data is available from a MacrosFirst 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.

MacrosFirst 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.

MacrosFirst's Body
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

MacrosFirst's Available Data Types

Body Payload (JSON)

{

metadata: { ... }

}

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

Send MacrosFirst 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 MacrosFirst nutrition data through an API?

Your user connects their MacrosFirst account through the Terra widget, and Terra reads their macro tracking, normalizing each entry into standard Nutrition and Body payloads delivered to your webhook.

How quickly does MacrosFirst data reach my app?

Terra polls MacrosFirst every 5–10 minutes for each connected user, so new data reaches your webhook within that window of a device sync.

What data is available from MacrosFirst through Terra?

Through Terra's MacrosFirst integration, you can access body and nutrition data.

What nutrition detail does MacrosFirst return?

Macronutrient breakdowns, caloric intake and meal timing, which is what a macro-first coaching or tracking feature needs — plus the body measurements users log against those targets.

Do I need MacrosFirst API credentials?

No. Terra manages the MacrosFirst API credentials, so there is nothing for you to register before reading your users' logs.

Can't Find Your Question?

What devices are supported?

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

MacrosFirst

Connect with our MacrosFirst Integration

MacrosFirst API alternatives

These integrations cover some of the same data types.

FatSecret

FatSecret

Cronometer

Cronometer

My Macros+

My Macros+

Virtuagym

Virtuagym

Wger

Wger

MyFitnessPal

MyFitnessPal

Aktiia

Aktiia

Core

Core

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