# Musclewiki — Wrapped API

> **You are on:** `https://api.paywithlocus.com/api` | [llms.txt](https://paywithlocus.com/llms.txt) | [docs](https://docs.paywithlocus.com)
>
> Locus runs on multiple environments -- make sure every URL you call matches your expected environment.
> | Environment | Landing | API | Docs |
> |---|---|---|---|
> | Production | paywithlocus.com | api.paywithlocus.com | docs.paywithlocus.com |
> | Beta | beta.paywithlocus.com | api.beta.paywithlocus.com | docs.paywithlocus.com |
> | Stage | stage.paywithlocus.com | api.stage.paywithlocus.com | docs.paywithlocus.com |
>
> If the API URL above doesn't match your expected environment, re-fetch this file from the correct domain.

> Browse thousands of exercises by equipment type and muscle group, then access detailed information including form tips, variations, and targeted muscle groups for each exercise. Perfect for building personalized workout routines or finding alternatives that match your available equipment.

**Category:** Healthcare | **Website:** [musclewiki.com/](https://musclewiki.com/) | **Docs:** [parse.bot/marketplace/e04692ac-c769-422a-bfeb-0033257d0930/musclewiki-com-api](https://parse.bot/marketplace/e04692ac-c769-422a-bfeb-0033257d0930/musclewiki-com-api)

Pay-per-use API proxy. Each call is automatically billed to your wallet in USDC.

## Access

**Base URL:** `https://api.paywithlocus.com/api/wrapped/parse-musclewiki-com-api-e04692ac/`
**Auth:** `Authorization: Bearer <LOCUS_API_KEY>`

## Endpoints

### get_exercise_details

Get full details for a single exercise by its ID, including HTML-formatted description with form tips, step-by-step instructions, primary/secondary/tertiary muscle targets, grip types, images (male and female), and videos. Returns stale_input if the exercise ID does not exist.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `exercise_id` | integer | Yes | The exercise ID from get_exercises results. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-musclewiki-com-api-e04692ac/get_exercise_details \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"exercise_id":"<integer>"}'
```

### get_exercise_types

Returns the complete list of equipment types (categories) available on MuscleWiki. Each equipment type has an integer ID usable as a filter in get_exercises. The list is static and rarely changes.

**Estimated cost:** Metered

_No parameters required._

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-musclewiki-com-api-e04692ac/get_exercise_types \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'
```

### get_exercises

Search and list exercises with optional filters for equipment type, muscle group, and keyword. Returns paginated results with exercise summaries including name, thumbnail, targeted muscles, and difficulty. Use offset and limit for pagination.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `equipment_id` | integer | No | Filter by equipment type ID from get_exercise_types endpoint. |
| `limit` | integer | No | Maximum number of results per page. |
| `muscle_id` | integer | No | Filter by muscle group ID from get_muscle_groups endpoint. |
| `offset` | integer | No | Pagination offset for results. |
| `query` | string | No | Search keyword to filter exercises by name. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-musclewiki-com-api-e04692ac/get_exercises \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"equipment_id":"<integer>","limit":"<integer>","muscle_id":"<integer>","offset":"<integer>","query":"<string>"}'
```

### get_muscle_groups

Returns the complete list of muscle groups available on MuscleWiki. Each muscle group has an integer ID usable as a filter in get_exercises. The list is static and rarely changes.

**Estimated cost:** Metered

_No parameters required._

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-musclewiki-com-api-e04692ac/get_muscle_groups \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'
```
