Health Data by Metric: Which API for Each
Want the provider view instead? Compare by category in the fitness API landscape, or read up on the concepts behind the numbers in the explainers. When you know the source, the integration guides take it from there.
Cardio & recovery
The signals from the heart — measured and estimated.
- Heart Rate API: How to Get Heart-Rate Data Into Your AppGet heart-rate data via HealthKit, Health Connect, and wearable cloud APIs. HR is measured and wellness-grade. Compare sources and pick the right one.Verified July 24, 2026
- HRV API: How to Get Heart Rate Variability DataGet HRV data from HealthKit, Health Connect, Oura, WHOOP, Garmin and more. Measured, but RMSSD vs SDNN and the timing window matter. Best pick inside.Verified July 24, 2026
- VO2 Max API: How to Get VO2 Max DataGet VO2 max via API: HealthKit, Health Connect, Garmin, Fitbit, Oura. Consumer VO2 max is estimated, not lab-measured. Sources, accuracy, best pick.Verified July 24, 2026
- Blood Oxygen (SpO2) API: How to Get SpO2 DataGet SpO2/blood oxygen data from HealthKit, Health Connect, Fitbit, Garmin, Oura, and WHOOP. Measured but wellness-grade, not a medical diagnostic.Verified July 24, 2026
Activity & movement
What the body does — steps, workouts, routes, energy.
- Step Counting API: How to Get Step DataGet step counts from the phone (HealthKit, CMPedometer, Health Connect) or wearables. Handle phone+watch double-counting and pick the right source.Verified July 24, 2026
- Workout Detection API: Get Recorded Workout SessionsRead workout sessions from HealthKit, Health Connect, Strava and Garmin. Which providers auto-detect vs need a manual start, plus the best pick.Verified July 24, 2026
- GPS Activity API: How to Get Route Data from WorkoutsGet GPS route data from HealthKit, Health Connect, Strava and Garmin. Coordinates are measured but noisy; watch Strava's display terms. Best pick inside.Verified July 24, 2026
- Calorie Tracking API: How to Get Calorie DataGet calorie data from HealthKit, Health Connect and wearables. Burned calories are estimates; consumed needs a nutrition API like Nutritionix.Verified July 24, 2026
Sleep & body
Overnight staging and body measurements.
- Sleep Tracking API: How to Get Sleep Data Into Your AppGet sleep data via API from Oura, WHOOP, Fitbit, Garmin, HealthKit and Health Connect. Duration is measured, stages are estimated and mapped differently.Verified July 24, 2026
- Body Composition API: Weight, Body Fat, and Lean Mass DataGet body composition via API: weight, body fat %, BMI, lean mass from HealthKit, Health Connect, and Withings scales. Most wearables don't measure it.Verified July 24, 2026
Vitals & reproductive health
The sensitive end of the store — sourced, typed, and privacy-first.
- Blood Pressure API: How to Read BP Data In Your AppHow blood pressure works in HealthKit and Health Connect: systolic and diastolic as a pair, mandatory cuff-site fields, and why no wearable supplies it.Verified August 12, 2026
- Blood Glucose API: How to Get Glucose Data Into Your AppRead glucose via HealthKit bloodGlucose and Health Connect BloodGlucoseRecord. Meter and CGM sourced, mg/dL vs mmol/L traps, and the medical-claim line.Verified August 12, 2026
- Respiratory Rate API: How to Get Breathing-Rate DataRead respiratory rate from HealthKit, Health Connect, and wearable APIs. The schemas hold a number and a timestamp, and never say how it was derived.Verified August 12, 2026
- Menstrual Cycle API: How to Get Cycle Tracking DataRead cycle data via HealthKit Reproductive Health types and Health Connect Cycle Tracking records. Mostly logged, not measured - and highly sensitive.Verified August 12, 2026
Frequently asked questions
- Where does health data actually come from?
- For most metrics you have three routes: the on-device platform stores (Apple HealthKit on iOS, Android Health Connect), a specific wearable's cloud API (Fitbit, Garmin, Oura, WHOOP, Strava), or a health-data aggregator that normalizes many of them behind one integration. Which route is best depends on the metric — some are nearly universal (steps, heart rate), others need specific hardware (body composition needs a smart scale).
- Is the data measured or estimated?
- It varies by metric, and it matters. Heart rate and HRV are measured; steps are counted (algorithmically); calorie burn, VO2 max, and sleep stages are modeled estimates, not clinical measurements. Each page here is explicit about which, because presenting an estimate as a measurement is both misleading and, for health features, a compliance risk. Treat consumer-device data as a wellness signal, not a diagnosis.
- Do I need a wearable for every metric?
- No. Steps, basic activity, and GPS can come from the phone itself. But recovery and physiology metrics (HRV, VO2 max, blood oxygen, sleep stages) generally require a wearable, and body composition needs a smart scale or manual entry. Each page notes what hardware, if any, the user must have.
Independent comparison, last reviewed July 24, 2026. Pricing, rate limits, and feature availability change often — confirm current details in each provider’s official documentation before you commit. Product and company names are trademarks of their respective owners; AIFitnessAPI is not affiliated with, endorsed by, or sponsored by any product listed here.