Backends That Speak HealthSave: Official and Community
HealthSave syncs your Apple Health data to a server you own, over an openly documented API contract — which means the backend doesn't have to be ours. There's an official self-hosted hub with dashboards and a database, there are community reimplementations that route the same data into entirely different stacks, and there's nothing stopping you from writing your own in an afternoon. This page is the map.
The contract in one paragraph
The app sends batched samples to a server URL you set — quantity samples, sleep, workouts, activity summaries, blood-pressure correlations, category events, ECG — with an optional API key. The request shape is on the API page, and every metric's exact identifier is in the metrics reference. Any server that follows that shape works. The code is on GitHub under the Elastic License 2.0.
The official hub: HealthSave Observatory
github.com/umutkeltek/healthsave-observatory — a self-hosted dashboard you run on your own server, with web dashboards and a private API over your synced history. The code is on GitHub under the Elastic License 2.0. If you want the full picture — long-term history, Grafana, Home Assistant, your own API — this is the batteries-included path.
Community backends
These are servers other people built against the contract, for their own stacks, and published:
health-data-to-mqtt — TypeScript, straight to MQTT
github.com/bietiekay/health-data-to-mqtt — a small-footprint Node.js/TypeScript server that accepts the same sync batches and republishes them to MQTT topics instead of keeping a history on the server. Built by a user who needed alerting in MQTT-connected systems: heart rate, blood oxygen, sleep, and workouts land directly on your broker, where Home Assistant's MQTT integration or Node-RED picks them up. It's also simply a clean, readable second implementation of the contract — useful reading if you're writing your own.
Building your own: advice from real deployments
The contract is small enough to implement in an afternoon, but production traffic has real shapes. These lessons come from actual self-hosted deployments and the support threads they generated:
- Always answer with a real HTTP error — never kill the socket. One self-hoster's proxy enforced a body-size cap by destroying the connection on oversized POSTs. A dropped connection looks like a transient network failure, which is retryable — so the app retried the same oversized batch, which failed the same way, indefinitely. Return a clean
413 Payload Too Largeand the client can react sensibly. - Size your request-body limit for workout batches. Workouts carry GPS route arrays and heart-rate sample arrays; multi-year backfills produce batches that are legitimately large but bounded. 5 MB is too small; that same deployment settled on 64 MB and never hit the cap again.
- Log cap breaches distinctly. If your server rejects a batch, make it show up in your logs as a rejection — not as something indistinguishable from a network blip. Future-you will diagnose in minutes instead of days.
- Implement the status contract. It's how the app tells the user sync is healthy. Skipping it works, but you lose the in-app visibility that makes self-hosting feel trustworthy.
- Expect conservative client behavior. If your server rejects a batch, HealthSave stops that metric type rather than skipping past it — ordering is protected by design. The user-side recovery is Reset Sync Progress + Backfill.
Need Pro on your testers' phones? You can pay for it yourself: HealthSave Pro for a team or a group of testers.
Get listed here
Built a backend that speaks the contract — a different database, a different language, a different destination entirely? Put it on a public repo and email support@healthsave.app. If it works against the documented endpoints, we'll link it on this page.
Frequently asked questions
Where is the HealthSave server code?
The code is on GitHub under the Elastic License 2.0. You can read it and run the dashboard on your own server. The request shape for a server you write yourself is on the API page.
Do I have to run the official hub?
No. Any server that speaks the contract works — official, community, or yours.
Does HealthSave send my data anywhere besides my server?
Only if you turn on Apple's cloud model for the Weekly Brief. There's no HealthSave cloud in the path — the app reads Apple Health on-device and syncs only to the destination you configure.
How do I get my backend listed?
Public repo + email us. If it implements the contract, it belongs here.
Related
- The HealthSave API contract (endpoint reference)
- HealthSave data format v2, with schemas and Python and Node.js receiver examples.
- Every metric HealthSave exports, with identifiers
- Push live Apple Health metrics into Home Assistant
- Publish Apple Health metrics over MQTT
- Apple Health data in your homelab