wger

App · 20 actions

Browse workouts, exercises, body measurements and nutrition data in wger.

Actions

ActionWhat it does
Get a workout routineRead a routine’s name, dates and settings.
Get a workout sessionRead a session’s start, end, notes and workout impression.
Get an exerciseRead an exercise’s translations, muscles and equipment.
Get an ingredientLook up a food and its nutritional information.
Get routine statisticsRead workout statistics for a routine.
Get routine structureRead a workout routine’s days, slots and exercises.
List exercise categoriesList available exercise categories.
List exercise equipmentList available equipment for exercises.
List measurement categoriesList the categories used for your body measurements.
List measurementsRead measurements by category and date range.
List musclesList the muscles wger uses to classify exercises.
List nutrition diary entriesRead logged foods and amounts with optional plan and date filters.
List nutrition plansList meal and nutrition plans in your account.
List routine daysList training and rest days for a routine.
List weight entriesRead body weight entries over a date and time range.
List workout logsRead logged exercises, sets, repetitions and weights.
List workout routinesList the workout routines in your wger account.
List workout sessionsRead your workout sessions, with optional routine and time filters.
Search exercisesFind exercises by name, category and equipment.
Search ingredientsFind foods and their nutritional information by name.

Get a workout routine

Read a routine’s name, dates and settings.

Inputs

Routineroutine_idnumberRequired
Choose a workout routine.At least 1.

Outputs

dataobject
The response from wger.
Example output
{
  "data": {
    "created": "example",
    "description": "example",
    "end": "example",
    "fit_in_week": true,
    "id": 1,
    "is_public": true,
    "is_template": true,
    "name": "example",
    "start": "example"
  }
}

Get a workout session

Read a session’s start, end, notes and workout impression.

Inputs

Sessionsession_idtextRequired
Choose a workout session.

Outputs

dataobject
The response from wger.
Example output
{
  "data": {
    "datetime_end": "example",
    "datetime_start": "example",
    "day": 1,
    "id": "example",
    "impression": "example",
    "notes": "example",
    "routine": 1
  }
}

Get an exercise

Read an exercise’s translations, muscles and equipment.

Inputs

Exercise IDexercise_idnumberRequired
The exercise ID from Search exercises.At least 1.

Outputs

dataobject
The response from wger.
Example output
{
  "data": {
    "author_history": [
      "example"
    ],
    "category": {
      "id": 1,
      "name": "example"
    },
    "created": "example",
    "equipment": [
      {
        "id": 1,
        "name": "example"
      }
    ],
    "id": 1,
    "images": [
      {
        "author_history": [
          "example"
        ],
        "exercise": 1,
        "exercise_uuid": "example",
        "id": 1,
        "image": "example",
        "is_ai_generated": true,
        "is_main": true,
        "license": 1,
        "license_author": "example",
        "license_author_url": {},
        "license_derivative_source_url": {},
        "license_object_url": {},
        "license_title": "example",
        "style": "example",
        "thumbnails": {
          "medium": "example",
          "small": "example"
        },
        "uuid": "example"
      }
    ],
    "last_update": "example",
    "last_update_global": "example",
    "license": {
      "full_name": "example",
      "id": 1,
      "short_name": "example",
      "url": {}
    },
    "license_author": "example",
    "muscles": [
      {
        "id": 1,
        "image_url_main": "example",
        "image_url_secondary": "example",
        "is_front": true,
        "name": "example",
        "name_en": "example"
      }
    ],
    "muscles_secondary": [
      {
        "id": 1,
        "image_url_main": "example",
        "image_url_secondary": "example",
        "is_front": true,
        "name": "example",
        "name_en": "example"
      }
    ],
    "total_authors_history": [
      "example"
    ],
    "translations": [
      {
        "aliases": [
          {}
        ],
        "author_history": [
          "example"
        ],
        "created": "example",
        "description": "example",
        "description_source": "example",
        "exercise": 1,
        "id": 1,
        "language": 1,
        "license": 1,
        "license_author": "example",
        "license_author_url": {},
        "license_derivative_source_url": {},
        "license_object_url": {},
        "license_title": "example",
        "name": "example",
        "notes": [
          {}
        ],
        "uuid": "example"
      }
    ],
    "uuid": "example",
    "variation_group": "example",
    "videos": [
      {
        "author_history": [
          "example"
        ],
        "codec": "example",
        "codec_long": "example",
        "duration": "example",
        "exercise": 1,
        "height": 1,
        "id": 1,
        "is_main": true,
        "license": 1,
        "license_author": "example",
        "license_author_url": {},
        "license_derivative_source_url": {},
        "license_object_url": {},
        "license_title": "example",
        "size": 1,
        "uuid": "example",
        "video": "example",
        "width": 1
      }
    ]
  }
}

