HealthAPI
API by Healthapi · rest
HealthAPI is a read-only JSON API over your own Apple Health data, synced from the HealthAPI iPhone app. A key only ever reads the data of the account it belongs to. Human-readable docs: https://healthapi.app/docs Authentication. Send your personal API key as Authorization: Bearer <key>. Get it in the HealthAPI iPhone app under Connect > Other tools. Dates and timezones. date parameters are local calendar days (YYYY-MM-DD) in the account's timezone, which the app keeps current; the summary endpoints (/query/*, /health/daily-summary, /health/weekly-summary) also take tz (an IANA name) to override it. A day runs local midnight to midnight. In responses, *_utc timestamps are UTC and *_local timestamps carry the local offset. Units. Percentages in raw readings (oxygenSaturation, bodyFatPercentage, ...) are fractions: 0.97 means 97%. The summary endpoints convert SpO2 to a 0-100 percent (spo2_pct). Daily request limits (per account; the window…
Endpoint: https://healthapi.app/api/v1
Verification: observed. Source: crawl.
Capabilities (9)
- Download everything stored for the account (large JSON)
- Full daily roll-up: activity energy heart sleep workouts
- Most recent reading of every metric
- Individual readings newest first
- Totals and averages for one ISO week with a per-day breakdown
- Workout sessions newest first
- Steps average heart rate and workouts for one day
- Daily values of one metric over the last N days
- Get plan daily quota and access status