Is there an exercise API with an OpenAPI spec and a TypeScript SDK?

Yes. WorkoutDB ships a generated OpenAPI 3.1 spec, an interactive playground, a Postman collection, and the @workoutdb/client TypeScript SDK on npm — so you can generate clients, explore endpoints, and get typed methods immediately.

Developer tooling

WorkoutDB treats developer experience as a feature, not an afterthought.

Predictable contract

Every response uses the same { data, meta, requestId } envelope, and errors use stable machine-readable codes (invalid_request, unauthorized, rate_limited, and so on) with sensible HTTP statuses. That makes generated clients and error handling reliable.

Start free — 5,000 requests/month with no credit card required.

Related questions

Where is the OpenAPI spec?
The generated OpenAPI 3.1 spec is served at /openapi.json, and there is an interactive Scalar playground in the docs.
What is the SDK package name?
The TypeScript SDK is @workoutdb/client, published on npm.

Build it on WorkoutDB

~873 exercises with demo video, ranked search, and four languages — over a clean REST API. Start free: 5,000 requests/month, no credit card.

Keep reading