SweatStack developer docs¶
SweatStack is the sports data platform for developers. One API for activity, daily, and test data across every supported wearable. Build personal automations, public products, or the next coaching platform without integrating each wearable's API yourself.
Build¶
-
AI coding
Installable skills for AI agents, OpenAPI schema, prompting tips. The fastest way to ship working SweatStack code.
-
Python SDK
The official client. One attribute per API resource:
client.activities.list(),client.tests.retrieve(...). -
CLI
Manage applications and deploy to SweatStack Pages from the terminal.
-
Frameworks
Sign-in helpers for FastAPI and Streamlit: OAuth, sessions, and a client per signed-in user.
-
SweatStack Pages
Host a static frontend for your application without running infrastructure. Deploy with the CLI or the HTTP API.
-
API reference & playground
Every endpoint and response schema, generated from the OpenAPI spec. Plus the live playground for running requests with your logged-in account.
Identity & onboarding¶
-
Sign in with SweatStack
One button replaces your login and registration. Users authenticate with the wearable account they already have, and the account arrives with their profile and data.
-
OAuth2 / OpenID Connect
Standards-compliant OAuth2, PKCE, and OIDC. JWTs signed with RS256, JWKS published. Works with any compliant client library.
-
Applications
Register your app, manage credentials, configure redirect URIs and webhooks, and pick your publishing path.
Data¶
-
Activities
Per-activity timeseries and longitudinal queries across years of history. The same shape, whatever the source.
-
Dailies
Body mass, resting heart rate, HRV, sleep. Date-keyed, one endpoint per measure.
-
Tests
Lactate, VO2max, and FTP tests with a defined results schema covering thresholds, capacity ceilings, and economy.
-
Metabolic profile
Thresholds, training zones, and intensity-duration models, derived from the athlete's training data.
-
App metadata
Attach per-app JSON to activities, traces, tests, and users. Skip running your own database.
-
Webhooks
Get notified when activities or tests are created, updated, or deleted. HMAC-SHA256 signed.
How it fits together¶
Guides and changelog¶
For pricing, the company, and editorial content, see sweatstack.no.