Algobook
- The developer's handbook
mode-switch
back-button
Buy Me A Coffee

Gym API

Our gym API allows you to search for a specific gym exercise or to get all exercises by each muscle group.

The data is powered by amazing Strenghtlog.

Consuming the API

The API consists of three endpoints. Getting all muscle groups, getting all exercises for a muscle group and also searching for a specific exercise.

GET /categories

To get all muscle groups, call our categories endpoint.

https://api.algobook.info/v1/gym/categories

Response

["chest", "shoulder", "bicep", "tricep", "legs", "back", "glute", "calves"]

GET /categories/:category

To get all exercises by a category, call our look up endpoint for each muscle group

https://api.algobook.info/v1/gym/categories/shoulder

Response

{ "id": 2, "exercises": [ { "name": "Band External Shoulder Rotation", "muscle": "Shoulder", "infoLink": "https://www.strengthlog.com/band-external-shoulder-rotation/" }, { "name": "Band Internal Shoulder Rotation", "muscle": "Shoulder", "infoLink": "https://www.strengthlog.com/band-internal-shoulder-rotation/" }, { "name": "Band Pull-Apart", "muscle": "Shoulder", "infoLink": "https://www.strengthlog.com/band-pull-apart/" }, { "name": "Barbell Front Raise", "muscle": "Shoulder", "infoLink": "https://www.strengthlog.com/barbell-front-raise/" }, { "name": "Barbell Rear Delt Row", "muscle": "Shoulder", "infoLink": "https://www.strengthlog.com/barbell-rear-delt-row/" }, { "name": "Barbell Upright Row", "muscle": "Shoulder", "infoLink": "https://www.strengthlog.com/barbell-upright-row/" }, { "name": "Behind the Neck Press", "muscle": "Shoulder", "infoLink": "https://www.strengthlog.com/behind-the-neck-press/" }, { "name": "Cable Lateral Raise", "muscle": "Shoulder", "infoLink": "https://www.strengthlog.com/cable-lateral-raise/" }, { "name": "Cable Rear Delt Row", "muscle": "Shoulder", "infoLink": "https://www.strengthlog.com/cable-rear-delt-row/" }, { "name": "Dumbbell Front Raise", "muscle": "Shoulder", "infoLink": "https://www.strengthlog.com/dumbbell-front-raise/" }, { "name": "Dumbbell Horizontal Internal Shoulder Rotation", "muscle": "Shoulder", "infoLink": "https://www.strengthlog.com/dumbbell-horizontal-internal-shoulder-rotation/" }, { "name": "Dumbbell Horizontal External Shoulder Rotation", "muscle": "Shoulder", "infoLink": "https://www.strengthlog.com/dumbbell-horizontal-external-shoulder-rotation/" }, { "name": "Dumbbell Lateral Raise", "muscle": "Shoulder", "infoLink": "https://www.strengthlog.com/dumbbell-lateral-raise/" }, { "name": "Dumbbell Rear Delt Row", "muscle": "Shoulder", "infoLink": "https://www.strengthlog.com/dumbbell-rear-delt-row/" }, { "name": "Dumbbell Shoulder Press", "muscle": "Shoulder", "infoLink": "https://www.strengthlog.com/dumbbell-shoulder-press/" }, { "name": "Face Pull", "muscle": "Shoulder", "infoLink": "https://www.strengthlog.com/face-pull/" }, { "name": "Front Hold", "muscle": "Shoulder", "infoLink": "https://www.strengthlog.com/front-hold/" }, { "name": "Lying Dumbbell External Shoulder Rotation", "muscle": "Shoulder", "infoLink": "https://www.strengthlog.com/lying-dumbbell-external-shoulder-rotation/" }, { "name": "Lying Dumbbell Internal Shoulder Rotation", "muscle": "Shoulder", "infoLink": "https://www.strengthlog.com/lying-dumbbell-internal-shoulder-rotation/" }, { "name": "Machine Lateral Raise", "muscle": "Shoulder", "infoLink": "https://www.strengthlog.com/machine-lateral-raise/" }, { "name": "Machine Shoulder Press", "muscle": "Shoulder", "infoLink": "https://www.strengthlog.com/machine-shoulder-press/" }, { "name": "Monkey Row", "muscle": "Shoulder", "infoLink": "https://www.strengthlog.com/monkey-row/" }, { "name": "Overhead Press", "muscle": "Shoulder", "infoLink": "https://www.strengthlog.com/overhead-press/" }, { "name": "Plate Front Raise", "muscle": "Shoulder", "infoLink": "https://www.strengthlog.com/plate-front-raise/" }, { "name": "Power Jerk", "muscle": "Shoulder", "infoLink": "https://www.strengthlog.com/power-jerk/" }, { "name": "Push Press", "muscle": "Shoulder", "infoLink": "https://www.strengthlog.com/push-press/" }, { "name": "Reverse Dumbbell Flyes", "muscle": "Shoulder", "infoLink": "https://www.strengthlog.com/reverse-dumbbell-flyes/" }, { "name": "Reverse Machine Fly", "muscle": "Shoulder", "infoLink": "https://www.strengthlog.com/reverse-machine-fly/" }, { "name": "Seated Dumbbell Shoulder Press", "muscle": "Shoulder", "infoLink": "https://www.strengthlog.com/seated-dumbbell-shoulder-press/" }, { "name": "Seated Barbell Overhead Press", "muscle": "Shoulder", "infoLink": "https://www.strengthlog.com/seated-barbell-overhead-press/" }, { "name": "Seated Smith Machine Shoulder Press", "muscle": "Shoulder", "infoLink": "https://www.strengthlog.com/seated-smith-machine-shoulder-press/" }, { "name": "Snatch Grip Behind the Neck Press", "muscle": "Shoulder", "infoLink": "https://www.strengthlog.com/snatch-grip-behind-the-neck-press/" }, { "name": "Squat Jerk", "muscle": "Shoulder", "infoLink": "https://www.strengthlog.com/squat-jerk/" }, { "name": "Split Jerk", "muscle": "Shoulder", "infoLink": "https://www.strengthlog.com/split-jerk/" } ] }

