範例 Apple Health 運動紀錄JSON匯出

一個由 Apple Health 跑步運動匯出的真實、無損 JSON 匯出檔——以含版本的結構描述呈現運動內容、路線、樣本與摘要。下載它,或於下方檢視其結構。

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、筆記本,以及餵給 LLM。

匯出你自己的運動紀錄

這是一筆範例跑步。安裝 Workout Exporter,即可用同樣方式匯出你真實的 Apple Health 與 Apple Watch 運動紀錄。

在 App Store 下載