OPEN SOURCE

Build with your health data

VitaVault exports Apple Health data in three formats: CSV (for spreadsheets), JSON (for code), and AI-Ready (for pasting straight into ChatGPT, Claude, or Gemini). Everything is open source.

Three export formats

Each export gives you the same health data in a different shape — pick the one that fits your workflow.

1. AI-Ready (the easy one)

Plain text, pre-formatted for pasting into any AI chatbot. No code, no parsing — just copy, paste, ask.

ai-ready-export.txt
HEALTH SUMMARY — Last 7 Days

Steps: 43,133 total (6,162/day avg)
Sleep: 6h 42m last night, 7.1h weekly avg
Heart Rate: 72 bpm avg, 62 bpm resting
HRV: 30ms avg (below optimal — possible stress or fatigue)
Blood Oxygen: 97% avg
Weight: 185.4 lbs
Active Calories: 4,645 total (616/day avg)
Exercise: 142 min total

Paste this into ChatGPT, Claude, or Gemini and ask:
"What should I focus on this week?"
"Prepare a summary for my doctor appointment"
"What do my HRV trends mean?"

2. JSON (for developers)

Structured data for apps, APIs, databases, or automation. Standard schema, easy to parse in any language.

export.json
{
  "exportDate": "2026-02-17T12:00:00Z",
  "deviceId": "anonymous",
  "period": "7d",
  "metrics": {
    "steps": { "total": 43133, "dailyAverage": 5719, "unit": "steps" },
    "sleep": { "lastNight": 6.7, "weeklyAverage": 7.1, "unit": "hours" },
    "heartRate": { "average": 72, "resting": 62, "unit": "bpm" },
    "weight": { "latest": 185.4, "unit": "lbs" },
    "activeCalories": { "dailyAverage": 542, "unit": "kcal" },
    "hrv": { "average": 30, "unit": "ms" },
    "bloodOxygen": { "average": 97, "unit": "%" }
  }
}

3. CSV (for spreadsheets)

Opens directly in Excel, Google Sheets, or Numbers. One row per day, one column per metric. Great for charts and tracking over time.

export.csv
date,steps,sleep_hours,resting_hr,hrv_ms,weight_lbs,calories
2026-02-17,8012,6.7,62,28,185.4,642
2026-02-16,5891,7.2,61,33,185.2,589
2026-02-15,7234,6.9,63,29,185.6,617

Use with any AI

The AI-Ready export is designed for this — just paste and ask. Here are some prompts to get started.

ChatGPT

Paste your export and ask for actionable health recommendations.

Prompt
Analyze my health trends and give me 3 actionable recommendations.

Claude

Upload your JSON file and ask for a comprehensive health report.

Prompt
Review this JSON and create a comprehensive health report with risks, trends, and next steps.

Gemini

Use Google AI Studio with your health data for personalized insights.

Prompt
Summarize my health metrics, identify outliers, and suggest a one-week improvement plan.

Your Own App

Parse JSON/CSV in Python, JavaScript, or any language. Build dashboards, alerts, or integrations.

JavaScript
const metrics = data.metrics;
const score = metrics.sleep.weeklyAverage * 10 + metrics.hrv.average;
console.log(`Recovery score: ${score}`);

Open Source Toolkit

Everything you need to build on VitaVault exports.

  • Export schema documentation
  • Python parsing scripts
  • Example AI prompts
  • CSV converter utility

Star us on GitHub

VitaVault processes all data on-device. There is no cloud API. Your data never leaves your phone unless YOU export it.