Exercises API
The Exercises API provides access to a comprehensive list of over 3000 exercises targeting every major muscle group.
Available endpoints:
- /v1/exercises - Search for exercises by name, type, muscle group, and difficulty
- /v1/allexercises - Get a comprehensive list of exercises that target a specific muscle group
From 4,832 users
Applications using this API
API Status
API Response Times
Average | P50 | P75 | P90 | P95 |
|---|---|---|---|---|
| 313ms | 337ms | 398ms | 558ms | 1058ms |
Similar APIs
Didn't find what you were looking for? Suggest an improvement
/v1/exercises GET
https://api.api-ninjas.com/v1/exercises
Returns up to 5 exercises that satisfy the given parameters.
Parameters
nameoptionalName of exercise. This value can be partial (e.g.
presswill matchDumbbell Bench Press).typeoptionalExercise type. Possible values are:
cardio,olympic_weightlifting,plyometrics,powerlifting,strength,stretching,strongman.muscleoptionalMuscle group targeted by the exercise. Possible values are:
difficultyoptionalDifficulty level of the exercise. Possible values are:
beginner,intermediate,expert.equipmentsoptionalEquipment required for the exercise. Multiple equipments can be specified using comma separation (e.g.
dumbbell,flat bench). This value can be partial (e.g.dumbbellwill match exercises using dumbbells).offsetoptional premiumNumber of results to offset for pagination. Default is
0.
Headers
X-Api-KeyrequiredAPI Key associated with your account.
Response
A JSON array of objects, each containing the following fields, or an error if the request is unsuccessful.
nameName of the exercise.
typeExercise type (for example
strength,cardio).musclePrimary muscle group targeted by the exercise.
difficultyDifficulty level of the exercise (
beginner,intermediate, orexpert).instructionsText instructions describing how to perform the exercise.
equipmentsArray of equipment names required for the exercise.
safety_infoAdditional safety guidance and cues for performing the exercise safely.
Sample Request Live Demo!
Try our APIs in the API playground
Sign up for a free API key to get started — no credit card required.
https://api.api-ninjas.com/v1/exercises?muscle=bicepsHeaders
X-Api-KeyLog in or sign up to get your API KeySample Response
Code Examples
1
2
curl -X GET "https://api.api-ninjas.com/v1/exercises?muscle=biceps" \
-H "X-Api-Key: YOUR_API_KEY"If your programming language is not listed in the Code Example above, you can still make API calls by using a HTTP request library written in your programming language and following the above documentation.
/v1/allexercises GET
Business, Professional, or annual subscriptions only
https://api.api-ninjas.com/v1/allexercises
Returns a comprehensive list of exercises that target a specific muscle group.
Parameters
musclerequiredMuscle group targeted by the exercise. Possible values are:
limitoptionalMaximum number of results to return. Default is
10, maximum is100.offsetoptionalNumber of results to offset for pagination. Default is
0.
Headers
X-Api-KeyrequiredAPI Key associated with your account.
Response
A JSON array of strings, or an error if the request is unsuccessful.
Sample Request Live Demo!
Try our APIs in the API playground
Sign up for a free API key to get started — no credit card required.
https://api.api-ninjas.com/v1/allexercises?muscle=biceps&limit=10Headers
X-Api-KeyLog in or sign up to get your API KeySample Response
Frequently Asked Questions
Can I use the Exercises API for commercial purposes?
Yes, but you must have a premium subscription. Commercial use of the Exercises API is not permitted on the free tier. See our pricing page to choose a plan that fits your needs.How do I get an API key and start using the Exercises API?
Sign up for a free account to instantly get your API key, then pass it in theX-Api-Keyheader on every request. The documentation above includes ready-to-run examples in cURL, Python, JavaScript, Node.js, and more.What happens if I exceed my quota for the month?
Your API requests will simply be denied once you hit your monthly quota — you will never be charged more than the plan you signed up for. To increase your quota, you can upgrade your plan any time on our pricing page.What happens if a request to the Exercises API fails?
The API responds with a standard HTTP status code and a JSON error message describing the problem. See our error codes reference for the full list of codes and how to resolve each one, or contact support if you need help.What muscle groups and exercise types does the Exercises API cover?
The API provides over 3000 exercises targeting every major muscle group, with themuscleparameter accepting values such asbiceps,chest,quadriceps,glutes,lats, andabdominals, and thetypeparameter spanningcardio,strength,powerlifting,olympic_weightlifting,plyometrics,stretching, andstrongman. Pair it with the Calories Burned API to build complete workout and fitness tools, or browse the full API catalog.How do I search for specific exercises with the /v1/exercises endpoint?
Send a GET request to/v1/exerciseswith any combination of the optionalname,type,muscle,difficulty(beginner,intermediate, orexpert), andequipmentsparameters; thenameandequipmentsvalues support partial matches and multiple comma-separated equipment items. The endpoint returns up to 5 matching exercises, and you can page through more using the premiumoffsetparameter detailed on the pricing page.What fields are included in each exercise result?
Each object in the JSON array includesname,type,muscle,difficulty, step-by-stepinstructions, anequipmentsarray of required gear, andsafety_infowith safety cues, or an error if the request fails. You can use these instructions and safety details alongside the Nutrition API to power workout and wellness apps.What does the /v1/allexercises endpoint do and who can use it?
The/v1/allexercisesendpoint returns a comprehensive JSON array of exercise names for a requiredmusclegroup, with optionallimit(default10, max100) andoffsetparameters for pagination. It is available only on Business, Professional, or annual subscriptions, which you can register for and review on the pricing page.