Terra

Integration

API
Unified API
SDK
SDK
Authentication
Authentication
Streaming
Streaming
Blood
Blood Report API
Planned Workout
Planned Workout
AI Interface
AI Interface

User engagement

Graph API
Graph API
Scores
Health Scores
Rewards
Health Rewards

Use cases

Enterprise
Enterprise
Insurance
Insurance

Developers

Wearable Data
Wearable Data
Community
Community
Documentation
Documentation

Learn

Blog
Blog
Podcast
Podcast
Events
Events
Reports
Reports

Company

Customers
Customers
Careers
Careers
Partners
Partners
Support
Support
Become an integration
Become an integration

Google Fit API Integration

With Terra's Google Fit web API integration, Terra gathers data from a multitude of sources through the Google Fit unified API, and provides it to your app. You can expect a wide range of collected data points, ranging from users' automatically tracked workouts, to detailed sleep information. This will reflect all data that can be synced into users' Google Fit apps through one simple integration.

Start Receiving Data From Google Fit In 5 Minutes

Google Fit

Google Fit

Enable Google Fit through your Terra dashboard

Select a Wearable

Google Fit

Google Fit

Connect

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

You Can Receive...

Recent Data with Webhooks
Historical Data with HTTP Requests

When data is available from a Google Fit device, it will be streamed to you via our webhooks. During your Terra account setup, you'll be prompted to provide a callback URL, allowing Terra to PUSH data using POST requests.

You may also use HTTP requests with your Google Fit integration in case you wish to request historical data or data over extended periods of time.

Our Google Fit integration with Terra offers instant data delivery, eliminating the need for periodic requests. Google Fit notifies Terra whenever new data is available, and we then POST the normalized data to your webhook.

Most HTTP endpoints can take additional parameters start_date and end_date which allow you to request data over a specific period for the given user.

When data is available from a Google Fit device, it will be streamed to you via our webhooks. During your Terra account setup, you'll be prompted to provide a callback URL, allowing Terra to PUSH data using POST requests.

Our Google Fit integration with Terra offers instant data delivery, eliminating the need for periodic requests. Google Fit notifies Terra whenever new data is available, and we then POST the normalized data to your webhook.

Google Fit's

Activity


Payload Preview

Google Fit's

Body


Payload Preview

Google Fit's

Daily


Payload Preview

Google Fit's

Sleep


Payload Preview

Google Fit'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

Google Fit's Avaliable Data Types

Activity Payload (JSON)

{

metadata: { ... }

device_data: { ... }

power_data: { ... }

active_durations_data: { ... }

calories_data: { ... }

movement_data: { ... }

distance_data: { ... }

oxygen_data: { ... }

heart_rate_data: { ... }

}

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

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

Effortless Backend Integrations

Send your users data to a variety of different destinations.
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

What devices are supported?

Terra API integrates with any Google Fit device currently supported by Google Fit.

Pixel Watch 4
Pixel Watch 3
Pixel Watch 2
Pixel Watch
Pixel 4 / 4a / 4 XL
Pixel 5 / 5a
Pixel 6 / 6a / 6 Pro
Pixel 7 / 7a / 7 Pro

Connect with our Google Fit Integration

Similar Integrations

These integrations also offer Activity, Body, Daily, Sleep and Nutrition data.

Apple

Apple

Fitbit

Fitbit

Samsung

Samsung

Ask, Learn, and Connect

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

The world's best health apps run on Terra data

ProductsIntegrations Authentication Mobile Development Documentation GraphAPI
DocumentationAPI SDK Quickstart
CommunityBlog Research Community Podcast Github
CompanyAboutCareersCustomersBecome an IntegrationCookies PolicyGDPRPrivacy PolicyTerms of Purchase
© Terra API. 2025 — 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.