Apple Health 锻炼示例JSON导出

一份从 Apple Health 跑步锻炼导出的真实、无损 JSON——以带版本的 schema 呈现的锻炼负载、路线、样本和汇总。下载它,或在下方查看其结构。

sample-run.json
{
  "schemaVersion": 1,
  "exportedAt": "2026-04-05T08:00:00Z",
  "workout": {
    "uuid": "11111111-2222-3333-4444-555555555555",
    "activityType": "Running",
    "activityTypeRaw": 37,
    "startDate": "2026-04-05T08:00:00Z",
    "endDate": "2026-04-05T08:12:00Z",
    "duration": 720,
    "totalDistance": {
      "value": 1164.75,
      "unit": "m"
    },
    "totalEnergyBurned": {
      "value": 168,
      "unit": "kcal"
    },
    "totalSwimmingStrokeCount": null,
    "totalFlightsClimbed": null,
    "source": {
      "name": "Apple Watch",
      "bundleIdentifier": "com.apple.health",
      "deviceName": "Apple Watch",
      "deviceManufacturer": "Apple",
      "deviceModel": "Watch",
      "deviceHardwareVersion": null,
      "deviceSoftwareVersion": null
    },
    "metadata": null,
…  (283 more lines)

这个 JSON 文件里有什么

一个自描述的封装,含schemaVersion: 1。顶层键为workout, route, samples,以及summary。非常适合 Python、笔记本以及喂给大语言模型。

导出你自己的锻炼

这是一次示例跑步。安装 Workout Exporter,即可用同样的方式导出你真实的 Apple Health 和 Apple Watch 锻炼。

在 App Store 下载