Skip to content
  • There are no suggestions because the search field is empty.

[Legacy] Apple HealthKit Samples Export Format

Please note that the Apple HealthKit Samples Export Format is a legacy export and we recommend using the Apple HealthKitV2 Samples Export Format. This article should only be used for legacy exports, created prior to 11-April-2022.

The HealthKit samples export encompasses most of the simple data generated by HealthKit (e.g., Heart Rate, Sleep Analysis, Steps, and any other data that is not a workout or activity summary).

Data Fields


Sample CSV Export

HealthKitSampleKey,ParticipantIdentifier,StartDate,Date,Type,Value,Units,SourceIdentifier,SourceName,SourceVersion,DeviceName,DeviceModel,DeviceManufacturer,DeviceHardwareVersion,DeviceSoftwareVersion,DeviceFirmwareVersion,DeviceFDAIdentifier,DeviceLocalIdentifier,Metadata,InsertedDate
85e40b42-ba54-e811-8162-e6c7223c41fa,f5e23bf1-29d6-437e-b7e0-4d9bbeea4eaa,2018-04-30T17:00:57-04:00,2018-04-30T17:07:52-04:00,Steps,18,count,com.apple.health.89E9CCE0-ECE6-4B9E-B684-23AA6A979FA1,CE Test iPhone 6S+,11.3,iPhone,iPhone,Apple,"iPhone8,2",11.3,,,,{},2018-05-11T01:26:00Z
86e40b42-ba54-e811-8162-e6c7223c41fa,f5e23bf1-29d6-437e-b7e0-4d9bbeea4eaa,2018-04-30T17:46:04-04:00,2018-04-30T17:54:27-04:00,Steps,248,count,com.apple.health.89E9CCE0-ECE6-4B9E-B684-23AA6A979FA1,CE Test iPhone 6S+,11.3,iPhone,iPhone,Apple,"iPhone8,2",11.3,,,,{},2018-05-11T01:26:00Z
87e40b42-ba54-e811-8162-e6c7223c41fa,f5e23bf1-29d6-437e-b7e0-4d9bbeea4eaa,2018-04-30T17:54:27-04:00,2018-04-30T18:02:06-04:00,Steps,47,count,com.apple.health.89E9CCE0-ECE6-4B9E-B684-23AA6A979FA1,CE Test iPhone 6S+,11.3,iPhone,iPhone,Apple,"iPhone8,2",11.3,,,,{},2018-05-11T01:26:00Z

Sample JSON Export

{
  "HealthKitSampleKey": "85E40B42-BA54-E811-8162-E6C7223C41FA",
  "ParticipantIdentifier": "f5e23bf1-29d6-437e-b7e0-4d9bbeea4eaa",
  "Type": "Steps",
  "StartDate": "2018-04-30T17:00:57-04:00",
  "Date": "2018-04-30T17:07:52-04:00",
  "Value": "18",
  "Units": "count",
  "Source": {
    "Identifier": "com.apple.health.89E9CCE0-ECE6-4B9E-B684-23AA6A979FA1",
    "Name": "CE Test iPhone 6S+",
    "Version": "11.3"
  },
  "Device": {
    "Name": "iPhone",
    "Model": "iPhone",
    "Manufacturer": "Apple",
    "HardwareVersion": "iPhone8,2",
    "SoftwareVersion": "11.3"
  },
  "Metadata": {},
  "InsertedDate": "2018-05-11T01:26:00Z"
}

{
  "HealthKitSampleKey": "86E40B42-BA54-E811-8162-E6C7223C41FA",
  "ParticipantIdentifier": "f5e23bf1-29d6-437e-b7e0-4d9bbeea4eaa",
  "Type": "Steps",
  "StartDate": "2018-04-30T17:46:04-04:00",
  "Date": "2018-04-30T17:54:27-04:00",
  "Value": "248",
  "Units": "count",
  "Source": {
    "Identifier": "com.apple.health.89E9CCE0-ECE6-4B9E-B684-23AA6A979FA1",
    "Name": "CE Test iPhone 6S+",
    "Version": "11.3"
  },
  "Device": {
    "Name": "iPhone",
    "Model": "iPhone",
    "Manufacturer": "Apple",
    "HardwareVersion": "iPhone8,2",
    "SoftwareVersion": "11.3"
  },
  "Metadata": {},
  "InsertedDate": "2018-05-11T01:26:00Z"
}

{
  "HealthKitSampleKey": "87E40B42-BA54-E811-8162-E6C7223C41FA",
  "ParticipantIdentifier": "f5e23bf1-29d6-437e-b7e0-4d9bbeea4eaa",
  "Type": "Steps",
  "StartDate": "2018-04-30T17:54:27-04:00",
  "Date": "2018-04-30T18:02:06-04:00",
  "Value": "47",
  "Units": "count",
  "Source": {
    "Identifier": "com.apple.health.89E9CCE0-ECE6-4B9E-B684-23AA6A979FA1",
    "Name": "CE Test iPhone 6S+",
    "Version": "11.3"
  },
  "Device": {
    "Name": "iPhone",
    "Model": "iPhone",
    "Manufacturer": "Apple",
    "HardwareVersion": "iPhone8,2",
    "SoftwareVersion": "11.3"
  },
  "Metadata": {},
  "InsertedDate": "2018-05-11T01:26:00Z"
}