AI Workout Planner API

AI Workout Planner API

The AI Workout Planner API provides personalized workout plans based on user preferences and fitness goals. Utilizing advanced algorithms, it customizes exercises, sets, and schedules to optimize training efficiency. Perfect for developers creating fitness apps or integrating tailored workout solutions into existing platforms.

About the API:

The AI Workout Planner API is a powerful tool designed to revolutionize fitness planning by providing personalized workout routines tailored to individual user needs. By leveraging advanced machine learning algorithms, this API assesses user data such as fitness levels, goals, preferences, and available equipment to generate customized exercise plans. Each workout is intelligently structured to maximize efficiency and effectiveness, ensuring users stay motivated and on track to achieve their fitness objectives.

Developers can seamlessly integrate the AI Workout Planner API into their fitness applications or platforms, enhancing the user experience with dynamic and adaptable workout programs. The API supports a wide range of fitness activities, including strength training, cardio, flexibility exercises, and more, catering to diverse fitness goals from weight loss to muscle gain and overall health improvement.

Key features include real-time plan adjustments based on user feedback, progress tracking, and recommendations for rest days and recovery periods. The API also offers integration capabilities with wearable devices and fitness trackers, providing comprehensive insights into user performance and adaptation.

Ideal for fitness startups, health apps, and personal trainers, the AI Workout Planner API empowers users to take control of their fitness journey with scientifically-backed, personalized workout plans that evolve with their progress and changing goals.

 

What this API receives and what your API provides (input/output)?

This API will deliver you a workout plan based on your preferences. Be able to filter by body part or equipment, and receive the target body part of that exercise and an animated gif to show how the exercise is done. 

 

What are the most common uses cases of this API?

  1. Personal Fitness Apps: Developers can integrate the API into personal fitness apps to offer users customized workout plans. These apps can provide tailored exercises based on individual fitness levels, goals, and preferences, ensuring users receive the most effective and personalized training experience.

  2. Corporate Wellness Programs: Companies can utilize the API to create bespoke fitness programs for their employees. This can help improve overall employee health and well-being, boost morale, and reduce healthcare costs by providing accessible and personalized workout routines.

  3. Gym Management Software: Gyms and fitness centers can integrate the API into their management software to offer members individualized workout plans. This enhances the member experience by providing tailored training programs that can adapt to each user's progress and changing goals.

  4. Online Personal Training Services: Online personal trainers can use the API to create customized workout plans for clients. The API allows trainers to offer scalable and personalized services, ensuring clients receive tailored guidance without requiring extensive manual planning.

  5. Health and Fitness Wearables: Manufacturers of fitness wearables can integrate the API to provide users with personalized workout recommendations directly on their devices. By leveraging data from wearables, the API can offer real-time exercise adjustments and suggestions, enhancing the overall user experience and effectiveness of the workouts.

 

Are there any limitations to your plans?

Besides API call limitations per month, there are no other limitations.

API Documentation

Endpoints


Fetch a list of available body parts

 



                                                                            
GET https://zylalabs.com/api/4210/ai+workout+planner+api/5105/list+of+body+parts
                                                                            
                                                                        

Test Endpoint

API EXAMPLE RESPONSE

       
                                                                                                        
                                                                                                                                                                                                                            ["waist","upper legs","back","lower legs","chest","upper arms","cardio","shoulders","lower arms","neck"]
                                                                                                                                                                                                                    
                                                                                                    

List of Body Parts - CODE SNIPPETS


curl --location --request GET 'https://zylalabs.com/api/4210/ai+workout+planner+api/5105/list+of+body+parts' --header 'Authorization: Bearer YOUR_API_KEY' 

    

Fetch exercises by body part

 



                                                                            
GET https://zylalabs.com/api/4210/ai+workout+planner+api/5106/list+exercise+by+body+part
                                                                            
                                                                        

List Exercise by Body Part - Endpoint Features
Object Description
bodyPart [Required]
Test Endpoint

