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 scraping or shimming wearable APIs yourself.
Build with¶
-
AI coding
Installable skills for AI agents, OpenAPI schema, prompting tips. The fastest way to ship working SweatStack code.
-
Python SDK
The official client. Full coverage of the API, with class-based and module-level interfaces.
-
CLI
Manage applications and deploy to SweatStack Pages from the terminal.
-
Frameworks
Drop-in helpers for FastAPI, Streamlit, and Jupyter. Auth, session handling, and notebook integration.
-
SweatStack Pages
Host a static frontend for your application without standing up infrastructure. Deploy via the CLI or 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¶
-
SweatStack Connect
Drop-in onboarding. Users authenticate with their existing wearable account, no SweatStack signup required.
-
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. Same shape regardless of 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 effort-duration models. Built from tests plus training data.
-
App metadata
Attach per-app JSON to activities, traces, tests, and users. Skip running your own database.
-
Webhooks
Subscribe to real-time events 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.