Wger Routine API

Workout routines. The nested day, slot and config structure is available in one request under `/routine/{id}/structure/`.

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).

Operations 11

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /api/v2/routine/ List workout routines · Routine list #
Ask an LLM
“Which workout routines have I created?”
“Can I list only my public routines?”
Tell an agent
List my workout routines.
Show routines named {name}.
POST /api/v2/routine/ Create a workout routine · Routine create #
Ask an LLM
“How do I create a new workout routine?”
“Can I mark a routine as a template?”
Tell an agent
Create routine {name} from {start} to {end}.
Create routine {name} from {start} to {end} that fits {fit_in_week} days a week.
GET /api/v2/routine/{id}/ Get a workout routine · Routine retrieve #
Ask an LLM
“What are the details of one routine?”
“Can I fetch a routine by id?”
Tell an agent
Get routine {id}.
Show the full structure of routine {id}.
PUT /api/v2/routine/{id}/ Replace a workout routine · Routine update #
Ask an LLM
“How do I overwrite a routine's start and end dates?”
“Can I fully replace a routine?”
Tell an agent
Replace routine {id} with name {name}, start {start}, end {end}.
Overwrite routine {id} so it fits {fit_in_week} days a week.
PATCH /api/v2/routine/{id}/ Edit a workout routine · Routine partial update #
Ask an LLM
“Can I change just the name of a routine?”
“How do I make a routine public without replacing it?”
Tell an agent
Rename routine {id} to {name}.
Set routine {id} public to {is_public}.
DELETE /api/v2/routine/{id}/ Delete a workout routine · Routine destroy #
Ask an LLM
“How do I delete a routine?”
“Can I remove a workout routine I no longer use?”
Tell an agent destructive · confirm first
Delete routine {id}.
Remove workout routine {id}.
GET /api/v2/routine/{id}/date-sequence-display/ List a routine's day sequence · Routine date sequence display list #
Ask an LLM
“What does a routine look like day by day?”
“Can I see the day sequence of a routine?”
Tell an agent
Show the day sequence of routine {id}.
List the days in routine {id} ordered by {ordering}.
GET /api/v2/routine/{id}/date-sequence-gym/ List the day sequence of a workout routine · Routine date sequence gym list #
Ask an LLM
“Can I see the schedule of workouts laid out day by day for a routine?”
“Which days in a routine are planned for the gym versus home?”
Tell an agent
List the day sequence of routine {id}.
Show the gym workout days in routine {id} from {start} to {end}.
GET /api/v2/routine/{id}/logs/ List a routine's logs · Routine logs list #
Ask an LLM
“What have I logged for a routine?”
“Can I see the logs of a routine?”
Tell an agent
Show the logs for routine {id}.
List routine {id} logs created after {created}.
GET /api/v2/routine/{id}/stats/ Get a routine's stats · Routine stats retrieve #
Ask an LLM
“How many times have I done a routine?”
“Can I see routine stats?”
Tell an agent
Get the stats for routine {id}.
Show how often routine {id} has been logged.
GET /api/v2/routine/{id}/structure/ Get a routine's full structure · Routine structure retrieve #
Ask an LLM
“What does a routine's full object structure contain?”
“Can I see the complete structure of a routine?”
Tell an agent
Get the full structure of routine {id}.
Show every field of routine {id}.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/wger:wger-routine-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

wger-routine-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: wger Routine API
  version: 2.7.0a2
  description: Self hosted FLOSS workout and fitness tracker.
  license:
    name: AGPL-3.0-or-later
    url: https://www.gnu.org/licenses/agpl-3.0.html
servers:
- url: /
  description: This server
- url: https://wger.de
  description: The "official" upstream wger instance
tags:


# --- truncated at 32 KB (35 KB total) ---
# Full source: https://artifacts.apis.io/wger/openapi/wger-routine-api-openapi.yml