API EXAMPLE RESPONSE

       
                                                                                                        
                                                                                                                                                                                                                            [{"bodyPart":"cardio","equipment":"body weight","gifUrl":" https:\/\/zyla-marketplace.s3.amazonaws.com\/api-exercise\/exercise_36.gif","id":36,"name":"astride jumps (male)","target":"cardiovascular system"},{"bodyPart":"cardio","equipment":"body weight","gifUrl":" https:\/\/zyla-marketplace.s3.amazonaws.com\/api-exercise\/exercise_37.gif","id":37,"name":"back and forth step","target":"cardiovascular system"},{"bodyPart":"cardio","equipment":"body weight","gifUrl":" https:\/\/zyla-marketplace.s3.amazonaws.com\/api-exercise\/exercise_240.gif","id":240,"name":"bear crawl","target":"cardiovascular system"},{"bodyPart":"cardio","equipment":"body weight","gifUrl":" https:\/\/zyla-marketplace.s3.amazonaws.com\/api-exercise\/exercise_267.gif","id":267,"name":"burpee","target":"cardiovascular system"},{"bodyPart":"cardio","equipment":"leverage machine","gifUrl":" https:\/\/zyla-marketplace.s3.amazonaws.com\/api-exercise\/exercise_454.gif","id":454,"name":"cycle cross trainer","target":"cardiovascular system"},{"bodyPart":"cardio","equipment":"dumbbell","gifUrl":" https:\/\/zyla-marketplace.s3.amazonaws.com\/api-exercise\/exercise_486.gif","id":486,"name":"dumbbell burpee","target":"cardiovascular system"},{"bodyPart":"cardio","equipment":"body weight","gifUrl":" https:\/\/zyla-marketplace.s3.amazonaws.com\/api-exercise\/exercise_822.gif","id":822,"name":"half knee bends (male)","target":"cardiovascular system"},{"bodyPart":"cardio","equipment":"body weight","gifUrl":" https:\/\/zyla-marketplace.s3.amazonaws.com\/api-exercise\/exercise_837.gif","id":837,"name":"high knee against wall","target":"cardiovascular system"},{"bodyPart":"cardio","equipment":"body weight","gifUrl":" https:\/\/zyla-marketplace.s3.amazonaws.com\/api-exercise\/exercise_865.gif","id":865,"name":"jack burpee","target":"cardiovascular system"},{"bodyPart":"cardio","equipment":"body weight","gifUrl":" https:\/\/zyla-marketplace.s3.amazonaws.com\/api-exercise\/exercise_866.gif","id":866,"name":"jack jump (male)","target":"cardiovascular system"},{"bodyPart":"cardio","equipment":"rope","gifUrl":" https:\/\/zyla-marketplace.s3.amazonaws.com\/api-exercise\/exercise_869.gif","id":869,"name":"jump rope","target":"cardiovascular system"},{"bodyPart":"cardio","equipment":"body weight","gifUrl":" https:\/\/zyla-marketplace.s3.amazonaws.com\/api-exercise\/exercise_1024.gif","id":1024,"name":"mountain climber","target":"cardiovascular system"},{"bodyPart":"cardio","equipment":"body weight","gifUrl":" https:\/\/zyla-marketplace.s3.amazonaws.com\/api-exercise\/exercise_1062.gif","id":1062,"name":"push to run","target":"cardiovascular system"},{"bodyPart":"cardio","equipment":"body weight","gifUrl":" https:\/\/zyla-marketplace.s3.amazonaws.com\/api-exercise\/exercise_1110.gif","id":1110,"name":"run","target":"cardiovascular system"},{"bodyPart":"cardio","equipment":"body weight","gifUrl":" https:\/\/zyla-marketplace.s3.amazonaws.com\/api-exercise\/exercise_1111.gif","id":1111,"name":"run (equipment)","target":"cardiovascular system"},{"bodyPart":"cardio","equipment":"body weight","gifUrl":" https:\/\/zyla-marketplace.s3.amazonaws.com\/api-exercise\/exercise_1117.gif","id":1117,"name":"scissor jumps (male)","target":"cardiovascular system"},{"bodyPart":"cardio","equipment":"body weight","gifUrl":" https:\/\/zyla-marketplace.s3.amazonaws.com\/api-exercise\/exercise_1128.gif","id":1128,"name":"semi squat jump (male)","target":"cardiovascular system"},{"bodyPart":"cardio","equipment":"body weight","gifUrl":" https:\/\/zyla-marketplace.s3.amazonaws.com\/api-exercise\/exercise_1129.gif","id":1129,"name":"short stride run","target":"cardiovascular system"},{"bodyPart":"cardio","equipment":"body weight","gifUrl":" https:\/\/zyla-marketplace.s3.amazonaws.com\/api-exercise\/exercise_1153.gif","id":1153,"name":"skater hops","target":"cardiovascular system"},{"bodyPart":"cardio","equipment":"body weight","gifUrl":" https:\/\/zyla-marketplace.s3.amazonaws.com\/api-exercise\/exercise_1155.gif","id":1155,"name":"ski step","target":"cardiovascular system"},{"bodyPart":"cardio","equipment":"body weight","gifUrl":" https:\/\/zyla-marketplace.s3.amazonaws.com\/api-exercise\/exercise_1242.gif","id":1242,"name":"star jump (male)","target":"cardiovascular system"},{"bodyPart":"cardio","equipment":"stationary bike","gifUrl":" https:\/\/zyla-marketplace.s3.amazonaws.com\/api-exercise\/exercise_1243.gif","id":1243,"name":"stationary bike run v. 3","target":"cardiovascular system"},{"bodyPart":"cardio","equipment":"leverage machine","gifUrl":" https:\/\/zyla-marketplace.s3.amazonaws.com\/api-exercise\/exercise_1244.gif","id":1244,"name":"stationary bike walk","target":"cardiovascular system"},{"bodyPart":"cardio","equipment":"body weight","gifUrl":" https:\/\/zyla-marketplace.s3.amazonaws.com\/api-exercise\/exercise_1255.gif","id":1255,"name":"swing 360","target":"cardiovascular system"},{"bodyPart":"cardio","equipment":"elliptical machine","gifUrl":" https:\/\/zyla-marketplace.s3.amazonaws.com\/api-exercise\/exercise_1275.gif","id":1275,"name":"walk elliptical cross trainer","target":"cardiovascular system"},{"bodyPart":"cardio","equipment":"body weight","gifUrl":" https:\/\/zyla-marketplace.s3.amazonaws.com\/api-exercise\/exercise_1276.gif","id":1276,"name":"walking high knees lunge","target":"cardiovascular system"},{"bodyPart":"cardio","equipment":"leverage machine","gifUrl":" https:\/\/zyla-marketplace.s3.amazonaws.com\/api-exercise\/exercise_1278.gif","id":1278,"name":"walking on incline treadmill","target":"cardiovascular system"},{"bodyPart":"cardio","equipment":"stepmill machine","gifUrl":" https:\/\/zyla-marketplace.s3.amazonaws.com\/api-exercise\/exercise_1279.gif","id":1279,"name":"walking on stepmill","target":"cardiovascular system"},{"bodyPart":"cardio","equipment":"body weight","gifUrl":" https:\/\/zyla-marketplace.s3.amazonaws.com\/api-exercise\/exercise_1316.gif","id":1316,"name":"wheel run","target":"cardiovascular system"}]
                                                                                                                                                                                                                    
                                                                                                    