Get an ingredient

Look up a food and its nutritional information.

Inputs

Ingredient IDingredient_idnumberRequired
The ingredient ID from Search ingredients.At least 1.

Outputs

dataobject
The response from wger.
Example output
{
  "data": {
    "brand": "example",
    "carbohydrates": "example",
    "carbohydrates_sugar": "example",
    "code": "example",
    "common_name": "example",
    "created": "example",
    "energy": 1,
    "fat": "example",
    "fat_saturated": "example",
    "fiber": "example",
    "id": 1,
    "is_vegan": true,
    "is_vegetarian": true,
    "language": 1,
    "last_imported": "example",
    "last_update": "example",
    "license": 1,
    "license_author": "example",
    "license_author_url": {},
    "license_derivative_source_url": {},
    "license_object_url": {},
    "license_title": "example",
    "name": "example",
    "nutriscore": {},
    "protein": "example",
    "remote_id": "example",
    "sodium": "example",
    "source_name": "example",
    "source_url": {},
    "uuid": "example",
    "weight_units": [
      {
        "gram": 1,
        "id": 1,
        "ingredient": 1,
        "name": "example",
        "uuid": "example"
      }
    ]
  }
}

Get routine statistics

Read workout statistics for a routine.

Inputs

Routineroutine_idnumberRequired
Choose a workout routine.At least 1.

Outputs

dataobject
The response from wger.
Example output
{
  "data": {
    "intensity": {
      "daily": {},
      "iteration": {},
      "mesocycle": {
        "exercises": {},
        "lower_body": "example",
        "muscle": {},
        "total": "example",
        "upper_body": "example"
      },
      "weekly": {}
    },
    "sets": {
      "daily": {},
      "iteration": {},
      "mesocycle": {
        "exercises": {},
        "lower_body": "example",
        "muscle": {},
        "total": "example",
        "upper_body": "example"
      },
      "weekly": {}
    },
    "volume": {
      "daily": {},
      "iteration": {},
      "mesocycle": {
        "exercises": {},
        "lower_body": "example",
        "muscle": {},
        "total": "example",
        "upper_body": "example"
      },
      "weekly": {}
    }
  }
}

Get routine structure

Read a workout routine’s days, slots and exercises.

Inputs

Routineroutine_idnumberRequired
Choose a workout routine.At least 1.

Outputs

dataobject
The response from wger.
Example output
{
  "data": {
    "created": "example",
    "days": [
      {
        "config": {},
        "description": "example",
        "id": 1,
        "is_rest": true,
        "name": "example",
        "need_logs_to_advance": true,
        "order": 1,
        "routine": 1,
        "slots": [
          {}
        ],
        "type": "example"
      }
    ],
    "description": "example",
    "end": "example",
    "fit_in_week": true,
    "id": 1,
    "name": "example",
    "start": "example"
  }
}

List exercise categories

List available exercise categories.

Inputs

Limitlimitnumber
The maximum number of records on this page.From 1 to 100.
Offsetoffsetnumber
The number of records to skip.At least 0.

Outputs

dataobject
The response from wger.
Example output
{
  "data": {
    "count": 1,
    "next": "example",
    "previous": "example",
    "results": [
      {
        "id": 1,
        "name": "example"
      }
    ]
  }
}

List exercise equipment

List available equipment for exercises.

Inputs

Limitlimitnumber
The maximum number of records on this page.From 1 to 100.
Offsetoffsetnumber
The number of records to skip.At least 0.

Outputs

dataobject
The response from wger.
Example output
{
  "data": {
    "count": 1,
    "next": "example",
    "previous": "example",
    "results": [
      {
        "id": 1,
        "name": "example"
      }
    ]
  }
}

List measurement categories

List the categories used for your body measurements.

Inputs

Limitlimitnumber
The maximum number of records on this page.From 1 to 100.
Offsetoffsetnumber
The number of records to skip.At least 0.

Outputs

dataobject
The response from wger.
Example output
{
  "data": {
    "count": 1,
    "next": "example",
    "previous": "example",
    "results": [
      {
        "chart_config": {},
        "chart_type": {},
        "dynamic_params": {},
        "dynamic_type": "example",
        "id": "example",
        "is_official": true,
        "metric_type": "example",
        "name": "example",
        "order": 1,
        "parent": "example",
        "unit": "example"
      }
    ]
  }
}

