Wger API

⭐ Beginner's Pick Sports & Fitness / API Key Intermediate HTTPS
Varies by plan (check documentation)

Overview

Wger is an open-source workout manager API that provides structured data on exercises, muscle groups, and equipment. You can query a database of hundreds of exercises complete with images, instructions, and the muscles they target. It is ideal for building fitness apps, workout planners, or personal training tools.

💡

Beginner Tip

Wger has a public read-only endpoint that requires no API key—just send a GET request to retrieve exercise lists. Add an API key in the Authorization header only when you need to write or modify user-specific data.

Available Data

Wger data via REST API
JSON-formatted response data
Requires API key authentication

Example Response

JSON Response
{
  "match_id": 4521,
  "home_team": "Team A",
  "away_team": "Team B",
  "score": {
    "home": 2,
    "away": 1
  },
  "status": "Full Time",
  "date": "2025-01-15",
  "league": "Premier League"
}

Field Reference

id Unique identifier for the exercise in the Wger database
name Human-readable name of the exercise in the requested language
description HTML-formatted instructions on how to perform the exercise correctly
muscles List of primary muscle group IDs targeted by this exercise
equipment List of equipment IDs required to perform the exercise
category The exercise category object containing id and name fields

Implementation Example

// ⚠️ Note: This URL may be a documentation page. Check official docs for actual API endpoint.
const url = "https://wger.de/en/software/api";
// Replace headers or query params with the values required by this API.
const response = await fetch(url, {
  headers: {
  "X-API-Key": "YOUR_API_KEY"
  }
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
const data = await response.json();
console.log(data);

What Can You Build?

Note: These code examples are AI-generated and unverified. Always refer to the official API documentation for accurate usage.

Common Errors & Troubleshooting

401 Unauthorized Trying to access a write endpoint without providing an API token
Include your token in the header: Authorization: Token YOUR_API_KEY. Read-only endpoints work without authentication.
Empty results with language filter The language ID does not match available translations
Use language=2 for English; list available languages at /api/v2/language/
Pagination issues causing missing data The API returns paginated results and you only see the first page
Check the next field in the response and loop through pages, or increase the limit query parameter up to 100

Matrix Score Breakdown

🌐 Reachability 0/30
⚡ Speed 10/20
🔒 Security 15/15
🛠 Developer XP 12/20
✓ Reliability 0/15

Partially tested on Apr 5, 2026

Technical Specifications

Auth API Key
HTTPS REQUIRED
CORS UNKNOWN
Category Sports & Fitness
Difficulty Intermediate
Verified: 2026-04-04

Similar APIs

View All →