# Wger Exercise & Workout Scraper (`crawlerbros/wger-exercise-scraper`) Actor

Scrape the Wger open fitness database - 800+ exercises with muscles, equipment, categories, images, and descriptions. Search by muscle group, equipment type, or body category. Completely free, no auth required.

- **URL**: https://apify.com/crawlerbros/wger-exercise-scraper.md
- **Developed by:** [Crawler Bros](https://apify.com/crawlerbros) (community)
- **Categories:** Developer tools, Integrations, Automation
- **Stats:** 2 total users, 1 monthly users, 90.9% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $3.00 / 1,000 results

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/platform/actors/running/actors-in-store#pay-per-event

## What's an Apify Actor?

Actors are a software tools running on the Apify platform, for all kinds of web data extraction and automation use cases.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.
Actors are written with capital "A".

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.
The best way to integrate Actors is as follows.

In JavaScript/TypeScript projects, use official [JavaScript/TypeScript client](https://docs.apify.com/api/client/js.md):

```bash
npm install apify-client
```

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python.md):

```bash
pip install apify-client
```

In shell scripts, use [Apify CLI](https://docs.apify.com/cli/docs.md):

````bash
# MacOS / Linux
curl -fsSL https://apify.com/install-cli.sh | bash
# Windows
irm https://apify.com/install-cli.ps1 | iex
```bash

In AI frameworks, you might use the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp.md).

If your project is in a different language, use the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).


# README

## Wger Exercise & Workout Scraper

Scrape the [Wger](https://wger.de) open-source fitness database — 800+ professional exercises with muscle groups, equipment requirements, body categories, demonstration images, and multilingual descriptions. Completely free with no API key required.

### What data do you get?

Each exercise record includes:

| Field | Description |
|---|---|
| `exerciseId` | Wger exercise ID |
| `uuid` | Stable exercise UUID (cross-instance identifier) |
| `variationGroup` | UUID grouping exercises that are variations of one another (when applicable) |
| `name` | Exercise name (in selected language) |
| `description` | Full exercise description |
| `category` | Body category (Abs, Arms, Back, Chest, Legs, Shoulders, Cardio, Calves) |
| `primaryMuscles` | Array of primary muscles targeted |
| `secondaryMuscles` | Array of secondary/stabilizer muscles |
| `equipment` | Equipment required (e.g., Barbell, Dumbbell, Body weight) |
| `imageUrls` | Array of exercise demonstration image URLs |
| `videoUrls` | Array of exercise demonstration video URLs (when available) |
| `aliases` | Alternate names for the exercise (when curated) |
| `notes` | Coaching tips/notes attached to the exercise (when curated) |
| `licenseName` | Creative Commons license short name for the exercise content |
| `licenseUrl` | URL to the full license text |
| `licenseAuthor` | Attributed author of the exercise content |
| `contributors` | Full list of authors who have edited the exercise over time |
| `createdAt` | Date exercise was added to database |
| `lastUpdated` | Date of last update |
| `sourceUrl` | Direct link to exercise on wger.de |
| `recordType` | Always `"exercise"` |
| `scrapedAt` | ISO timestamp of scrape |

### Modes

#### Search exercises (`mode=search`)
Find exercises by keyword in name or description.

**Input:**
```json
{
  "mode": "search",
  "searchQuery": "squat",
  "maxItems": 20
}
````

#### By body category (`mode=byCategory`)

Get all exercises for a specific body part.

**Input:**

```json
{
  "mode": "byCategory",
  "category": "Chest",
  "maxItems": 50
}
```

Available categories: `Abs`, `Arms`, `Back`, `Calves`, `Cardio`, `Chest`, `Legs`, `Shoulders`

#### By muscle group (`mode=byMuscle`)

Target exercises for a specific muscle.

**Input:**

```json
{
  "mode": "byMuscle",
  "muscle": "Biceps brachii",
  "maxItems": 30
}
```

Available muscles: Biceps brachii, Pectoralis major, Latissimus dorsi, Quadriceps femoris, Gluteus maximus, Triceps brachii, Rectus abdominis, and more.

#### By equipment (`mode=byEquipment`)

Find exercises by equipment type.

**Input:**

```json
{
  "mode": "byEquipment",
  "equipment": "Dumbbell",
  "maxItems": 40
}
```

Available equipment: `Barbell`, `Dumbbell`, `Kettlebell`, `Pull-up bar`, `Resistance band`, `Swiss Ball`, `Body weight`, and more.

#### By exercise IDs (`mode=byIds`)

Fetch specific exercises by their Wger ID.

**Input:**

```json
{
  "mode": "byIds",
  "exerciseIds": ["9", "73", "132"],
  "maxItems": 10
}
```

Note: Wger periodically retires/renumbers exercise IDs, so any specific ID given here could stop resolving over time. Use `search`, `byCategory`, `byMuscle`, or `byEquipment` mode to discover current valid IDs (each returned record includes its `exerciseId`) if a specific ID stops returning data.

### Sample output record

```json
{
  "exerciseId": 73,
  "name": "Bench Press",
  "description": "Lay down on a bench, the bar should be directly above your eyes, the knees are somewhat angled and the feet are firmly on the floor. Concentrate, breath deeply and grab the bar more than shoulder wide. Bring it slowly down till it briefly touches your chest at the height of your nipples. Push the bar up. If you train with a high weight it is advisable to have a spotter that can help you up if you can't lift the weight on your own. With the width of the grip you can also control which part of the chest is trained more: wide grip: outer chest muscles narrow grip: inner chest muscles and triceps",
  "category": "Chest",
  "primaryMuscles": ["Chest"],
  "secondaryMuscles": ["Shoulders", "Triceps"],
  "equipment": ["Barbell", "Bench"],
  "imageUrls": [
    "https://wger.de/media/exercise-images/192/Bench-press-1.png",
    "https://wger.de/media/exercise-images/192/Bench-press-2.png"
  ],
  "sourceUrl": "https://wger.de/en/exercise/73/view/bench-press",
  "createdAt": "2023-08-06T10:17:17.422900+02:00",
  "lastUpdated": "2026-06-19T18:46:21.803261+02:00",
  "recordType": "exercise",
  "scrapedAt": "2026-06-30T12:00:00+00:00"
}
```

Note: `primaryMuscles`/`secondaryMuscles` use Wger's short English muscle names (e.g. "Chest", "Triceps") when available, falling back to the anatomical Latin name (e.g. "Pectoralis major") for muscles where Wger hasn't set a short English name.

### Language support

Exercise descriptions are available in: English, German, Spanish, French, Portuguese, Russian, Dutch, Swedish, Norwegian, Polish. Falls back to English if the selected language has no translation.

### Use cases

- Build workout apps with structured exercise data
- Create fitness content for blogs or apps
- Research exercise libraries for physical therapy
- Generate workout plans by muscle group or equipment
- Build gym equipment recommendation tools

### FAQ

**Is this free to use?**
Yes. The Wger database is open-source (LGPL) and the API is publicly available with no rate limits for reasonable usage.

**How many exercises are in the database?**
Over 800 exercises with English descriptions, continuously updated by the community.

**Can I filter by multiple criteria?**
Yes — combine language, mode, and maxItems. For multi-criterion filtering (e.g., Chest + Dumbbell), use the `byCategory` or `byEquipment` mode and the dataset will contain that information for post-filtering.

**Are images accessible?**
Yes — all image URLs are hosted on `wger.de` and are publicly accessible without authentication.

**Data source**
[Wger Workout Manager](https://wger.de) — open-source fitness database under LGPL license.

# Actor input Schema

## `mode` (type: `string`):

What to fetch from the Wger fitness database.

## `searchQuery` (type: `string`):

Keyword to search exercise names and descriptions.

## `category` (type: `string`):

Filter by body category.

## `muscle` (type: `string`):

Filter by primary muscle group targeted.

## `equipment` (type: `string`):

Filter by required equipment.

## `exerciseIds` (type: `array`):

List of Wger exercise IDs to fetch.

## `language` (type: `string`):

Exercise translation language.

## `includeImages` (type: `boolean`):

Include exercise demonstration images (from Wger media server).

## `maxItems` (type: `integer`):

Maximum number of exercise records to return.

## Actor input object example

```json
{
  "mode": "search",
  "searchQuery": "squat",
  "category": "Chest",
  "muscle": "Biceps brachii",
  "equipment": "Dumbbell",
  "exerciseIds": [],
  "language": "English",
  "includeImages": true,
  "maxItems": 20
}
```

# Actor output Schema

## `exercises` (type: `string`):

Dataset containing all scraped exercises with their details.

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "mode": "search",
    "searchQuery": "squat",
    "category": "Chest",
    "muscle": "Biceps brachii",
    "equipment": "Dumbbell",
    "exerciseIds": [],
    "language": "English",
    "includeImages": true,
    "maxItems": 20
};

// Run the Actor and wait for it to finish
const run = await client.actor("crawlerbros/wger-exercise-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "mode": "search",
    "searchQuery": "squat",
    "category": "Chest",
    "muscle": "Biceps brachii",
    "equipment": "Dumbbell",
    "exerciseIds": [],
    "language": "English",
    "includeImages": True,
    "maxItems": 20,
}

# Run the Actor and wait for it to finish
run = client.actor("crawlerbros/wger-exercise-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "mode": "search",
  "searchQuery": "squat",
  "category": "Chest",
  "muscle": "Biceps brachii",
  "equipment": "Dumbbell",
  "exerciseIds": [],
  "language": "English",
  "includeImages": true,
  "maxItems": 20
}' |
apify call crawlerbros/wger-exercise-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=crawlerbros/wger-exercise-scraper",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "Wger Exercise & Workout Scraper",
        "description": "Scrape the Wger open fitness database - 800+ exercises with muscles, equipment, categories, images, and descriptions. Search by muscle group, equipment type, or body category. Completely free, no auth required.",
        "version": "1.0",
        "x-build-id": "BHMWafQZ1m2ad59fM"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/crawlerbros~wger-exercise-scraper/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-crawlerbros-wger-exercise-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        },
        "/acts/crawlerbros~wger-exercise-scraper/runs": {
            "post": {
                "operationId": "runs-sync-crawlerbros-wger-exercise-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor and returns information about the initiated run in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/runsResponseSchema"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/acts/crawlerbros~wger-exercise-scraper/run-sync": {
            "post": {
                "operationId": "run-sync-crawlerbros-wger-exercise-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "inputSchema": {
                "type": "object",
                "required": [
                    "mode"
                ],
                "properties": {
                    "mode": {
                        "title": "Mode",
                        "enum": [
                            "search",
                            "byCategory",
                            "byMuscle",
                            "byEquipment",
                            "byIds"
                        ],
                        "type": "string",
                        "description": "What to fetch from the Wger fitness database.",
                        "default": "search"
                    },
                    "searchQuery": {
                        "title": "Search query (mode=search)",
                        "type": "string",
                        "description": "Keyword to search exercise names and descriptions.",
                        "default": "squat"
                    },
                    "category": {
                        "title": "Body category (mode=byCategory)",
                        "enum": [
                            "Abs",
                            "Arms",
                            "Back",
                            "Calves",
                            "Cardio",
                            "Chest",
                            "Legs",
                            "Shoulders"
                        ],
                        "type": "string",
                        "description": "Filter by body category.",
                        "default": "Chest"
                    },
                    "muscle": {
                        "title": "Muscle group (mode=byMuscle)",
                        "enum": [
                            "Biceps brachii",
                            "Anterior deltoid",
                            "Serratus anterior",
                            "Pectoralis major",
                            "Quadriceps femoris",
                            "Gastrocnemius",
                            "Gluteus maximus",
                            "Brachialis",
                            "Latissimus dorsi",
                            "Obliquus externus abdominis",
                            "Biceps femoris",
                            "Soleus",
                            "Rectus abdominis",
                            "Triceps brachii",
                            "Trapezius"
                        ],
                        "type": "string",
                        "description": "Filter by primary muscle group targeted.",
                        "default": "Biceps brachii"
                    },
                    "equipment": {
                        "title": "Equipment (mode=byEquipment)",
                        "enum": [
                            "Barbell",
                            "Bench",
                            "Dumbbell",
                            "Gym mat",
                            "Incline bench",
                            "Kettlebell",
                            "Pull-up bar",
                            "Resistance band",
                            "SZ-Bar",
                            "Swiss Ball",
                            "Body weight"
                        ],
                        "type": "string",
                        "description": "Filter by required equipment.",
                        "default": "Dumbbell"
                    },
                    "exerciseIds": {
                        "title": "Exercise IDs (mode=byIds)",
                        "type": "array",
                        "description": "List of Wger exercise IDs to fetch.",
                        "default": [],
                        "items": {
                            "type": "string"
                        }
                    },
                    "language": {
                        "title": "Language",
                        "enum": [
                            "English",
                            "German",
                            "Spanish",
                            "French",
                            "Portuguese",
                            "Russian",
                            "Dutch",
                            "Swedish",
                            "Norwegian",
                            "Polish"
                        ],
                        "type": "string",
                        "description": "Exercise translation language.",
                        "default": "English"
                    },
                    "includeImages": {
                        "title": "Include exercise images",
                        "type": "boolean",
                        "description": "Include exercise demonstration images (from Wger media server).",
                        "default": true
                    },
                    "maxItems": {
                        "title": "Max items",
                        "minimum": 1,
                        "maximum": 1000,
                        "type": "integer",
                        "description": "Maximum number of exercise records to return.",
                        "default": 50
                    }
                }
            },
            "runsResponseSchema": {
                "type": "object",
                "properties": {
                    "data": {
                        "type": "object",
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "actId": {
                                "type": "string"
                            },
                            "userId": {
                                "type": "string"
                            },
                            "startedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "finishedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "status": {
                                "type": "string",
                                "example": "READY"
                            },
                            "meta": {
                                "type": "object",
                                "properties": {
                                    "origin": {
                                        "type": "string",
                                        "example": "API"
                                    },
                                    "userAgent": {
                                        "type": "string"
                                    }
                                }
                            },
                            "stats": {
                                "type": "object",
                                "properties": {
                                    "inputBodyLen": {
                                        "type": "integer",
                                        "example": 2000
                                    },
                                    "rebootCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "restartCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "resurrectCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "computeUnits": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "options": {
                                "type": "object",
                                "properties": {
                                    "build": {
                                        "type": "string",
                                        "example": "latest"
                                    },
                                    "timeoutSecs": {
                                        "type": "integer",
                                        "example": 300
                                    },
                                    "memoryMbytes": {
                                        "type": "integer",
                                        "example": 1024
                                    },
                                    "diskMbytes": {
                                        "type": "integer",
                                        "example": 2048
                                    }
                                }
                            },
                            "buildId": {
                                "type": "string"
                            },
                            "defaultKeyValueStoreId": {
                                "type": "string"
                            },
                            "defaultDatasetId": {
                                "type": "string"
                            },
                            "defaultRequestQueueId": {
                                "type": "string"
                            },
                            "buildNumber": {
                                "type": "string",
                                "example": "1.0.0"
                            },
                            "containerUrl": {
                                "type": "string"
                            },
                            "usage": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "integer",
                                        "example": 1
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "usageTotalUsd": {
                                "type": "number",
                                "example": 0.00005
                            },
                            "usageUsd": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "number",
                                        "example": 0.00005
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
