AH
SDK (iOS)

Apple Health API Integration

Apple Health is the most comprehensive data source Rabts supports — 100+ metric types via HealthKit, delivered through the mobile SDK.

What You Get

Data available from Apple Health

100+ HealthKit Metric Types
Full Sleep Staging
Heart Rate & HRV (SDNN)
Walking & Running Biomechanics
Body Composition
Environmental & Audio Exposure
How It Works

From Apple Health to your product

1

Connect

The athlete authorizes access via Apple Health's own OAuth flow — no credentials touch your servers.

2

Normalize

Rabts maps Apple Health's data into the same unified schema used across every other provider — consistent units, consistent field names.

3

Access

Query it through the unified REST API, or subscribe to webhooks for real-time updates as new data arrives.

Notes & Limitations

What to know about Apple Health

  • Push-based via the SDK — no OAuth, since HealthKit data lives on-device until the user's app syncs it.
  • The broadest single-provider metric coverage Rabts supports (100+ HealthKit record types).
  • HRV is measured as SDNN, not RMSSD — the two aren't directly comparable across providers.
  • Some walking-biomechanics metrics require the iPhone to be carried in a pocket during the activity — an Apple platform constraint.
  • Sleep biometrics (heart rate, HRV, SpO2 during sleep) aren't yet extracted as part of the sleep record itself.
Example

Query Apple Health data through one API

bash
curl https://api-sport.rabts.com/api/v1/users/{user_id}/timeseries \
  -H "X-Open-Wearables-API-Key: YOUR_API_KEY"
FAQ

Apple Health integration questions

Do I need Apple's approval to use HealthKit data?

You need standard HealthKit entitlements in your iOS app, same as any HealthKit integration — Rabts' SDK handles the sync and normalization from there.

Is Apple Health data real-time?

It arrives whenever the user's app syncs with HealthKit — typically on app open or in the background, not via server push.

Connect Apple Health in minutes

Create a free account and start pulling normalized Apple Health data through one API.

Create free account