Strava activity data, in your own cloud
One API for Strava and for the rest of the wearables your users own, connected through the official Strava 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
Strava data we support
Strava goes deep on what happened during a session, and everything below arrives in the same schema as every other source.
Activities
Distance, moving time, calories and heart rate.
Speed and power
Average and maximum for both, per session.
Elevation
Total climbing, plus the highest and lowest points.
Per-sample streams
Heart rate, speed, cadence and power, when enabled.
Sport and source
Sport type, the recording device and manual entries.
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
A Strava ride and a Garmin ride arrive in the same fields, so your code compares them without a translation layer and adding a source later does not change the call.
- Activities
- Streams
- Sport types
Webhooks that answer in time
Strava sends only an activity id and expects a response within two seconds. Open Wearables checks the signature, acknowledges at once and queues the fetch, so the call that pulls the full activity happens after the window rather than inside it.
- Webhooks
- Signed events
- Two-second window
Streams when you want them
Per-sample heart rate, speed, cadence and power are ingested only if you enable them, so a large backfill does not fill your database with data you are not using.
- Optional
- Off by default
Energy that is never empty
Strava's activity list often returns no calorie value. Open Wearables falls back to the kilojoules from the power data rather than leaving the field empty.
- Calories
- Kilojoule fallback
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 Strava relationship stays yours
Credentials issued in your name, data going straight from Strava into your account.
- Your Strava app
- Your credentials
Costs you can see
Running it costs your own cloud bill, paid to your provider. Deployment and Integration are one-off services, and modules such as health scores and the health agent are add-ons to Core or included in Enterprise.
- 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 Strava 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 Strava app
Create an application in Strava's API settings and bring the client ID and secret. That takes minutes and covers up to ten connected athletes. For more, you submit the app for Extended Access through the same dashboard and Strava reviews it.
Strava API settings - 03
Connect a user
Your user authorises through Strava'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
Strava data arrives in the same schema as every other source, in your own database, so your application code carries no Strava-specific branches.
Strava API 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] Strava credentials | Theirs, already approved | Yours to obtain | Yours, in your own name |
| [02] The two-second webhook window | They absorb it | Yours to hit, every time | Acknowledged first, fetched after |
| [03] Per-sample streams | Rarely exposed | Yours to fetch and store | Optional, off by default |
| [04] Where Strava 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] Strava 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
Strava 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.
Strava is one integration in the same API
You query a user rather than a provider, so somebody who rides with a Strava account and sleeps with a ring comes back in one shape. That pairing is the normal case here, because Strava covers the session and something else covers the night.
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 Strava connected and validated on real accounts.
FAQ
Do you have more questions?
Does Strava have an API?
Yes. You register an application in Strava's API settings to get a client ID and secret, and users connect through OAuth. Getting started is self-serve, with no approval queue.
How many users can we connect?
Up to ten athletes on the Standard tier, which you enable yourself, at 200 requests per 15 minutes and 2,000 a day. Beyond that you submit the app for Extended Access through the same dashboard, Strava reviews it, and the limits rise to 400 and 4,000. The setup guide in the docs covers both.
What does Strava actually give us?
Activities, in depth. Distance, moving time, calories, heart rate average and maximum, speed average and maximum, power average and maximum, elevation gain and the high and low points. Optionally, per-sample streams for heart rate, speed, cadence and power through the session.
Does Strava give us sleep or recovery data?
Strava covers sessions rather than the day around them, so that side comes from a wearable. Teams usually connect one alongside it, and both land in the same schema under the same user, which is how a ride and the night that followed end up in one query.
What are per-sample streams and should we use them?
They are the second-by-second readings inside a workout: heart rate, speed, cadence and power. They are useful if you are drawing graphs of a session or analysing intervals, and expensive if you are not, because one long ride produces thousands of rows. Ingestion is off by default and you turn it on when you need it.
Does it support webhooks?
Yes, for activities created, updated and deleted, plus a notice when someone disconnects your app. The event carries only the activity id and what changed, and Strava expects a response within two seconds. Open Wearables answers straight away and queues the fetch, so the two-second limit is never the thing that breaks delivery.
How are webhook events verified?
Every event carries a signature built from your client secret, and Open Wearables checks it before doing anything with the payload. Subscription setup uses a challenge that Strava sends to your callback and expects echoed back, which is handled for you.
How many webhook subscriptions can we have?
One per application, which is Strava's limit rather than ours. It covers every user who has authorised your app.
Whose terms apply to the data?
Strava's. Your application is registered with Strava in your name, so its API Agreement governs how you use the data, whoever runs the integration. It is worth reading before you design a feature on top of it.
Which scopes does this need?
activity:read_all and profile:read_all. The first covers activities including private ones, the second the athlete profile.
Why do some activities have no calories?
Strava's activity list often returns no calorie value, and it is only present on the detailed record. Open Wearables falls back to kilojoules from the power data so the energy field is populated either way.
Can we tell which device recorded an activity?
Yes. The device name comes through on the activity, and a manual entry is flagged as such. That matters when the same user syncs a watch through Strava and through its own integration, because you can see which record came from where.
Which sports does it recognise?
Strava's activity types are mapped to the same taxonomy every other source uses, so a Strava ride and a Garmin ride group together. Legacy activity types are still read, so older sessions do not fall through.





