Skip to content
AF
HealthKit reference

walkingHeartRateAverage: HealthKit quantity type

HKQuantityTypeIdentifierWalkingHeartRateAverage · read from Apple’s documentation on 2026-10-02

HKQuantityTypeIdentifier.walkingHeartRateAverage (Objective-C HKQuantityTypeIdentifierWalkingHeartRateAverage) is a HealthKit quantity type in Apple's "Vital signs" group. Apple's abstract: “A quantity sample type that measures the user’s heart rate while walking.” Apple's discussion says its samples use count/time units and measure discrete values, so in HKStatisticsQuery it takes .discreteAverage, .discreteMin or .discreteMax. Apple states that apps cannot save it: “You cannot save your own walking heart rate samples; however, you can query these samples.” It is available from iOS 11.0 and watchOS 4.0.

What Apple says walkingHeartRateAverage is

A quantity sample type that measures the user’s heart rate while walking.

Apple’s abstract, quoted from its walkingHeartRateAverage reference page, read 2026-10-02. Apple’s discussion of the type runs 107 words.

Swift
HKQuantityTypeIdentifier.walkingHeartRateAverage
Objective-C
HKQuantityTypeIdentifierWalkingHeartRateAverage
Family
HKQuantityTypeIdentifier
Apple's topic group
Vital signs
Group page
Vital signs

Availability

The versions Apple’s documentation data gives for walkingHeartRateAverage, platform by platform, as read on 2026-10-02.

PlatformIntroducedDeprecated
iOS11.0—
iPadOS11.0—
Mac Catalyst13.0—
macOS13.0—
visionOS1.0—
watchOS4.0—

The rest of that release: HealthKit Types Introduced in iOS 11.

Sum or average, and in which units

Apple states both of these in the prose of the type’s discussion, not as properties, so they are derived from Apple’s sentence and the sentence is shown with each.

Aggregation style

discrete — in an HKStatisticsQuery, use .discreteAverage, .discreteMin or .discreteMax. Apple’s sentence:

These samples use count/time units (described in ) and measure discrete values (described in ).

Unit family

count/time — every type in this family is on the HKUnit reference.

Apple states it in the same sentence as the aggregation style, quoted above.

Empty parentheses and a dangling “described in” mark links in Apple’s sentence to other documentation pages: the generator keeps the sentence’s text, not its links, and the quote is left as stored rather than repaired.

Can apps write walkingHeartRateAverage?

No. Apple’s documentation states that these samples are read-only:

You cannot save your own walking heart rate samples; however, you can query these samples.

On Android Health Connect

No verified Health Connect counterpart. The cross-platform matrix pairs only metrics checked against both Apple’s and Google’s documentation, and walkingHeartRateAverage is not among them. A similarly named Health Connect record may exist, but a name match is not a verified mapping.

Questions

Should I sum or average walkingHeartRateAverage in HealthKit?
Average it, or take its minimum or maximum — do not sum it. Apple's documentation for walkingHeartRateAverage describes it as measuring discrete values, so an HKStatisticsQuery over it takes .discreteAverage, .discreteMin or .discreteMax. Apple's sentence, as read on 2026-10-02: "These samples use count/time units (described in ) and measure discrete values (described in )."
Which unit family does Apple give walkingHeartRateAverage?
Count/time. Apple's discussion of walkingHeartRateAverage says its samples use count/time units: "These samples use count/time units (described in ) and measure discrete values (described in )."
Can my app write walkingHeartRateAverage samples to HealthKit?
No. Apple's documentation for walkingHeartRateAverage states: "You cannot save your own walking heart rate samples; however, you can query these samples." (read 2026-10-02).
Which iOS version added walkingHeartRateAverage?
iOS 11.0. Apple's availability data for walkingHeartRateAverage lists iOS 11.0, iPadOS 11.0, Mac Catalyst 13.0, macOS 13.0, visionOS 1.0 and watchOS 4.0.

Sources checked

Apple’s abstract and sentences are quoted for identification; the page layout, the capsule and the cross-platform pairing are AIFitnessAPI’s. Generated from Apple’s documentation by scripts/fetch-healthkit-identifiers.mjs, not typed by hand — the same data as the full identifier table.

← All HealthKit type identifiers · Vital signs