Search the exercise catalog
GET/api/public/exercises
Search the exercises catalog (name, muscle group).
Authentication
Requires an API key, sent as Authorization: Bearer cp_live_....
API keys carry scopes. Get the catalog of scopes and webhook events lists every scope.
Query parameters
| Name | Type | Description |
|---|---|---|
page | integer | Page number (1-based, default 1) |
limit | integer | Number of items to return (default 25, max 500) |
search | string | |
muscleGroup | string | Muscle group filter, matched case-insensitively against either the exercise target ("pectorals") or its body part ("chest"), so either spelling works. Any value is accepted; these are the ones the catalog actually uses. Body parts: back, cardio, chest, lower arms, lower legs, neck, shoulders, upper arms, upper legs, waist. Targets: abdominals, abductors, abs, adductors, biceps, calves, cardiovascular system, delts, forearms, glutes, hamstrings, lats, levator scapulae, pectorals, quads, rear deltoids, serratus anterior, spine, traps, triceps, upper back. |
Request examples
curl --request GET \
--url 'https://api.coach-platform.com/api/public/exercises' \
--header 'Authorization: Bearer cp_live_...'const response = await fetch('https://api.coach-platform.com/api/public/exercises', {
method: 'GET',
headers: {
Authorization: 'Bearer cp_live_...',
},
});
const data = await response.json();Responses
200 OK
Successful response
{
"data": [
{
"_id": "<string>",
"name": "<string>",
"target": "abdominals",
"bodyPart": "back",
"equipment": "assisted",
"instructions": [
"<string>"
],
"videoUrl": "<string>"
}
],
"pagination": {
"page": 123,
"limit": 123,
"total": 123,
"hasMore": true,
"truncated": true
}
}Response fields (14)
| Name | Type | Description |
|---|---|---|
data | object[] | |
data[]._id | string | |
data[].name | string | |
data[].target | string | Primary muscle worked. Coach-created exercises may carry a value outside this list. |
data[].bodyPart | string | Body region the exercise trains. Only the global catalog is reliably tagged. |
data[].equipment | string | Equipment needed. Every global-catalog exercise is tagged; most coach-created ones are not. |
data[].instructions | string[] | |
data[].videoUrl | string | The coach's own demonstration video for this exercise, when they have set one. |
pagination | object | |
pagination.page | number | |
pagination.limit | number | |
pagination.total | number | null | Total number of matching items. null when the underlying source cannot report an exact count for this page; use hasMore to keep paging. |
pagination.hasMore | boolean | |
pagination.truncated | boolean | Present and true when the result set exceeded the in-memory scan cap and was truncated. Narrow your filters to page through all items. |
Error responses
400Bad Request401Unauthorized403Forbidden429Too Many Requests500Internal Server Error
These statuses share the same response body.
{
"error": {
"code": "<string>",
"message": "<string>",
"fix": "<string>",
"details": {},
"retryAfterMs": 123
}
}Error fields (6)
| Name | Type | Description |
|---|---|---|
error | object | |
error.code | string | |
error.message | string | |
error.fix | string | null | |
error.details | object | null | |
error.retryAfterMs | number | null |
This page is also available as Markdown. Browse it in the interactive explorer or download the OpenAPI spec.