• 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

FatSecret API Integration

With Terra's FatSecret web API integration, you can sync your users' data and support them along their weight loss journey with the Terra API. You will gain access to all of your users' logged meals, getting detailed macronutrient and macronutrient information for the users' dietary patterns.

Start Receiving Data From FatSecret In 5 Minutes

FatSecret

FatSecret

Enable FatSecret through your Terra dashboard

Select a Wearable

FatSecret

FatSecret

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

How the FatSecret API integration works

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

Two ways to receive FatSecret data

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

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

FatSecret'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

FatSecret's Available Data Types

Body Payload (JSON)

{

metadata: { ... }

}

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

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

Terra's FatSecret integration is a web API integration. Your user connects their FatSecret account through the Terra widget, and Terra reads their food diary, normalizes each logged meal into its standard Nutrition payload, and POSTs it to your webhook.

How quickly does FatSecret data reach my app?

Terra polls FatSecret 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 FatSecret through Terra?

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

How detailed is the FatSecret nutrition data?

Meal-level rather than day-level. Every logged item carries its calorie count and a full macronutrient breakdown of carbohydrates, fat and protein, together with the micronutrient detail FatSecret holds for that food, so you can analyse dietary patterns rather than a single daily number.

Do I need a FatSecret Platform API account?

No. Terra manages the FatSecret API credentials, so there is nothing to register on the FatSecret platform before you start reading your users' logs.

Can't Find Your Question?

What devices are supported?

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

Fatsecret

Connect with our FatSecret Integration

FatSecret API alternatives

These integrations cover some of the same data types.

MacrosFirst

MacrosFirst

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