Supported Native Data
The health data the mobile SDKs read on each platform, and where it appears in the API.
Apple Health on iOS is available through the iOS SDK and the React Native module. Health Connect on Android is in early access: its column shows what the Android SDK reads. A direct Samsung Health integration is in the same early access.
At connect, the SDK asks for read access to every type it supports and syncs the ones the user allows. A supported type can still be missing for a user: their devices may not record it, no app may have written it, or they did not allow it. On iOS, Apple does not tell apps which of these it is.
The API access column names where the data appears:
- Daily:
/v1/users/{id}/daily - Timeseries:
/v1/users/{id}/timeseries - Workouts and Sleep: their own resources
- Stored: Sonar collects and keeps it from the first sync, so it is already there when new endpoints serve it
The code under each name is its metric ID. See the Metric Catalog for units.
Activity and Energy
| Data | iOS Apple Health Available | Android Health Connect Early access | API access |
|---|---|---|---|
Steps steps | Read and synced | Read and synced | Daily |
Distance distance | Read and synced | Read and synced | Daily |
Exercise minutes exercise | Read and synced | Not read | Daily |
Flights climbed flights_climbed | Read and synced | Read and synced | Daily |
Active calories active_calories | Read and synced | Read and synced | Daily |
Total calories total_calories | Computed by Sonar from synced data | Read and synced | Daily |
| Resting energy | Read and synced | Read and synced | Stored |
| Stand minutes | Read and synced | Not read | Stored |
| Stand hours | Read and synced | Not read | Stored |
| Cycling distance | Read and synced | Not read | Stored |
| Swimming distance | Read and synced | Not read | Stored |
On iOS, distance is walking and running distance; cycling and swimming are separate. Sonar computes total calories as active calories plus resting energy when both are present. On Health Connect, when an app reports only total and resting calories, Sonar computes active calories from them.
Vitals
| Data | iOS Apple Health Available | Android Health Connect Early access | API access |
|---|---|---|---|
Heart rate heart_rate | Read and synced | Read and synced | DailyTimeseries |
Resting heart rate resting_heart_rate | Read and synced | Read and synced | Daily |
Heart-rate variability heart_rate_variability | Read and synced | Read and synced | DailyTimeseries |
Respiratory rate respiratory_rate | Read and synced | Read and synced | DailyTimeseries |
Blood oxygen blood_oxygen | Read and synced | Read and synced | DailyTimeseries |
VO2 max vo2_max | Read and synced | Read and synced | Daily |
Body temperature body_temperature | Read and synced | Read and synced | Timeseries |
Skin temperature skin_temperature | Not read | Read and synced | Timeseries |
Blood glucose blood_glucose | Read and synced | Read and synced | Timeseries |
Blood pressure systolicdiastolic | Read and synced | Read and synced | Timeseries |
| Walking heart rate | Read and synced | Not read | Stored |
| Heartbeat series | Read and synced | Not read | Stored |
| Sleeping wrist temperature | Read and synced | Not read | Stored |
| Audio exposure | Read and synced | Not read | Stored |
Apple Health measures heart-rate variability as SDNN, and heart_rate_variability carries those SDNN values for Apple Health data. Health Connect reports RMSSD. Do not compare the two directly.
On iOS, body temperature also includes basal body temperature.
Body Measurements
| Data | iOS Apple Health Available | Android Health Connect Early access | API access |
|---|---|---|---|
Height height | Read and synced | Read and synced | Daily |
Weight weight | Read and synced | Read and synced | Daily |
Body mass index body_mass_index | Read and synced | Not read | Daily |
Body fat percentage body_fat_percentage | Read and synced | Read and synced | Daily |
Lean body mass lean_body_mass | Not read | Not read | Daily |
Lean body mass is in the API from other providers, but neither SDK reads it yet.
Nutrition and Wellness
| Data | iOS Apple Health Available | Android Health Connect Early access | API access |
|---|---|---|---|
Calories consumed calories_consumed | Read and synced | Read and synced | Daily |
Carbohydrates carbohydrates | Read and synced | Read and synced | Daily |
Protein protein | Read and synced | Read and synced | Daily |
Fat fat | Read and synced | Read and synced | Daily |
Fiber fiber | Read and synced | Read and synced | Daily |
Sodium sodium | Read and synced | Read and synced | Daily |
Water water | Read and synced | Read and synced | Daily |
Alcoholic drinks alcohol_consumption | Read and synced | Not read | Daily |
| Mindful sessions | Read and synced | Read and synced | Stored |
Workouts and Sleep
| Data | iOS Apple Health Available | Android Health Connect Early access | API access |
|---|---|---|---|
| Workouts | Read and synced | Read and synced | Workouts |
| Sleep sessions | Read and synced | Read and synced | Sleep |
Sleep stages light_sleepdeep_sleeprem_sleeptime_awake | Read and synced | Read and synced | SleepDaily |
Time asleep and time in bed asleeptime_in_bed | Computed by Sonar from synced data | Computed by Sonar from synced data | SleepDaily |
Workouts include the activity type, start, end, duration, calories, and distance when the source has them.
Sleep also feeds the daily sleep metrics: sleep efficiency, restorative sleep, and heart rate, heart-rate variability, respiratory rate, and blood oxygen during sleep when those samples exist.
Sources
Apple Health mixes data from many apps and devices. The SDK sends records from every source the user allowed, and Sonar resolves overlaps when it processes the data.
For totals such as steps, distance, calories, and nutrition, the SDK sends Apple Health’s own combined numbers. They follow the source order the user set in the Health app. The consolidation settings choose between providers, such as Apple Health and Garmin, not between the apps inside Apple Health.
Deleting a record in Apple Health does not remove it from Sonar. See Edits and Deletions.
Sonar