Everyday life
Everyday life · AI-assisted
Exercise Database & AI Workout Planner API
870+ exercises with muscles, steps and photos, plus AI weekly workout plans built from them.
Base URLhttps://exercise-database-ai-workout-planner-fitness.p.rapidapi.com/v1/workoutopenapi.json
- Free plan
- 40 credits a day
- Paid plans
- from $4.99 a month
- One credit
- Exercise calls 1 credit; a plan 20 per 25 exercises a week (20 to 80).
- Endpoints
- 5, on
/v1/workout
Example call
curl -X POST "https://exercise-database-ai-workout-planner-fitness.p.rapidapi.com/v1/workout/plan" \
-H "X-RapidAPI-Key: YOUR_API_KEY" \
-H "X-RapidAPI-Host: exercise-database-ai-workout-planner-fitness.p.rapidapi.com" \
-H "Content-Type: application/json" \
-d '{
"goal": "muscle_gain",
"level": "intermediate",
"equipment": [
"dumbbell",
"bands"
],
"days_per_week": 3,
"minutes_per_session": 45,
"weeks": 4,
"focus": [
"glutes"
],
"limitations": [
"knees"
]
}'
import requests
url = "https://exercise-database-ai-workout-planner-fitness.p.rapidapi.com/v1/workout/plan"
payload = {
"goal": "muscle_gain",
"level": "intermediate",
"equipment": [
"dumbbell",
"bands"
],
"days_per_week": 3,
"minutes_per_session": 45,
"weeks": 4,
"focus": [
"glutes"
],
"limitations": [
"knees"
]
}
headers = {
"X-RapidAPI-Key": "YOUR_API_KEY",
"X-RapidAPI-Host": "exercise-database-ai-workout-planner-fitness.p.rapidapi.com",
}
r = requests.post(url, json=payload, headers=headers)
print(r.json())
const res = await fetch("https://exercise-database-ai-workout-planner-fitness.p.rapidapi.com/v1/workout/plan", {
method: "POST",
headers: {
"X-RapidAPI-Key": "YOUR_API_KEY",
"X-RapidAPI-Host": "exercise-database-ai-workout-planner-fitness.p.rapidapi.com",
"Content-Type": "application/json",
},
body: JSON.stringify({
"goal": "muscle_gain",
"level": "intermediate",
"equipment": [
"dumbbell",
"bands"
],
"days_per_week": 3,
"minutes_per_session": 45,
"weeks": 4,
"focus": [
"glutes"
],
"limitations": [
"knees"
]
}),
});
console.log(await res.json());
{
"plan": {
"title": "Glute-Focused Hypertrophy Program",
"summary": "A 3-day full-body split focusing on glute development and posterior chain strength while protecting the knees.",
"goal": "muscle_gain",
"level": "intermediate",
"days_per_week": 3,
"minutes_per_session": 45,
"weeks": 4,
"split": "Full Body A, B, A",
"equipment": ["body only", "dumbbell", "bands"],
"focus": ["glutes"],
"limitations": ["knees"]
},
"sessions": [
{
"day": 1,
"name": "Full Body A",
"focus": "Glute and Upper Body Push",
"warmup": "Perform 5 minutes of light movement and dynamic arm circles.",
"exercises": [
{
"exercise_id": "Single_Leg_Glute_Bridge",
"name": "Single Leg Glute Bridge",
"sets": 4,
"reps": "12-15 per side",
"rest_seconds": 90,
"note": "Squeeze glutes at the top.",
"primary_muscles": ["glutes"],
"equipment": "body only",
"image": "https://cdn.jsdelivr.net/gh/yuhonas/free-exercise-db@f00c92c7dcf1216a928a52c3706c7ce8e2f71ed5/exercises/Single_Leg_Glute_Bridge/0.jpg",
"swaps": [
{ "exercise_id": "Leg_Lift", "name": "Leg Lift", "equipment": "body only" },
{ "exercise_id": "Butt_Lift_Bridge", "name": "Butt Lift (Bridge)", "equipment": "body only" }
]
},
{
"exercise_id": "Stiff-Legged_Dumbbell_Deadlift",
"name": "Stiff-Legged Dumbbell Deadlift",
"sets": 3,
"reps": "8-12",
"rest_seconds": 120,
"note": "Keep back flat and hinge at hips.",
"primary_muscles": ["hamstrings"],
"equipment": "dumbbell",
"image": "https://cdn.jsdelivr.net/gh/yuhonas/free-exercise-db@f00c92c7dcf1216a928a52c3706c7ce8e2f71ed5/exercises/Stiff-Legged_Dumbbell_Deadlift/0.jpg",
"swaps": [
{ "exercise_id": "Band_Good_Morning", "name": "Band Good Morning", "equipment": "bands" },
{ "exercise_id": "Band_Good_Morning_Pull_Through", "name": "Band Good Morning (Pull Through)", "equipment": "bands" }
]
},
{ "...": "Dumbbell Bench Press, Dumbbell Shoulder Press, Monster Walk" }
],
"cooldown": "Perform 5 minutes of static stretching for the hamstrings and chest.",
"estimated_minutes": 48
},
{ "...": "Day 2: Hip Extension with Bands, One-Arm Dumbbell Row, Hyperextensions, Dumbbell Bicep Curl, Bench Dips" },
{ "...": "Day 3: Hip Lift with Band, Natural Glute Ham Raise, Pushups, Arnold Dumbbell Press, Glute Kickback" }
],
"progression": [
{ "week": 1, "theme": "Acclimation", "sets_change": 0, "rep_change": 0, "intensity": "RPE 7", "note": "Focus on perfect form." },
{ "week": 2, "theme": "Hypertrophy Loading", "sets_change": 1, "rep_change": 0, "intensity": "RPE 8", "note": "Increase volume." },
{ "week": 3, "theme": "Peak Intensity", "sets_change": 1, "rep_change": -1, "intensity": "RPE 9", "note": "Push close to failure." },
{ "week": 4, "theme": "Deload", "sets_change": -1, "rep_change": 1, "intensity": "RPE 6", "note": "Reduce fatigue." }
],
"weeks": [
{ "...": "week 1 as the sessions above" },
{
"week": 2,
"theme": "Hypertrophy Loading",
"intensity": "RPE 8",
"note": "Increase volume.",
"sessions": [
{
"day": 1,
"name": "Full Body A",
"exercises": [
{ "exercise_id": "Single_Leg_Glute_Bridge", "name": "Single Leg Glute Bridge", "sets": 5, "reps": "12-15 per side", "rest_seconds": 90 },
{ "exercise_id": "Stiff-Legged_Dumbbell_Deadlift", "name": "Stiff-Legged Dumbbell Deadlift", "sets": 4, "reps": "8-12", "rest_seconds": 120 },
{ "...": "..." }
]
}
]
},
{ "...": "weeks 3 and 4" }
],
"guidelines": [
"Perform exercises with a slow, controlled tempo.",
"Rest at least one full day between sessions.",
"Increase weight only when all reps are completed with perfect form.",
"Prioritize glute activation in every movement."
],
"safety": {
"notes": [
"Avoid deep squats or lunges to protect the knees; use hip hinges and bridges instead.",
"Stop immediately if you feel sharp pain in the joints or back."
],
"disclaimer": "General fitness guidance for healthy adults, not medical advice. Check with a doctor or physiotherapist before starting, especially with an injury, pain or a health condition, and stop any exercise that hurts."
},
"checks": { "exercises_validated": 15, "removed": 0 },
"credits": 20
}
Generate Workout Plan: POST /v1/workout/plan. A real call and its real response, with long values shortened.
What the Exercise Database & AI Workout Planner API returns
Ship the workout feature of your fitness app this week. Search 870+ exercises by muscle, equipment, level and category, each with step-by-step instructions, primary and secondary muscles and start/end photos. Find substitutes when the machine is taken. Then let the AI write a complete program: weekly sessions with sets, reps, rest and coaching cues, a week-by-week progression with a deload, swap options for every exercise and safety notes for sore knees or a bad back. The AI only picks exercises from the database, and every one is checked before you get the plan.
- Exercise database
- 876 exercises, 17 muscles, 12 equipment types, 7 categories, beginner to expert
- Search that gets gym talk
- "pushup" or "push ups", "abs crunch", "DB row", and muscle groups like back, legs or core
- Alternatives
- Same muscles and movement, with the equipment you have, ranked by a similarity score
- AI workout plans
- Muscle gain, strength, fat loss, general fitness, endurance, mobility, athletic
- Week by week
- 1 to 12 weeks written out, sets and reps progressing, lighter weeks included
- Areas to protect
- Knees, lower back, shoulders, wrists... risky exercises left out before the AI even sees them
- Any language
- For the plan's texts
Endpoints
Host exercise-database-ai-workout-planner-fitness.p.rapidapi.com, header X-RapidAPI-Key. Parameters and examples for each one are in the API reference.
Exercises
Search, look up and swap exercises of the database. No AI.
-
GET
/v1/workout/exercisesSearch and filter exercises -
GET
/v1/workout/exercises/{exercise_id}One exercise: muscles, equipment, instructions, photos -
GET
/v1/workout/exercises/{exercise_id}/alternativesSubstitutes for an exercise: same muscles, your equipment -
GET
/v1/workout/filtersEvery muscle, equipment, level and category, with counts
AI Workout Planner
Week-by-week programs built from database exercises.
Use cases
- Fitness and gym apps. An exercise library with photos, and a "build my plan" button
- Personal trainers and coaching platforms. A first draft of a client's program in seconds, then edit
- Wearables and health apps. A weekly plan that matches the equipment and time the user has
- Corporate wellness and physio-friendly programs. Plans that stay away from the areas a user wants to protect
- Chatbots and AI agents. A tool that answers "what can I do for my back with dumbbells?"
Tutorial
Everyday life
Pricing
Exercise calls 1 credit; a plan 20 per 25 exercises a week (20 to 80). Failed calls are never billed.
| Plan | Price | Credits included | Above the quota |
|---|---|---|---|
| BASIC | Free | 40 / day | resets every day |
| PRO | $4.99/mo | 8,000 / month | $0.007 per credit |
| ULTRA | $14.99/mo | 25,000 / month | $0.007 per credit |
| MEGA | $49.99/mo | 80,000 / month | $0.007 per credit |
Subscribe on RapidAPI (opens in a new tab)
No code: the Apify actor
The AI Workout Plan Generator & Exercise Database actor runs the same engine on a list of inputs and exports a table (JSON, CSV, Excel, Google Sheets). It is billed per result; free-plan users get 1 plan and 50 exercises per run.
| Event | Charged for | Price |
|---|---|---|
workout-plan | Each plan, per 25 exercises a week | $0.01 |
exercise | Each exercise exported | $0.0003 |
Questions about the Exercise Database & AI Workout Planner API
Can the AI make up an exercise?
checks.removed counts what was removed (usually 0).Can I use the photos in my app?
Is it medical advice?
limitations, the API leaves out the obvious risky exercises (jumps for knees, overhead presses for shoulders, heavy spinal loading for the lower back) and the plan adds safety notes, but it does not assess injuries and is no substitute for a professional.Which languages?
"language": "French"); exercise names and instructions stay in English.