We will link to strength logs information page where they show videos and a detailed information description for each exercise.

GET /exercises/:searchStr

Search for an exercise using our search endpoint.

https://api.algobook.info/v1/gym/exercises/bench

Response

[ { "name": "Bench Press", "muscle": "Chest", "infoLink": "https://www.strengthlog.com/bench-press/" }, { "name": "Close-Grip Bench Press", "muscle": "Chest", "infoLink": "https://www.strengthlog.com/close-grip-bench-press/" }, { "name": "Close-Grip Feet-Up Bench Press", "muscle": "Chest", "infoLink": "https://www.strengthlog.com/close-grip-feet-up-bench-press/" }, { "name": "Decline Bench Press", "muscle": "Chest", "infoLink": "https://www.strengthlog.com/decline-bench-press/" }, { "name": "Feet-Up Bench Press", "muscle": "Chest", "infoLink": "https://www.strengthlog.com/feet-up-bench-press/" }, { "name": "Incline Bench Press", "muscle": "Chest", "infoLink": "https://www.strengthlog.com/incline-bench-press/" }, { "name": "Smith Machine Bench Press", "muscle": "Chest", "infoLink": "https://www.strengthlog.com/smith-machine-bench-press/" }, { "name": "Smith Machine Incline Bench Press", "muscle": "Chest", "infoLink": "https://www.strengthlog.com/smith-machine-incline-bench-press/" }, { "name": "Bench Dip", "muscle": "Tricep", "infoLink": "https://www.strengthlog.com/bench-dip/" } ]

Feedback and improvements

If you have any feedback our feature requests, please contact us and we will make sure that we will do all we can to fulfill it.

Contact info is found here.

signature
See all our articlesSee all our open source projects