What this integration does
Apple does not provide a web API for Health data - so we can't connect automatically like Strava and WHOOP. Instead, Baseline accepts the Apple Health Export, a zip file your iPhone generates, and extracts every workout, GPS route, heart rate sample, sleep stage, and body measurement inside. Baseline's import pipeline uses streaming XML parsing that handles multi-gigabyte exports without memory issues.
Once imported, your Apple Health data appears alongside your Strava activities and WHOOP recovery. Apple Watch workouts contribute to your training load. Overnight HRV readings sit next to your WHOOP HRV for comparison. Sleep stages are cross-referenced with training performance the next day.
How it works
-
Export from your iPhone. Open the Health app → tap your profile → scroll to "Export All Health Data." Your iPhone generates a zip with the export.xml archive and a folder of workout GPX routes. This takes 1–5 minutes depending on data volume.
-
Transfer the zip to your computer. AirDrop to your Mac, email it to yourself, or save to iCloud Drive. The zip ranges from 50 MB to 2 GB depending on how many years of data you have.
-
Upload to Baseline. On the Baseline dashboard, go to Import → Apple Health and drop the zip file. Our streaming XML parser processes the export in memory-efficient chunks, extracting workouts, heart rate samples, sleep stages, and body measurements. Most imports complete in 30–60 seconds.
What data we import
- Workouts: all sport types (running, cycling, swimming, hiking, walking, strength, yoga, etc.) with duration, distance, energy burned, and workout route GPX files
- GPS routes: full-resolution track data from Apple Watch workout route recordings, rendered on Baseline's interactive heatmap alongside Strava and Garmin routes
- Heart rate samples: per-second workout heart rate streams and ambient resting heart rate readings, used for time-in-zone analysis and recovery heart rate calculation
- Resting heart rate: daily morning RHR readings recorded by your Apple Watch over time, plotted as a trend that correlates with training load
- Heart rate variability: overnight RMSSD readings - the same metric WHOOP and Garmin use for recovery scoring - enabling cross-device HRV comparison
- Sleep stages: time in bed, time asleep, and stage breakdowns (awake, REM, core, deep) for nights when you track sleep with your Apple Watch
- Body measurements: weight, body fat percentage, lean body mass, BMI, and waist circumference with historical trend charts
- Walking and running distance: daily step counts and distance covered outside of structured workouts, contributing to your total daily load
What we don't store or send
Your Apple Health export contains highly granular health data. Baseline processes the zip in memory - we never store the raw export.xml file. Extracted data points are stored in your private Firestore document tree, encrypted at rest with customer-managed encryption keys. We do not share, sell, or use your health data for any purpose beyond displaying it on your personal dashboard. Apple Health data is never used in training data for Baseline's AI features. You can delete every Apple Health data point from your account in one click.
FAQ
How soon does my Apple Health data appear in Baseline?
Data appears immediately after the zip upload completes - typically 30–60 seconds. Apple Health has no real-time API, so you must re-export and re-upload for new data. Most athletes re-import monthly. Incremental re-imports only process new data since your last import.
What date range of data do you import?
The entire contents of your Apple Health export - potentially years of data. Apple Health exports include every data point from the first day you used Health. There's no 90-day limit as with Strava and WHOOP, making this the best option for importing historical health data.
How do I disconnect Apple Health from Baseline?
Apple Health uses a manual zip upload, not an OAuth connection, so there's no token to revoke. Stop uploading new exports. Existing data remains until you delete it from Settings → Data.
How do I delete my Apple Health data from Baseline?
From Settings → Data, click "Delete all imported data" and select Apple Health. All data points are immediately removed, entering a 30-day soft-delete window for recovery before permanent deletion. Since the zip file itself is not stored, no residual data remains.