Whoop API recovery and strain, in your own cloud
One API for Whoop and for the rest of the wearables your users own, connected through the official Whoop developer API and returned in a single schema. Self-hosted in a cloud account you control, under an MIT licence.
Built on Open Wearables
Data coverage
Whoop data we support
Everything below arrives in one schema, including Whoop's own recovery, strain and sleep performance scores.
Recovery
Score, resting heart rate, HRV, SpO2 and skin temperature.
Strain
Daily strain score with average and maximum heart rate.
Sleep
Stage durations, efficiency, naps and sleep performance.
Workouts
Sport, heart rate zones, calories and moving time.
Daily totals
Energy and steps per cycle, plus height and weight.
What working with Open Wearables gives you
Two views of the same deployment. One for the people wiring it in, one for the people signing it off.
One schema, not one per provider
Whoop arrives in the same shape as every other source, so your code carries no Whoop-specific branches and adding a source later does not change the call.
- Recovery
- Strain
- Sleep
- Workouts
Webhooks and polling, both handled
Recovery, sleep and workout events arrive as Whoop scores them, with hourly polling underneath as the safety net. Your deployment hosts the endpoint, and its code ships with the repository.
- Webhooks
- Hourly polling
- 90-day backfill
Tokens and limits on rails
The offline scope and refresh tokens keep a connection alive for months, and sync is scheduled inside Whoop's 100 requests a minute and 10,000 a day.
- OAuth 2.0
- Rate limits handled
Health scores computed in your deployment
Whoop's own recovery, strain and sleep performance arrive as data, as Whoop calculates them. Health scores from our science team run alongside them inside your deployment, validated before release, and are part of Pro.
- Whoop scores
- Health scores
Access you control
It runs in your cloud account, under your credentials. When we work on your system, we do it under a DPA you sign.
- Your credentials
- Your region
The Whoop relationship stays yours
Credentials issued in your name, data going straight from Whoop into your account.
- Your Whoop app
- Self-serve
Costs you can see
Running it costs your own cloud bill, paid to your provider. Deployment and Integration are one-off services, and health scores and the other licensed modules come with Pro.
- Your cloud bill
- One-off services
No dependency on us
MIT licence, full source, public roadmap and public issues, plus community support on Discord.
- MIT license
- Full source
- Discord
How it works
From nothing to your first Whoop query
- 01
Bring it up
Clone the repository and run it with Docker Compose. First API call in five minutes, before any provider is connected.
Terminal
git clone https://github.com/the-momentum/open-wearables.git cd open-wearables && docker compose up -d - 02
Register your Whoop app
Create an application in the Whoop developer dashboard and bring the client ID and secret. Whoop is self-serve, so this is minutes rather than weeks, and the credentials stay in your name.
Whoop developer dashboard - 03
Connect a user
Your user authorises through Whoop's own consent screen. Open Wearables requests the scopes it needs and handles the token lifecycle from there, including the refresh that keeps the connection alive months later.
- 04
Query the user, not the provider
Whoop data arrives in the same schema as every other source, in your own database, so your application code carries no Whoop-specific branches.
Whoop setup guide
The honest comparison
Hosted SaaS API, in-house build, or self-hosted
Where each one actually wins. If a hosted API fits your situation, use one.
| Hosted SaaS API | Build in-house | Open Wearables, self-hosted | |
|---|---|---|---|
| [01] Whoop credentials | Theirs, already approved | Yours to obtain | Yours, in your own name |
| [02] Time to credentials | None for you | Short, Whoop is self-serve | Short, and the setup guide is written |
| [03] Webhook endpoint | They host it | You build and host it | Your deployment hosts it, code included |
| [04] Where Whoop data sits | Their cloud, their regions | Yours | Your cloud account, your region |
| [05] The data model | Theirs, you build against their schema | Yours | Yours, in your database |
| [06] Whoop API changes | They absorb them | Your team tracks and adapts | Fixed in a release you pull |
| [07] Cost shape | Scales with monthly active users | Salaries and infrastructure | Fixed, flattens as you grow |
What stays yours
The deployment, the data and what you build on it stay in your account, whoever runs it
Sovereignty
Whoop data goes straight to your cloud, with no aggregator in between.
Residency
It stays in the region you chose, provable by pointing at an account.
Control
What you build on top of Open Wearables is yours, and the schema and the data are in your account.
Your own reasons
No regulator forcing it. You want the data in your own account anyway.
Whoop is one integration in the same API
You query a user rather than a provider, so somebody with a Whoop band and a watch comes back in one shape. Adding the watch later does not change your code.
Deploy Open Wearables in your own cloud
The repository is public and the deployment is yours from the first commit. Start from the source, or bring us in to stand it up in your account with Whoop connected and validated on real accounts.
FAQ
Do you have more questions?
Does Whoop have an API?
Yes. The Whoop API is an official developer API with OAuth, and you register an application in the Whoop developer dashboard to get a client ID and secret. It is self-serve, so you are not waiting on an approval queue.
Do we need our own Whoop credentials?
Yes, and that is the point. The application is registered in your name, so the data relationship is between you and Whoop. Open Wearables handles the connection flow, the scopes and the token lifecycle.
Which scopes does this need?
offline, read:cycles, read:sleep, read:recovery and read:workout out of the box. Add read:body_measurement and read:profile if you want height and weight. The offline scope is the one that matters most, because without it you get no refresh token and the connection dies a month later.
Does it support webhooks or only polling?
Both. Whoop pushes updated and deleted events for workouts, sleep and recovery to an endpoint your deployment hosts, and hourly polling runs underneath as a safety net. One thing to know: Whoop has no API for registering webhook subscriptions, so that step is done by hand once in their dashboard.
What are the rate limits?
Whoop allows 100 requests a minute and 10,000 a day. A sync cycle costs roughly four to seven requests per user, which is the number to size against. The setup guide in the docs does that arithmetic.
Can we get continuous heart rate from Whoop?
Not from the Whoop API. It returns heart rate during workouts rather than all-day samples. If your product needs continuous heart rate, it comes from a second source, which is one reason teams connect more than one.
How detailed is the sleep data?
Durations for light, deep, REM and awake, plus efficiency, time in bed and whether it was a nap, alongside Whoop's sleep performance score with its consistency and respiratory rate. Whoop returns stages as totals rather than per-stage timestamps, so there is no stage-by-stage timeline to chart.
Do we get Whoop's own scores?
Yes, all three. Recovery arrives as Whoop scored it, with resting heart rate, heart rate variability, oxygen saturation and skin temperature alongside it. Strain comes on scored cycles with its heart rate and energy, and sleep performance with consistency, efficiency and respiratory rate. You can also run our health scores, a separate licensed module designed and validated by our science team, inside your own deployment.
Can we combine Whoop with other sources?
Yes, and that is the normal case. You query a user rather than a provider, so somebody with a Whoop band and a watch returns in one shape, and the second source covers what Whoop does not send.
How far back does the first sync go?
Ninety days by default when a user connects. You can switch that off and request a specific range yourself, up to a year back. Workouts and the daily set can be pulled together or separately, so a first connection does not have to fetch everything at once.
Is there a Whoop subscription requirement?
Your users need an active Whoop membership for their device to produce data, which is true of any Whoop integration. On the developer side you register an app and use the API. Whoop sets those terms, so their developer documentation is the authority.





