Sonar Developers

Supported Native Data

The health data the mobile SDKs read on each platform, and where it appears in the API.

5 min read Updated Sep 23, 2026

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

How to read this iOS is available to everyone. Android is in early access
Read and synced Computed by Sonar Not read
Activity and Energy support by platform and API access
DataiOS
Apple Health Available
Android
Health Connect Early access
API access
Steps steps Read and synced Read and syncedDaily
Distance distance Read and synced Read and syncedDaily
Exercise minutes exercise Read and synced Not readDaily
Flights climbed flights_climbed Read and synced Read and syncedDaily
Active calories active_calories Read and synced Read and syncedDaily
Total calories total_calories Computed by Sonar from synced data Read and syncedDaily
Resting energy Read and synced Read and syncedStored
Stand minutes Read and synced Not readStored
Stand hours Read and synced Not readStored
Cycling distance Read and synced Not readStored
Swimming distance Read and synced Not readStored

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

Vitals support by platform and API access
DataiOS
Apple Health Available
Android
Health Connect Early access
API access
Heart rate heart_rate Read and synced Read and syncedDailyTimeseries
Resting heart rate resting_heart_rate Read and synced Read and syncedDaily
Heart-rate variability heart_rate_variability Read and synced Read and syncedDailyTimeseries
Respiratory rate respiratory_rate Read and synced Read and syncedDailyTimeseries
Blood oxygen blood_oxygen Read and synced Read and syncedDailyTimeseries
VO2 max vo2_max Read and synced Read and syncedDaily
Body temperature body_temperature Read and synced Read and syncedTimeseries
Skin temperature skin_temperature Not read Read and syncedTimeseries
Blood glucose blood_glucose Read and synced Read and syncedTimeseries
Blood pressure systolicdiastolic Read and synced Read and syncedTimeseries
Walking heart rate Read and synced Not readStored
Heartbeat series Read and synced Not readStored
Sleeping wrist temperature Read and synced Not readStored
Audio exposure Read and synced Not readStored

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

Body Measurements support by platform and API access
DataiOS
Apple Health Available
Android
Health Connect Early access
API access
Height height Read and synced Read and syncedDaily
Weight weight Read and synced Read and syncedDaily
Body mass index body_mass_index Read and synced Not readDaily
Body fat percentage body_fat_percentage Read and synced Read and syncedDaily
Lean body mass lean_body_mass Not read Not readDaily

Lean body mass is in the API from other providers, but neither SDK reads it yet.

Nutrition and Wellness

Nutrition and Wellness support by platform and API access
DataiOS
Apple Health Available
Android
Health Connect Early access
API access
Calories consumed calories_consumed Read and synced Read and syncedDaily
Carbohydrates carbohydrates Read and synced Read and syncedDaily
Protein protein Read and synced Read and syncedDaily
Fat fat Read and synced Read and syncedDaily
Fiber fiber Read and synced Read and syncedDaily
Sodium sodium Read and synced Read and syncedDaily
Water water Read and synced Read and syncedDaily
Alcoholic drinks alcohol_consumption Read and synced Not readDaily
Mindful sessions Read and synced Read and syncedStored

Workouts and Sleep

Workouts and Sleep support by platform and API access
DataiOS
Apple Health Available
Android
Health Connect Early access
API access
Workouts Read and synced Read and syncedWorkouts
Sleep sessions Read and synced Read and syncedSleep
Sleep stages light_sleepdeep_sleeprem_sleeptime_awake Read and synced Read and syncedSleepDaily
Time asleep and time in bed asleeptime_in_bed Computed by Sonar from synced data Computed by Sonar from synced dataSleepDaily

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.