List Exercise by Body Part - CODE SNIPPETS


curl --location --request GET 'https://zylalabs.com/api/4210/ai+workout+planner+api/5106/list+exercise+by+body+part?bodyPart=cardio' --header 'Authorization: Bearer YOUR_API_KEY' 

    

Fetch a list of available target muscles

 



                                                                            
GET https://zylalabs.com/api/4210/ai+workout+planner+api/5107/list+of+target+muscles
                                                                            
                                                                        

Test Endpoint

API EXAMPLE RESPONSE

       
                                                                                                        
                                                                                                                                                                                                                            ["abs","quads","lats","calves","pectorals","glutes","hamstrings","adductors","triceps","cardiovascular system","spine","upper back","biceps","delts","forearms","traps","serratus anterior","abductors","levator scapulae"]
                                                                                                                                                                                                                    
                                                                                                    

List of Target Muscles - CODE SNIPPETS


curl --location --request GET 'https://zylalabs.com/api/4210/ai+workout+planner+api/5107/list+of+target+muscles' --header 'Authorization: Bearer YOUR_API_KEY' 

    

Fetch exercises by target primary muscle

 



                                                                            
GET https://zylalabs.com/api/4210/ai+workout+planner+api/5108/list+by+target+muscle
                                                                            
                                                                        

List by Target Muscle - Endpoint Features
Object Description
target [Required]
Test Endpoint

