API Authentication
Enter your RapidAPI key to access the Workout Planner API
Generate Workout Plan
Create a personalized workout plan based on your goals
Example Request
{
  "goal": "Build muscle",
  "fitness_level": "Intermediate",
  "preferences": [
    "Weight training",
    "Cardio"
  ],
  "health_conditions": [
    "None"
  ],
  "schedule": {
    "days_per_week": 4,
    "session_duration": 60
  },
  "plan_duration_weeks": 4,
  "lang": "en"
}
Example Response
{
  "result": {
    "goal": "Build muscle",
    "fitness_level": "Intermediate",
    "total_weeks": 4,
    "schedule": {
      "days_per_week": 4,
      "session_duration": 60
    },
    "exercises": [
      {
        "day": "Monday",
        "exercises": [
          {
            "name": "Bench Press",
            "duration": "15 minutes",
            "repetitions": "8-12",
            "sets": "4",
            "equipment": "Barbell"
          }
        ]
      }
    ]
  }
}
API Documentation
Base URL: https://ai-workout-planner-exercise-fitness-nutrition-guide.p.rapidapi.com

Endpoints

POST /generateWorkoutPlan

Generate a personalized workout plan

POST /exerciseDetails

Get detailed exercise information

POST /nutritionAdvice

Get nutrition recommendations

POST /customWorkoutPlan

Create a custom workout plan

POST /analyzeFoodPlate

Analyze food plate nutrition

Common Headers

{
  "Content-Type": "application/json",
  "X-RapidAPI-Key": "your-api-key-here"
}