List measurements

Read measurements by category and date range.

Inputs

Categorycategory_idtext
Choose a measurement category.
Start timestart_timedate and time
Include measurements at or after this time.
End timeend_timedate and time
Include measurements at or before this time.
Limitlimitnumber
The maximum number of records on this page.From 1 to 100.
Offsetoffsetnumber
The number of records to skip.At least 0.

Outputs

dataobject
The response from wger.
Example output
{
  "data": {
    "count": 1,
    "next": "example",
    "previous": "example",
    "results": [
      {
        "category": "example",
        "date": "example",
        "external_id": "example",
        "extra_data": {},
        "id": "example",
        "notes": "example",
        "source": "example",
        "value": 1
      }
    ]
  }
}

List muscles

List the muscles wger uses to classify exercises.

Inputs

Limitlimitnumber
The maximum number of records on this page.From 1 to 100.
Offsetoffsetnumber
The number of records to skip.At least 0.

Outputs

dataobject
The response from wger.
Example output
{
  "data": {
    "count": 1,
    "next": "example",
    "previous": "example",
    "results": [
      {
        "id": 1,
        "image_url_main": "example",
        "image_url_secondary": "example",
        "is_front": true,
        "name": "example",
        "name_en": "example"
      }
    ]
  }
}

List nutrition diary entries

Read logged foods and amounts with optional plan and date filters.

Inputs

Nutrition planplan_idnumber
Choose a nutrition plan.
Start timestart_timedate and time
Include entries at or after this time.
End timeend_timedate and time
Include entries at or before this time.
Limitlimitnumber
The maximum number of records on this page.From 1 to 100.
Offsetoffsetnumber
The number of records to skip.At least 0.

Outputs

dataobject
The response from wger.
Example output
{
  "data": {
    "count": 1,
    "next": "example",
    "previous": "example",
    "results": [
      {
        "amount": "example",
        "datetime": "example",
        "id": "example",
        "ingredient": 1,
        "meal": "example",
        "plan": "example",
        "weight_unit": 1
      }
    ]
  }
}

List nutrition plans

List meal and nutrition plans in your account.

Inputs

Limitlimitnumber
The maximum number of records on this page.From 1 to 100.
Offsetoffsetnumber
The number of records to skip.At least 0.

Outputs

dataobject
The response from wger.
Example output
{
  "data": {
    "count": 1,
    "next": "example",
    "previous": "example",
    "results": [
      {
        "creation_date": "example",
        "description": "example",
        "end": "example",
        "goal_carbohydrates": 1,
        "goal_energy": 1,
        "goal_fat": 1,
        "goal_fiber": 1,
        "goal_protein": 1,
        "id": "example",
        "only_logging": true,
        "start": "example"
      }
    ]
  }
}

List routine days

List training and rest days for a routine.

Inputs

Routineroutine_idnumber
Choose a workout routine to filter by.At least 1.
Limitlimitnumber
The maximum number of records on this page.From 1 to 100.
Offsetoffsetnumber
The number of records to skip.At least 0.

Outputs

dataobject
The response from wger.
Example output
{
  "data": {
    "count": 1,
    "next": "example",
    "previous": "example",
    "results": [
      {
        "config": {},
        "description": "example",
        "id": 1,
        "is_rest": true,
        "name": "example",
        "need_logs_to_advance": true,
        "order": 1,
        "routine": 1,
        "type": "example"
      }
    ]
  }
}

List weight entries

Read body weight entries over a date and time range.

Inputs

Start timestart_timedate and time
Include entries at or after this time.
End timeend_timedate and time
Include entries at or before this time.
Limitlimitnumber
The maximum number of records on this page.From 1 to 100.
Offsetoffsetnumber
The number of records to skip.At least 0.

Outputs

dataobject
The response from wger.
Example output
{
  "data": {
    "count": 1,
    "next": "example",
    "previous": "example",
    "results": [
      {
        "date": "example",
        "id": "example",
        "user": 1,
        "weight": "example"
      }
    ]
  }
}

List workout logs

Read logged exercises, sets, repetitions and weights.

Inputs

Routineroutine_idnumber
Choose a workout routine to filter by.At least 1.
Start timestart_timedate and time
Include logs at or after this time.
End timeend_timedate and time
Include logs at or before this time.
Limitlimitnumber
The maximum number of records on this page.From 1 to 100.
Offsetoffsetnumber
The number of records to skip.At least 0.

Outputs

