Workout API
The complete training and exercise toolkit for fitness apps.
Add structured exercise data and personalized workout programs to your product with one API, so your team can focus on building the fitness experience around them.
No sign-up required to try the live demo.
1–7 training days per request
Sets, reps & rest generated
English, French & Spanish content
Ready for web and mobile apps
See it in one request
From user constraints to a complete workout plan
Send the training context. Workout API selects, orders, and prescribes the exercises. Your app receives structured data ready to render.
{
"name": "Upper Body Hypertrophy",
"level": "INTERMEDIATE",
"goal": "HYPERTROPHY",
"days": [{
"label": "Day 1 — Upper Body",
"criteria": {
"muscles": ["CHEST", "BACK"],
"sessionDurationMinutes": 60,
"autoPrescription": true
}
}]
}Day 1 — Upper Body
Barbell Bench Press
4 sets · 6–8 reps · 120s rest
Barbell Row
4 sets · 8–10 reps · 90s rest
Incline Dumbbell Press
3 sets · 8–12 reps · 90s rest
Lat Pulldown
3 sets · 10–12 reps · 90s rest
Skip the workout logic backlog
Workout generation is harder than it looks
A useful workout generator has to balance exercise selection, muscle coverage, equipment availability, session length, training volume, sets, reps, rest, and exercise order. Building and maintaining that logic pulls your team away from the experience that makes your product different.
Workout API handles the workout layer so your team can focus on onboarding, coaching, retention, and growth.
Build it yourself
- Maintain exercise data and media
- Encode training and fallback rules
- Handle conflicting constraints
- Build save, share, and export workflows
Build with Workout API
- Send goals and constraints
- Receive coherent, structured sessions
- Render with your own product UI
- Add persistence, embeds, sharing, and exports
Your rules, applied consistently
Personalization without giving up control
Use smart defaults for fast generation, then add precise constraints wherever your product needs more control.
Level and goal
Adapt programs for beginner, intermediate, or advanced users across hypertrophy, strength, endurance, and weight-loss goals.
Day-by-day criteria
Define different muscles, movement types, and session constraints for each training day.
Session sizing
Target a number of exercises or define the intended session duration.
Exercise rules
Require key movements, exclude unsuitable exercises, and filter the available pool.
Automatic prescriptions
Generate sets, reps, and rest times while keeping your explicit prescriptions authoritative.
Practical ordering
Receive exercises in a structured sequence ready for a usable workout session.
Developer-first
A clean request. Structured data back.
Use a standard REST endpoint and render the response in any mobile or web stack.
curl --request POST \
--url https://api.workoutapi.com/programs/generate \
--header 'Content-Type: application/json' \
--header 'Accept-Language: en-US' \
--header 'x-api-key: YOUR_API_KEY' \
--data '{
"name": "Upper Body Hypertrophy",
"level": "INTERMEDIATE",
"goal": "HYPERTROPHY",
"days": [{
"label": "Day 1 — Upper Body",
"criteria": {
"muscles": ["CHEST", "BACK"],
"sessionDurationMinutes": 60,
"autoPrescription": true
}
}]
}'{
"programId": "…",
"days": [{
"label": "Day 1 — Upper Body",
"exercises": [{
"code": "…",
"name": "…",
"nbSets": { "value": 4 },
"nbReps": { "min": 8, "max": 12 },
"restSeconds": { "value": 90 }
}]
}]
}Built for fitness products
One workout engine, multiple product experiences
Use the same infrastructure across onboarding, coaching, member experiences, and automated plan delivery.
Fitness apps
Generate plans from onboarding answers and display every session in your own mobile or web interface.
Coaching platforms
Give coaches a structured starting point, then preserve their own exercise and prescription rules.
Gym member portals
Deliver structured sessions that members can revisit, share, or receive as a PDF.
AI fitness products
Turn conversational user intent into predictable workout data your application can validate and render.
More than generation
The infrastructure behind the complete workout experience
Generate personalized workout programs, enrich them with exercise content, then save, display, share, or export them for your users.
Exercise Database
Structured exercise data with movement instructions, illustrations, muscle groups, equipment information, and multilingual content.
ExploreExercise Embed
Secure, configurable exercise views you can embed without rebuilding the entire exercise interface.
ExploreProgram Persistence
Save generated programs, retrieve them by ID, and support history, dashboards, and cross-device continuity.
ExploreProgram Share
Create secure hosted links so users can view complete saved programs and optional statistics.
ExplorePDF Export
Generate shareable program PDFs with temporary links and optional email delivery.
ExploreReady-to-use exercise content
The library is the foundation. The program is the outcome.
Every generated workout includes structured exercise content you can display in your own interface or present through our embeddable exercise views.
Explore the exercise databaseSeated Chest Press
Adjust the seat to your height so the handles are at a comfortable level. Bend your elbows to about 90° to grip the handles, then extend your arms forward without locking them at the end. Control the negative part of the movement to return to the starting position.
Simple, scalable pricing
Test the data for free. Unlock generation when you’re ready to build.
Choose a plan based on the endpoints and request volume your product needs.
FAQ
Questions before you build
See what your app can generate
Build your first personalized workout program today
Try the live generator without signing up. When the output fits your product, connect the API and ship the complete workout experience.