API EXAMPLE RESPONSE

       
                                                                                                        
                                                                                                                                                                                                                            [{"bodyPart":"upper arms","equipment":"band","gifUrl":" https:\/\/zyla-marketplace.s3.amazonaws.com\/api-exercise\/exercise_43.gif","id":43,"name":"band alternating biceps curl","target":"biceps"},{"bodyPart":"upper arms","equipment":"band","gifUrl":" https:\/\/zyla-marketplace.s3.amazonaws.com\/api-exercise\/exercise_52.gif","id":52,"name":"band concentration curl","target":"biceps"},{"bodyPart":"upper arms","equipment":"band","gifUrl":" https:\/\/zyla-marketplace.s3.amazonaws.com\/api-exercise\/exercise_64.gif","id":64,"name":"band one arm overhead biceps curl","target":"biceps"},{"bodyPart":"upper arms","equipment":"barbell","gifUrl":" https:\/\/zyla-marketplace.s3.amazonaws.com\/api-exercise\/exercise_97.gif","id":97,"name":"barbell alternate biceps curl","target":"biceps"},{"bodyPart":"upper arms","equipment":"barbell","gifUrl":" https:\/\/zyla-marketplace.s3.amazonaws.com\/api-exercise\/exercise_103.gif","id":103,"name":"barbell biceps curl (with arm blaster)","target":"biceps"},{"bodyPart":"upper arms","equipment":"barbell","gifUrl":" https:\/\/zyla-marketplace.s3.amazonaws.com\/api-exercise\/exercise_107.gif","id":107,"name":"barbell curl","target":"biceps"},{"bodyPart":"upper arms","equipment":"barbell","gifUrl":" https:\/\/zyla-marketplace.s3.amazonaws.com\/api-exercise\/exercise_115.gif","id":115,"name":"barbell drag curl","target":"biceps"},{"bodyPart":"upper arms","equipment":"barbell","gifUrl":" https:\/\/zyla-marketplace.s3.amazonaws.com\/api-exercise\/exercise_147.gif","id":147,"name":"barbell lying preacher curl","target":"biceps"},{"bodyPart":"upper arms","equipment":"barbell","gifUrl":" https:\/\/zyla-marketplace.s3.amazonaws.com\/api-exercise\/exercise_161.gif","id":161,"name":"barbell preacher curl","target":"biceps"},{"bodyPart":"upper arms","equipment":"barbell","gifUrl":" https:\/\/zyla-marketplace.s3.amazonaws.com\/api-exercise\/exercise_163.gif","id":163,"name":"barbell prone incline curl","target":"biceps"},{"bodyPart":"upper arms","equipment":"barbell","gifUrl":" https:\/\/zyla-marketplace.s3.amazonaws.com\/api-exercise\/exercise_173.gif","id":173,"name":"barbell reverse curl","target":"biceps"},{"bodyPart":"upper arms","equipment":"barbell","gifUrl":" https:\/\/zyla-marketplace.s3.amazonaws.com\/api-exercise\/exercise_179.gif","id":179,"name":"barbell reverse preacher curl","target":"biceps"},{"bodyPart":"upper arms","equipment":"barbell","gifUrl":" https:\/\/zyla-marketplace.s3.amazonaws.com\/api-exercise\/exercise_189.gif","id":189,"name":"barbell seated close-grip concentration curl","target":"biceps"},{"bodyPart":"upper arms","equipment":"barbell","gifUrl":" https:\/\/zyla-marketplace.s3.amazonaws.com\/api-exercise\/exercise_211.gif","id":211,"name":"barbell standing close grip curl","target":"biceps"},{"bodyPart":"upper arms","equipment":"barbell","gifUrl":" https:\/\/zyla-marketplace.s3.amazonaws.com\/api-exercise\/exercise_213.gif","id":213,"name":"barbell standing concentration curl","target":"biceps"},{"bodyPart":"upper arms","equipment":"barbell","gifUrl":" https:\/\/zyla-marketplace.s3.amazonaws.com\/api-exercise\/exercise_217.gif","id":217,"name":"barbell standing reverse grip curl","target":"biceps"},{"bodyPart":"upper arms","equipment":"barbell","gifUrl":" https:\/\/zyla-marketplace.s3.amazonaws.com\/api-exercise\/exercise_220.gif","id":220,"name":"barbell standing wide grip biceps curl","target":"biceps"},{"bodyPart":"upper arms","equipment":"barbell","gifUrl":" https:\/\/zyla-marketplace.s3.amazonaws.com\/api-exercise\/exercise_222.gif","id":222,"name":"barbell standing wide-grip curl","target":"biceps"},{"bodyPart":"upper arms","equipment":"body weight","gifUrl":" https:\/\/zyla-marketplace.s3.amazonaws.com\/api-exercise\/exercise_247.gif","id":247,"name":"biceps leg concentration curl","target":"biceps"},{"bodyPart":"upper arms","equipment":"body weight","gifUrl":" https:\/\/zyla-marketplace.s3.amazonaws.com\/api-exercise\/exercise_248.gif","id":248,"name":"biceps narrow pull-ups","target":"biceps"},{"bodyPart":"upper arms","equipment":"body weight","gifUrl":" https:\/\/zyla-marketplace.s3.amazonaws.com\/api-exercise\/exercise_249.gif","id":249,"name":"biceps pull-up","target":"biceps"},{"bodyPart":"upper arms","equipment":"body weight","gifUrl":" https:\/\/zyla-marketplace.s3.amazonaws.com\/api-exercise\/exercise_254.gif","id":254,"name":"bodyweight side lying biceps curl","target":"biceps"},{"bodyPart":"upper arms","equipment":"cable","gifUrl":" https:\/\/zyla-marketplace.s3.amazonaws.com\/api-exercise\/exercise_275.gif","id":275,"name":"cable close grip curl","target":"biceps"},{"bodyPart":"upper arms","equipment":"cable","gifUrl":" https:\/\/zyla-marketplace.s3.amazonaws.com\/api-exercise\/exercise_276.gif","id":276,"name":"cable concentration curl","target":"biceps"},{"bodyPart":"upper arms","equipment":"cable","gifUrl":" https:\/\/zyla-marketplace.s3.amazonaws.com\/api-exercise\/exercise_281.gif","id":281,"name":"cable curl","target":"biceps"},{"bodyPart":"upper arms","equipment":"cable","gifUrl":" https:\/\/zyla-marketplace.s3.amazonaws.com\/api-exercise\/exercise_287.gif","id":287,"name":"cable drag curl","target":"biceps"},{"bodyPart":"upper arms","equipment":"cable","gifUrl":" https:\/\/zyla-marketplace.s3.amazonaws.com\/api-exercise\/exercise_292.gif","id":292,"name":"cable hammer curl (with rope)","target":"biceps"},{"bodyPart":"upper arms","equipment":"cable","gifUrl":" https:\/\/zyla-marketplace.s3.amazonaws.com\/api-exercise\/exercise_313.gif","id":313,"name":"cable lying bicep curl","target":"biceps"},{"bodyPart":"upper arms","equipment":"cable","gifUrl":" https:\/\/zyla-marketplace.s3.amazonaws.com\/api-exercise\/exercise_314.gif","id":314,"name":"cable lying close-grip curl","target":"biceps"},{"bodyPart":"upper arms","equipment":"cable","gifUrl":" https:\/\/zyla-marketplace.s3.amazonaws.com\/api-exercise\/exercise_320.gif","id":320,"name":"cable one arm curl","target":"biceps"},{"bodyPart":"upper arms","equipment":"cable","gifUrl":" https:\/\/zyla-marketplace.s3.amazonaws.com\/api-exercise\/exercise_328.gif","id":328,"name":"cable one arm preacher curl","target":"biceps"},{"bodyPart":"upper arms","equipment":"cable","gifUrl":" https:\/\/zyla-marketplace.s3.amazonaws.com\/api-exercise\/exercise_331.gif","id":331,"name":"cable one arm reverse preacher curl","target":"biceps"},{"bodyPart":"upper arms","equipment":"cable","gifUrl":" https:\/\/zyla-marketplace.s3.amazonaws.com\/api-exercise\/exercise_334.gif","id":334,"name":"cable overhead curl","target":"biceps"},{"bodyPart":"upper arms","equipment":"cable","gifUrl":" https:\/\/zyla-marketplace.s3.amazonaws.com\/api-exercise\/exercise_335.gif","id":335,"name":"cable overhead curl on exercise ball","target":"biceps"},{"bodyPart":"upper arms","equipment":"cable","gifUrl":" https:\/\/zyla-marketplace.s3.amazonaws.com\/api-exercise\/exercise_338.gif","id":338,"name":"cable preacher curl","target":"biceps"},{"bodyPart":"upper arms","equipment":"cable","gifUrl":" https:\/\/zyla-marketplace.s3.amazonaws.com\/api-exercise\/exercise_343.gif","id":343,"name":"cable pulldown bicep curl","target":"biceps"},{"bodyPart":"upper arms","equipment":"cable","gifUrl":" https:\/\/zyla-marketplace.s3.amazonaws.com\/api-exercise\/exercise_352.gif","id":352,"name":"cable reverse curl","target":"biceps"},{"bodyPart":"upper arms","equipment":"cable","gifUrl":" https:\/\/zyla-marketplace.s3.amazonaws.com\/api-exercise\/exercise_354.gif","id":354,"name":"cable reverse one arm curl","target":"biceps"},{"bodyPart":"upper arms","equipment":"cable","gifUrl":" https:\/\/zyla-marketplace.s3.amazonaws.com\/api-exercise\/exercise_355.gif","id":355,"name":"cable reverse preacher curl","target":"biceps"},{"bodyPart":"upper arms","equipment":"cable","gifUrl":" https:\/\/zyla-marketplace.s3.amazonaws.com\/api-exercise\/exercise_362.gif","id":362,"name":"cable rope hammer preacher curl","target":"biceps"},{"bodyPart":"upper arms","equipment":"cable","gifUrl":" https:\/\/zyla-marketplace.s3.amazonaws.com\/api-exercise\/exercise_366.gif","id":366,"name":"cable rope one arm hammer preacher curl","target":"biceps"},{"bodyPart":"upper arms","equipment":"cable","gifUrl":" https:\/\/zyla-marketplace.s3.amazonaws.com\/api-exercise\/exercise_371.gif","id":371,"name":"cable seated curl","target":"biceps"},{"bodyPart":"upper arms","equipment":"cable","gifUrl":" https:\/\/zyla-marketplace.s3.amazonaws.com\/api-exercise\/exercise_374.gif","id":374,"name":"cable seated one arm concentration curl","target":"biceps"},{"bodyPart":"upper arms","equipment":"cable","gifUrl":" https:\/\/zyla-marketplace.s3.amazonaws.com\/api-exercise\/exercise_375.gif","id":375,"name":"cable seated overhead curl","target":"biceps"},{"bodyPart":"upper arms","equipment":"cable","gifUrl":" https:\/\/zyla-marketplace.s3.amazonaws.com\/api-exercise\/exercise_387.gif","id":387,"name":"cable squatting curl","target":"biceps"},{"bodyPart":"upper arms","equipment":"cable","gifUrl":" https:\/\/zyla-marketplace.s3.amazonaws.com\/api-exercise\/exercise_395.gif","id":395,"name":"cable standing inner curl","target":"biceps"},{"bodyPart":"upper arms","equipment":"cable","gifUrl":" https:\/\/zyla-marketplace.s3.amazonaws.com\/api-exercise\/exercise_399.gif","id":399,"name":"cable standing pulldown (with rope)","target":"biceps"},{"bodyPart":"upper arms","equipment":"cable","gifUrl":" https:\/\/zyla-marketplace.s3.amazonaws.com\/api-exercise\/exercise_417.gif","id":417,"name":"cable two arm curl on incline bench","target":"biceps"},{"bodyPart":"upper arms","equipment":"dumbbell","gifUrl":" https:\/\/zyla-marketplace.s3.amazonaws.com\/api-exercise\/exercise_463.gif","id":463,"name":"dumbbell alternate biceps curl","target":"biceps"},{"bodyPart":"upper arms","equipment":"dumbbell","gifUrl":" https:\/\/zyla-marketplace.s3.amazonaws.com\/api-exercise\/exercise_464.gif","id":464,"name":"dumbbell alternate biceps curl (with arm blaster)","target":"biceps"},{"bodyPart":"upper arms","equipment":"dum...
                                                                                                                                                                                                                    
                                                                                                    

List by Target Muscle - CODE SNIPPETS


curl --location --request GET 'https://zylalabs.com/api/4210/ai+workout+planner+api/5108/list+by+target+muscle?target=biceps' --header 'Authorization: Bearer YOUR_API_KEY' 

    

Fetch an exercise by its ID

 



                                                                            
GET https://zylalabs.com/api/4210/ai+workout+planner+api/5110/exercise+by+id
                                                                            
                                                                        

Exercise By ID - Endpoint Features
Object Description
id [Required]
Test Endpoint

API EXAMPLE RESPONSE

       
                                                                                                        
                                                                                                                                                                                                                            {"bodyPart":"chest","equipment":"leverage machine","gifUrl":" https:\/\/zyla-marketplace.s3.amazonaws.com\/api-exercise\/exercise_14.gif","id":14,"name":"assisted chest dip (kneeling)","target":"pectorals"}
                                                                                                                                                                                                                    
                                                                                                    

Exercise By ID - CODE SNIPPETS


curl --location --request GET 'https://zylalabs.com/api/4210/ai+workout+planner+api/5110/exercise+by+id?id=14' --header 'Authorization: Bearer YOUR_API_KEY' 

    

Retrieve the equipment currently available.



                                                                            
GET https://zylalabs.com/api/4210/ai+workout+planner+api/5111/list+of+equipment
                                                                            
                                                                        

Test Endpoint

API EXAMPLE RESPONSE

       
                                                                                                        
                                                                                                                                                                                                                            ["body weight","cable","leverage machine","assisted","medicine ball","stability ball","band","barbell","rope","dumbbell","ez barbell","sled machine","upper body ergometer","kettlebell","olympic barbell","weighted","bosu ball","resistance band","roller","skierg machine","hammer","smith machine","wheel roller","stationary bike","tire","trap bar","elliptical machine","stepmill machine"]
                                                                                                                                                                                                                    
                                                                                                    

List of equipment - CODE SNIPPETS


curl --location --request GET 'https://zylalabs.com/api/4210/ai+workout+planner+api/5111/list+of+equipment' --header 'Authorization: Bearer YOUR_API_KEY' 

    

Retrieve Exercises Categorized By The Type Of Equipment. 

The equipment can be found in the List Of Equipment Endpoint.



                                                                            
GET https://zylalabs.com/api/4210/ai+workout+planner+api/5112/list+by+equipment
                                                                            
                                                                        

List by equipment - Endpoint Features
Object Description
equipment [Required]
Test Endpoint

API EXAMPLE RESPONSE

       
                                                                                                        
                                                                                                                                                                                                                            [{"bodyPart":"waist","equipment":"medicine ball","gifUrl":" https:\/\/zyla-marketplace.s3.amazonaws.com\/api-exercise\/exercise_22.gif","id":22,"name":"assisted motion russian twist","target":"abs"},{"bodyPart":"back","equipment":"medicine ball","gifUrl":" https:\/\/zyla-marketplace.s3.amazonaws.com\/api-exercise\/exercise_1011.gif","id":1011,"name":"medicine ball catch and overhead throw","target":"lats"},{"bodyPart":"chest","equipment":"medicine ball","gifUrl":" https:\/\/zyla-marketplace.s3.amazonaws.com\/api-exercise\/exercise_1012.gif","id":1012,"name":"medicine ball chest pass","target":"pectorals"},{"bodyPart":"chest","equipment":"medicine ball","gifUrl":" https:\/\/zyla-marketplace.s3.amazonaws.com\/api-exercise\/exercise_1013.gif","id":1013,"name":"medicine ball chest push from 3 point stance","target":"pectorals"},{"bodyPart":"chest","equipment":"medicine ball","gifUrl":" https:\/\/zyla-marketplace.s3.amazonaws.com\/api-exercise\/exercise_1014.gif","id":1014,"name":"medicine ball chest push multiple response","target":"pectorals"},{"bodyPart":"chest","equipment":"medicine ball","gifUrl":" https:\/\/zyla-marketplace.s3.amazonaws.com\/api-exercise\/exercise_1015.gif","id":1015,"name":"medicine ball chest push single response","target":"pectorals"},{"bodyPart":"chest","equipment":"medicine ball","gifUrl":" https:\/\/zyla-marketplace.s3.amazonaws.com\/api-exercise\/exercise_1016.gif","id":1016,"name":"medicine ball chest push with run release","target":"pectorals"},{"bodyPart":"upper arms","equipment":"medicine ball","gifUrl":" https:\/\/zyla-marketplace.s3.amazonaws.com\/api-exercise\/exercise_1017.gif","id":1017,"name":"medicine ball close grip push up","target":"triceps"},{"bodyPart":"back","equipment":"medicine ball","gifUrl":" https:\/\/zyla-marketplace.s3.amazonaws.com\/api-exercise\/exercise_1018.gif","id":1018,"name":"medicine ball overhead slam","target":"upper back"},{"bodyPart":"upper arms","equipment":"medicine ball","gifUrl":" https:\/\/zyla-marketplace.s3.amazonaws.com\/api-exercise\/exercise_1019.gif","id":1019,"name":"medicine ball supine chest throw","target":"triceps"},{"bodyPart":"waist","equipment":"medicine ball","gifUrl":" https:\/\/zyla-marketplace.s3.amazonaws.com\/api-exercise\/exercise_1037.gif","id":1037,"name":"one arm slam (with medicine ball)","target":"abs"},{"bodyPart":"chest","equipment":"medicine ball","gifUrl":" https:\/\/zyla-marketplace.s3.amazonaws.com\/api-exercise\/exercise_1072.gif","id":1072,"name":"push-up medicine ball","target":"pectorals"},{"bodyPart":"upper arms","equipment":"medicine ball","gifUrl":" https:\/\/zyla-marketplace.s3.amazonaws.com\/api-exercise\/exercise_1302.gif","id":1302,"name":"weighted seated bicep curl  (on stability ball)","target":"biceps"}]
                                                                                                                                                                                                                    
                                                                                                    

List by equipment - CODE SNIPPETS


curl --location --request GET 'https://zylalabs.com/api/4210/ai+workout+planner+api/5112/list+by+equipment?equipment=medicine ball' --header 'Authorization: Bearer YOUR_API_KEY' 

    

This endpoint will deliver a customized workout plan based on your gender, weight (kg), target muscle, and goal. 

 

For example, your goals could be "weight_loss", "muscle_gain", "strength_training", "cardiovascular_endurance", "flexibility", or "general_fitness"

Target Muscles:

[
"abs",
"quads",
"lats",
"calves",
"pectorals",
"glutes",
"hamstrings",
"adductors",
"triceps",
"cardiovascular system",
"spine",
"upper back",
"biceps",
"delts",
"forearms",
"traps",
"serratus anterior",
"abductors",
"levator scapulae"
]



                                                                            
GET https://zylalabs.com/api/4210/ai+workout+planner+api/5113/ai+workout+planner
                                                                            
                                                                        

AI Workout Planner - Endpoint Features
Object Description
target [Required] Target Muscle.
gender [Required] male or female
weight [Required] In Kilograms
goal [Required] "weight_loss", "muscle_gain", "strength_training", "cardiovascular_endurance", "flexibility", or "general_fitness"
Test Endpoint

API EXAMPLE RESPONSE

       
                                                                                                        
                                                                                                                                                                                                                            {"status":true,"message":"Workout routine created successfully.","routine":["Based on your goal of muscle gain and the specific triceps-focused exercises, here is a personalized workout routine for you: **Workout Routine: Triceps Muscle Gain** **Day 1:**\n1. Assisted Standing Triceps Extension (with towel) - 4 sets x 12 reps\n2. Band Close-Grip Push-Up - 3 sets x 15 reps\n3. Barbell Lying Triceps Extension Skull Crusher - 4 sets x 10 reps **Day 2:**\n1. Barbell Incline Close Grip Bench Press - 4 sets x 12 reps\n2. Barbell Lying Close-Grip Press - 3 sets x 15 reps\n3. Barbell Reverse Grip Skullcrusher - 4 sets x 10 reps **Day 3:**\n1. Band Side Triceps Extension - 4 sets x 12 reps\n2. Barbell Lying Triceps Extension - 3 sets x 15 reps\n3. Barbell Seated Close Grip Behind Neck Triceps Extension - 4 sets x 10 reps **Day 4:**\nRest day or optional light cardio\/stretching. **Notes:**\n- Perform each exercise with proper form and controlled movements to maximize muscle engagement.\n- Focus on progressive overload by increasing weight gradually as you get stronger.\n- Ensure adequate protein intake and overall nutrition to support muscle growth.\n- Hydrate well and get sufficient rest for muscle recovery and growth. This routine targets your triceps from various angles to stimulate muscle growth effectively. Adjust weights and reps based on your fitness level and ensure warm-up before starting each workout. Make sure to consult with a fitness professional before beginning any new exercise routine."]}
                                                                                                                                                                                                                    
                                                                                                    

AI Workout Planner - CODE SNIPPETS


curl --location --request GET 'https://zylalabs.com/api/4210/ai+workout+planner+api/5113/ai+workout+planner?target=biceps&gender=male&weight=80&goal=muscle_gain' --header 'Authorization: Bearer YOUR_API_KEY' 

    

This endpoint will allow you to know the amount of calories that are burned per exercise. 

Select the exercise, gender, weight, and the number of minutes, reps, or weight lifted in any case. 

 

Reps, lifted_weight and minutes, are optional parameters. But one of them must be selected for the endpoint to return a value. These parameters are not combinable.



                                                                            
GET https://zylalabs.com/api/4210/ai+workout+planner+api/5114/calories+burned
                                                                            
                                                                        

Calories Burned - Endpoint Features
Object Description
gender [Required] male or female
weight [Required] Athlete weight on KG.
exercise_id [Required] Exercise ID.
reps [Optional] Number of reps
lifted_weight [Optional] Weight Lifted on KG.
minutes [Optional] Number of minutes doing the exercise.
age [Required] Athlete age.
Test Endpoint

API EXAMPLE RESPONSE

       
                                                                                                        
                                                                                                                                                                                                                            {"status":true,"details":{"exercise":"dumbbell zottman preacher curl","gender":"male","age":"24","weight":"80","reps":"25"},"calories_burned":null}
                                                                                                                                                                                                                    
                                                                                                    

Calories Burned - CODE SNIPPETS


curl --location --request GET 'https://zylalabs.com/api/4210/ai+workout+planner+api/5114/calories+burned?gender=male&weight=80&exercise_id=745&reps=25&age=25' --header 'Authorization: Bearer YOUR_API_KEY' 

    

API Access Key & Authentication

After signing up, every developer is assigned a personal API access key, a unique combination of letters and digits provided to access to our API endpoint. To authenticate with the AI Workout Planner API REST API, simply include your bearer token in the Authorization header.

Headers

Header Description
Authorization [Required] Should be Bearer access_key. See "Your API Access Key" above when you are subscribed.

Simple Transparent Pricing

No long term commitments. One click upgrade/downgrade or cancellation. No questions asked.

πŸš€ Enterprise
Starts at $ 10,000/Year

  • Custom Volume
  • Dedicated account manager
  • Service-level agreement (SLA)

Customer favorite features

  • βœ”οΈŽ Only Pay for Successful Requests
  • βœ”οΈŽ Free 7-Day Trial
  • βœ”οΈŽ Multi-Language Support
  • βœ”οΈŽ One API Key, All APIs.
  • βœ”οΈŽ Intuitive Dashboard
  • βœ”οΈŽ Comprehensive Error Handling
  • βœ”οΈŽ Developer-Friendly Docs
  • βœ”οΈŽ Postman Integration
  • βœ”οΈŽ Secure HTTPS Connections
  • βœ”οΈŽ Reliable Uptime

The AI Workout Planner API is a tool that utilizes machine learning algorithms to generate personalized workout plans based on user-specific data such as fitness goals, preferences, and available equipment.

The API employs advanced algorithms to analyze user inputs, including fitness level, goals, preferred exercises, and any constraints. It then uses this data to generate optimized workout routines tailored to individual needs.

The API supports a wide range of workouts, including strength training, cardio, flexibility exercises, and more. It can create comprehensive routines that incorporate various exercises to target specific fitness goals.

Yes, the API is designed to be easily integrated into various platforms, including mobile apps and web applications. It offers flexible integration options and comprehensive documentation for developers.

The API prioritizes user privacy and data security by implementing robust encryption protocols and adhering to industry best practices. User data is anonymized and stored securely to prevent unauthorized access.

Zyla API Hub is, in other words, an API MarketPlace. An all-in-one solution for your developing needs. You will be accessing our extended list of APIs with only your user. Also, you won't need to worry about storing API keys, only one API key for all our products is needed.

Prices are listed in USD. We accept all major debit and credit cards. Our payment system uses the latest security technology and is powered by Stripe, one of the world’s most reliable payment companies. If you have any trouble with paying by card, just contact us at [email protected]

Sometimes depending on the bank's fraud protection settings, a bank will decline the validation charge we make when we attempt to be sure a card is valid. We recommend first contacting your bank to see if they are blocking our charges. If more help is needed, please contact [email protected] and our team will investigate further

Prices are based on a recurring monthly subscription depending on the plan selected β€” plus overage fees applied when a developer exceeds a plan’s quota limits. In this example, you'll see the base plan amount as well as a quota limit of API requests. Be sure to notice the overage fee because you will be charged for each additional request.

Zyla API Hub works on a recurring monthly subscription system. Your billing cycle will start the day you purchase one of the paid plans, and it will renew the same day of the next month. So be aware to cancel your subscription beforehand if you want to avoid future charges.

Just go to the pricing page of that API and select the plan that you want to upgrade to. You will only be charged the full amount of that plan, but you will be enjoying the features that the plan offers right away.

Yes, absolutely. If you want to cancel your plan, simply go to your account and cancel on the Billing page. Upgrades, downgrades, and cancellations are immediate.

You can contact us through our chat channel to receive immediate assistance. We are always online from 9 am to 6 pm (GMT+1). If you reach us after that time, we will be in contact when we are back. Also you can contact us via email to [email protected]

 Service Level
100%
 Response Time
2,950ms

Category:


Related APIs