dataobject
The response from wger.
Example output
{
  "data": {
    "count": 1,
    "next": "example",
    "previous": "example",
    "results": [
      {
        "date": "example",
        "exercise": 1,
        "id": "example",
        "iteration": 1,
        "next_log": "example",
        "notes": "example",
        "repetitions": "example",
        "repetitions_target": "example",
        "repetitions_unit": 1,
        "rest": 1,
        "rest_target": 1,
        "rir": "example",
        "rir_target": "example",
        "routine": 1,
        "session": "example",
        "slot_entry": 1,
        "weight": "example",
        "weight_target": "example",
        "weight_unit": 1
      }
    ]
  }
}

List workout routines

List the workout routines in your wger account.

Inputs

Routine nameroutine_nametext
Filter by the name of a workout routine.
Limitlimitnumber
The maximum number of records on this page.From 1 to 100.
Offsetoffsetnumber
The number of records to skip.At least 0.

Outputs

dataobject
The response from wger.
Example output
{
  "data": {
    "count": 1,
    "next": "example",
    "previous": "example",
    "results": [
      {
        "created": "example",
        "description": "example",
        "end": "example",
        "fit_in_week": true,
        "id": 1,
        "is_public": true,
        "is_template": true,
        "name": "example",
        "start": "example"
      }
    ]
  }
}

List workout sessions

Read your workout sessions, with optional routine and time filters.

Inputs

Routineroutine_idnumber
Choose a workout routine to filter by.At least 1.
Start timestart_timedate and time
Include sessions starting at or after this time.
End timeend_timedate and time
Include sessions starting at or before this time.
Limitlimitnumber
The maximum number of records on this page.From 1 to 100.
Offsetoffsetnumber
The number of records to skip.At least 0.

Outputs

dataobject
The response from wger.
Example output
{
  "data": {
    "count": 1,
    "next": "example",
    "previous": "example",
    "results": [
      {
        "datetime_end": "example",
        "datetime_start": "example",
        "day": 1,
        "id": "example",
        "impression": "example",
        "notes": "example",
        "routine": 1
      }
    ]
  }
}

Search exercises

Find exercises by name, category and equipment.

Inputs

Searchsearchtext
Search for exercises by name.
Categorycategory_idnumber
Choose an exercise category.
Equipmentequipment_idnumber
Choose exercise equipment.
Limitlimitnumber
The maximum number of records on this page.From 1 to 100.
Offsetoffsetnumber
The number of records to skip.At least 0.

Outputs

dataobject
The response from wger.
Example output
{
  "data": {
    "count": 1,
    "next": "example",
    "previous": "example",
    "results": [
      {
        "author_history": [
          "example"
        ],
        "category": {
          "id": 1,
          "name": "example"
        },
        "created": "example",
        "equipment": [
          {}
        ],
        "id": 1,
        "images": [
          {}
        ],
        "last_update": "example",
        "last_update_global": "example",
        "license": {
          "full_name": "example",
          "id": 1,
          "short_name": "example",
          "url": {}
        },
        "license_author": "example",
        "muscles": [
          {}
        ],
        "muscles_secondary": [
          {}
        ],
        "total_authors_history": [
          "example"
        ],
        "translations": [
          {}
        ],
        "uuid": "example",
        "variation_group": "example",
        "videos": [
          {}
        ]
      }
    ]
  }
}

Search ingredients

Find foods and their nutritional information by name.

Inputs

SearchsearchtextRequired
The name or part of the name of the food.
Limitlimitnumber
The maximum number of records on this page.From 1 to 100.
Offsetoffsetnumber
The number of records to skip.At least 0.

Outputs

dataobject
The response from wger.
Example output
{
  "data": {
    "count": 1,
    "next": "example",
    "previous": "example",
    "results": [
      {
        "brand": "example",
        "carbohydrates": "example",
        "carbohydrates_sugar": "example",
        "code": "example",
        "common_name": "example",
        "created": "example",
        "energy": 1,
        "fat": "example",
        "fat_saturated": "example",
        "fiber": "example",
        "id": 1,
        "is_vegan": true,
        "is_vegetarian": true,
        "language": 1,
        "last_imported": "example",
        "last_update": "example",
        "license": 1,
        "license_author": "example",
        "license_author_url": {},
        "license_derivative_source_url": {},
        "license_object_url": {},
        "license_title": "example",
        "name": "example",
        "nutriscore": {},
        "protein": "example",
        "remote_id": "example",
        "sodium": "example",
        "source_name": "example",
        "source_url": {},
        "uuid": "example",
        "weight_units": [
          {}
        ]
      }
    ]
  }
}

On this page