---
title: "Muscles worked, as an SVG image"
method: GET
path: "/exercises/{id}/body-map"
tags: ["Exercises"]
---

# Muscles worked, as an SVG image

`GET /exercises/{id}/body-map`

## 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`

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.

## Path parameters

- `id` string, required

## Query parameters

- `view` 'both' | 'front' | 'back'
- `height` integer
- `primary` string
- `secondary` string
- `base` string
- `background` string

## Response `200`

SVG image

## Other responses

- `404`: Exercise not found

---

[API](https://skmtc.dev/ymove/apis/ymove-fitness-api.md) · [All operations](https://skmtc.dev/ymove/apis/ymove-fitness-api/llms.txt) · [OpenAPI document](https://skmtc.dev/ymove/apis/ymove-fitness-api/revisions/6636f2b4a343?raw)
