01
Why wearable data is harder than it looks
Each platform exposes data differently. Apple's HealthKit is a local store on the iPhone, so your app must be installed and the user must grant per-type permissions. Android's Health Connect is a similar on-device store. Vendor clouds sit on the other side, with OAuth consent, rate limits and delayed data.
Because values are produced by proprietary algorithms, a sleep score or a readiness number is not a standardized measurement, and comparing it across vendors is misleading.
- Permissions are granular and revocable; apps must handle partial or withdrawn access.
- Background delivery is limited by the operating system, so data can arrive in bursts.
- Duplicates and overlaps: the same step count can be recorded by a phone and a watch.
- Device and platform policies change, requiring ongoing maintenance.
02
Wearable integration capabilities
Apple HealthKit integration
Authorization per data type, observer queries and background delivery for updates, anchored queries for incremental sync, and handling of data source and device metadata. Apps that read clinical records from HealthKit need additional care.
Android Health Connect integration
Permission flows, reading records and changes tokens for incremental sync, and handling variations across Android versions and device makers.
Vendor cloud APIs
OAuth 2.0 connection flows, webhook or polling ingestion, and token refresh for services such as fitness and CGM platforms. Many vendors only expose data after the user has synced the device to the vendor app.
Aggregator evaluation
Where it makes sense we compare device-data aggregators against building direct integrations, covering cost, data coverage, latency and the extra subprocessor risk.
Normalization and data quality
A canonical model with units, timestamps in UTC plus offset, source and device identifiers, and quality flags, mapped to FHIR Observations with LOINC or UCUM codes where appropriate.
03
Architecture for wearable data pipelines
A mobile app does the on-device reads from HealthKit or Health Connect, buffers locally and syncs to your backend over TLS. Vendor cloud data comes straight to the backend through webhooks or scheduled pulls. Both paths land in an ingestion service that writes raw payloads, then a normalization job produces canonical measurements.
Downstream, a rules and thresholds service raises alerts, and a clinician-facing layer shows trends rather than raw samples. For connected programs, see remote patient monitoring development and our wearable health app development work.
- Idempotent ingestion keyed on source, device and sample ID, so retries never duplicate readings.
- Time-series storage with a retention policy and downsampling for long histories.
- Source precedence rules for overlapping data from phone, watch and manual entry.
- Backfill and gap detection: show clinicians when data is missing instead of interpolating silently.
- Consent ledger: record what the user agreed to, per data type and per vendor.
04
Privacy, security and regulatory notes for wearable data
Whether HIPAA applies depends on who you are working for. A consumer wellness app that is not a covered entity or business associate is generally outside HIPAA, but it may fall under the FTC Health Breach Notification Rule and state privacy laws, which cover health data collected from consumers.
- Law: FTC Act and Health Breach Notification Rule for many non-HIPAA health apps; state laws such as Washington's My Health My Data Act add consent requirements; HIPAA applies when you act for a covered entity.
- Platform rules: Apple and Google impose their own restrictions on health data use, including limits on advertising and data sale. Review current policies.
- Engineering practice: minimize data collected, request permissions at the moment of need, encrypt local caches, avoid sharing raw health data with analytics SDKs.
- Regulatory: a wearable-derived feature that diagnoses, treats or monitors a condition may be a medical device, depending on intended use. See our FDA software as a medical device guide.
05
Platforms and systems in a wearable integration
| Source | Access pattern | Main considerations |
|---|---|---|
| Apple HealthKit | On-device store; app-granted permissions per type | iOS only; background delivery limits; requires app installed |
| Android Health Connect | On-device store with permission flows | Android version support; device maker differences |
| Vendor cloud APIs | OAuth plus webhooks or polling | Data delayed until device syncs; rate limits; vendor terms |
| Aggregator APIs | Single API for many vendors | Cost, coverage and an additional data processor |
| Direct BLE devices | See medical device integration | Pairing UX and firmware variance |
06
How we deliver wearable integrations
- Data requirements: which measurements, how often, how fresh, and what decisions depend on them.
- Source strategy: direct integrations versus aggregator, informed by device coverage in your population.
- Prototype: a working sync with real devices and test accounts to expose permission and background issues early.
- Normalization and quality rules: units, timestamps, duplicates, gaps, outliers.
- Field testing: multi-day tests with a range of devices and phone models.
- Maintenance plan: track OS and vendor API changes with scheduled regression runs.
07
Wearable integration use cases
- A cardiac rehab program reviewing heart rate and activity trends between visits.
- A diabetes coaching app combining CGM readings with meals and activity.
- A sleep or recovery program showing trends to a coach, with explicit limits on interpretation.
- A corporate wellness product with consent-first data sharing.
- A clinical study collecting passive sensor data alongside surveys.
08
Wearable integration cost and timeline factors
Planning ranges only, depending on the number of sources and the clinical rigor required.
| Scope tier | Typical timeline | Main cost drivers |
|---|---|---|
| One platform (HealthKit or Health Connect), few data types | 4 to 8 weeks | Permissions, background sync, testing devices |
| Both platforms plus one or two vendor clouds | 3 to 5 months | Normalization, OAuth flows, provenance handling |
| Multi-vendor program with alerting and EHR output | 5 to 9 months | Thresholds, clinician UI, EHR write-back, data quality rules |
Frequently asked questions
Can we read Apple Watch data from the web?
No. HealthKit data lives on the user's iPhone, so you need a native iOS app with the user's permission to read it and send it to your backend. Some vendor clouds offer web APIs for their own devices, but Apple does not for HealthKit.
Should we use an aggregator API or integrate directly?
Aggregators speed up coverage of many vendors but add cost and another processor handling health data. Direct integration gives more control at the price of maintenance. For a handful of target devices, direct is often cheaper over time.
Is wearable data accurate enough for clinical use?
It depends on the device, the metric and the use case. Some features have regulatory clearance for specific purposes, many do not. We do not assert clinical accuracy; we help you document limitations and validate on your own population.
Does HIPAA apply to wearable data?
Only if you are a covered entity or a business associate handling the data for one. Direct-to-consumer apps often are not, but the FTC and state laws may apply. Get legal advice on your specific role.
Sources and further reading
This page is general information, not legal or regulatory advice. Requirements depend on your product, data and organization; consult qualified counsel for your situation.