Terra API
APIOne API for users' health data from Garmin, Oura, Fitbit, Apple Health and more
- Access
- dev-id and x-api-key headers
About
Terra connects 500+ wearables and health apps through one API and webhooks: activity, sleep, body, heart rate and nutrition data. Apple Health, Samsung Health and Health Connect need its mobile SDKs, and Garmin, Whoop or Strava need your own developer credentials. Paid plans only.
What you can do with it
- Sync sleep, steps and heart rate from users' Garmin, Oura and Whoop devices
- Read Apple Health and Health Connect data through Terra's iOS and Android SDKs
- Let an AI agent read a user's wearable health data through Terra's MCP server
Get started
- Create a developer account and copy your dev-id and API key
- Connect a user's device through the Terra auth widget
- Request their data or receive it on your webhook
Example
curl "https://access.tryterra.co/api/v2/sleep?user_id=$TERRA_USER_ID&start_date=2026-09-01&to_webhook=false" \
-H "dev-id: $TERRA_DEV_ID" \
-H "x-api-key: $TERRA_API_KEY"Details
- Hosting
- Hosted service
- Available in
- Worldwide
- Official SDKs
- Python, JavaScript/TypeScript, Swift, Kotlin, Dart, Java
- MCP server
- Remote