Fetch the catalogue
One request gives you all 464 exercises with steps, muscles and media paths.
For developers · CC BY 4.0
One JSON catalogue, one base URL, no key. Fetch an exercise, load its media, cache by content hash. The same files power the OwnGym Android app.
Quick start
Everything is static and cached on Cloudflare. Start with the catalogue, pick an exercise, then request only the media you need.
One request gives you all 464 exercises with steps, muscles and media paths.
Match by name or aliases. Keep the id; every media file uses it.
Use the GIF in the app, the animated WebP on the web, and the pictures as a fallback.
Code
The catalogue is plain JSON. These examples find the Bodyweight Squat and print its steps and first media paths.
const BASE = 'https://owngym-assets.pages.dev/';
const { exercises } = await (await fetch(BASE + 'exercises.json')).json();
const squat = exercises.find((e) => e.name === 'Bodyweight Squat');
console.log(squat.steps); // how to do it
console.log(BASE + squat.media.gifs.female); // animated guide
console.log(BASE + squat.media.pictures[0]); // start / finish picture
import json, urllib.request BASE = "https://owngym-assets.pages.dev/" lib = json.load(urllib.request.urlopen(BASE + "exercises.json")) squat = next(e for e in lib["exercises"] if e["name"] == "Bodyweight Squat") print(squat["steps"]) print(BASE + squat["media"]["gifs"]["female"]) print(BASE + squat["media"]["pictures"][0])
curl -s https://owngym-assets.pages.dev/exercises.json \ | jq -r '.exercises[] | select(.name == "Bodyweight Squat") | .media.gifs.female' # gifs/female/<id>.gif -> https://owngym-assets.pages.dev/gifs/female/<id>.gif
Catalogue
Every exercise has the same shape. Media paths are relative to the base URL and only exist when the file exists.
| Field | What it is |
|---|---|
| id | Stable id used by every media file. |
| name | Display name; match this first. |
| group | One of 14 muscle groups used for filtering. |
| primary | Main muscles trained, finest regions. |
| secondary | Helper muscles. |
| equipment | barbell, dumbbell, cable, machine, band, bodyweight… |
| level | beginner, intermediate or advanced. |
| kind | strength, calisthenics, cardio or stretch. |
| steps | Ordered instructions written for a first-timer. |
| aliases | Other names the move is logged under. |
| media | GIFs by body and pictures in display order. |
Use the path from media, or build it from the id. Never build a URL for a file that is not listed.
gifs/<female|male>/<id>.gif exercises/<id>.webp exercises/<id>@2.webp web/anim/<female|male>/<id>.webp web/poster/<female|male>/<id>.webp models/<name>.bin models/<name>.webp
Caching
Media files are immutable for a year. index.json lists a short content hash for every file; request ?v=<hash> and keep the file until the hash changes.
A small index of every picture, GIF and figure. Cache it for five minutes.
{
"gifs": { "female": { "<id>": "<hash>" }, "male": { "<id>": "<hash>" } },
"exercises": { "<id>": "<hash>" },
"figures": [{ "id": "aria", "hash": "<hash>" }]
}
The full GIF library is about 175 MB. Do not download it all: request the guide when someone opens that exercise, and keep the last few in a small cache.
Replace the file only when the hash changes.
No key, no account, no identifier. Only the file name is requested.
Media
Use the GIF in an Android app, the animated WebP on the web, and the pictures when you need a still or an offline fallback.
360 px, 200–700 KB. The original guide, best for native apps.
gifs/female/<id>.gifAnimated WebP plus a still poster, about 9× smaller. Best for websites.
web/anim/… · web/poster/…Start and finish WebP pictures, steps, muscles and aliases in one JSON.
exercises/<id>.webp · exercises.jsonFetch exercises.json, match the name first and then the aliases, and answer with the exercise’s steps and primary muscles. Link only paths that are in media.
If you can only read text, EXERCISES.md has the same catalogue as one page, grouped by muscle and with every step.
The catalogue and media are licensed under CC BY 4.0. Use, share and adapt them, including commercially, with credit to “OwnGym exercise library” and a link to the repository.