Muscles worked, as an SVG image
The muscles an exercise works, drawn on anterior and posterior body maps and returned as an SVG file. Point an <img> at it, inline it, or put it in a PDF. The muscleGroups field on /exercises carries the same information as data if you would rather draw it yourself. Does not count against the monthly exercise cap. Cacheable for a day. Authenticate with ?api_key= when using it as an image URL, since an <img> tag cannot send headers.
Request
- Base URL: https://exercise-api.ymove.app/api/v2
- URL: https://exercise-api.ymove.app/api/v2/exercises/{id}/body-map
- Auth: one of:
- API key in header X-API-Key
- API key in query parameter api_key
Path parameters
Exercise UUID or slug
Query parameters
Which silhouettes to draw
Image height in pixels; width follows the aspect ratio
Hex colour (3 or 6 digits, no #) for the primary muscle group. Pass this alone to brand the image: supporting muscles are drawn in the same colour at a third opacity.
Hex colour for supporting muscles
Hex colour for muscles this exercise does not work
Hex background colour; transparent when omitted
Response
SVG image
Changes
No recorded changes to this operation across all 1 revision of this API.