Workout DB API
The Workout Database API provides comprehensive access to a rich collection of exercises and fitness data, enabling developers to build powerful workout applications. With features including detailed exercise information, muscle activation patterns, equipment categorization, and body part targeting, this API allows you to search, filter, and retrieve workouts based on various criteria. Whether…
Workout DB API endpoints
| Method | Endpoint | Description |
|---|---|---|
| Workouts | ||
| GET |
/workouts/search/query /workouts/search/query |
|
| GET |
/workouts/{id}/alternatives /workouts/{id}/alternatives |
|
| PUT |
/workouts/batch/update /workouts/batch/update |
Update multiple workouts in a single request. Each object in the array must include the 'id' of the workout to update. Only the fields provided in each object will be updated;… |
| POST |
/workouts /workouts |
|
| DELETE |
/workouts/{id} /workouts/{id} |
|
| PUT |
/workouts/{id} /workouts/{id} |
Update a workout by its unique ID. Only the fields provided in the request body will be updated; all other fields will remain unchanged. This allows for partial updates. Requires… |
| GET |
/workouts/{id} /workouts/{id} |
|
| GET |
/workouts /workouts |
|
| Muscles | ||
| POST |
/muscles/batch /muscles/batch |
Create multiple muscles in a single request. Requires authentication and admin privileges. |
| POST |
/muscles /muscles |
Create a new muscle entry. Requires authentication and admin privileges. |
| GET |
/muscles/{muscleId}/workouts /muscles/{muscleId}/workouts |
Retrieve all workouts associated with a specific muscle. Optionally filter by primary/secondary activation. |
| PUT |
/muscles/activations/bulk /muscles/activations/bulk |
Update muscle activation values for multiple workouts in bulk. Each object must include the workout_id, muscle_code, and activation value. Requires authentication and admin… |
| GET |
/muscles /muscles |
Retrieve a paginated list of all muscles in the database. |
| Equipment | ||
| GET |
/equipment /equipment |
Retrieve a paginated list of all unique equipment names from the workouts database. |
| GET |
/equipment/{equipment}/workouts /equipment/{equipment}/workouts |
Retrieve all workouts associated with a specific equipment. Returns a paginated list of workouts for the given equipment. |
| Body Parts | ||
| GET |
/body-parts /body-parts |
Retrieve a paginated list of all unique body parts from the workouts database. |
| GET |
/body-parts/{bodyPart}/workouts /body-parts/{bodyPart}/workouts |
Retrieve all workouts associated with a specific body part. Returns a paginated list of workouts for the given body part. |
| Health | ||
| GET |
/health/ping /health/ping |
Returns a status message and the database ping latency in milliseconds. |
| GET |
/health /health |
Returns a simple status message to indicate the API is running. |
| Other endpoints | ||
| GET |
/body-parts/{bodyPart}/workouts /body-parts/{bodyPart}/workouts |
|
| GET |
/equipment/{equipment}/workouts /equipment/{equipment}/workouts |
|
| POST |
/muscles /muscles |
|
| GET |
/body-parts /body-parts |
|
| GET |
/muscles /muscles |
|
| PUT |
/workouts/{id} /workouts/{id} |
|
| GET |
/workouts/{id}/alternatives /workouts/{id}/alternatives |
|
| GET |
/equipment /equipment |
|
| GET |
/workouts/search/query /workouts/search/query |
|
| POST |
/workouts /workouts |
|
| GET |
/workouts/{id} /workouts/{id} |
|
| GET |
/workouts /workouts |
|
| GET |
/muscles/{muscleId}/workouts /muscles/{muscleId}/workouts |
|
| DELETE |
/workouts/{id} /workouts/{id} |
|
Workout DB API pricing
| Plan | Price | Rate limit | Quotas |
|---|---|---|---|
| BASIC | Free | — |
|