v1

latestOpenAPI 3.1.02026-07-2614977.9 KB
exercises

GetExercisesByBodyparts

Filter exercises by bodyparts with cursor-based pagination.

get/api/v1/exercises/bodyparts

Query parameters

bodyPartsstring

Filter exercises by body parts. Use comma-separated values for multiple body parts.

Example:Chest,Shoulders

Filter exercises by body parts. Use comma-separated values for multiple body parts.

limitstring

Maximum number of results to return (min: 1, max: 25, default: 10)

Example:10

Maximum number of results to return (min: 1, max: 25, default: 10)

afterstring

Exercise ID to paginate after (for forward pagination)

Exercise ID to paginate after (for forward pagination)

beforestring

Exercise ID to paginate before (for backward pagination)

Exercise ID to paginate before (for backward pagination)

Response

Retrieve exercises by search filters

successboolean required

Indicates whether the request was successful

Example response

{
  "success": true,
  "meta": {
    "total": 2289,
    "hasNextPage": true
  },
  "data": [
    {
      "exerciseId": "edb_T5uXtLj",
      "name": "Bench Press",
      "equipments": [
        "Barbell"
      ],
      "bodyParts": [
        "Chest"
      ],
      "exerciseTypes": [
        "strength"
      ],
      "difficulty": "intermediate",
      "targetMuscles": [
        "pectorals"
      ],
      "secondaryMuscles": [
        "triceps",
        "shoulders"
      ]
    }
  ]
}