Overview
ExerciseDB is a read-only catalog of exercises, designed to be pulled into your own app rather than queried on every screen.
If you have five minutes, skip to Getting Started. This page explains the ideas the API is built on, so the endpoint list makes sense when you reach it.
The catalog is public and read-only
Every exercise in the catalog is curated and shared by all consumers. There is no concept of a user-created exercise, and nothing you send can modify the catalog. That makes the whole surface cacheable: the same request returns the same answer for every developer.
Version 1 is deliberately narrow. No workout generation, no food database, no end-user accounts. Those live in your app; the catalog is the raw material.
Summaries and details are different shapes
List endpoints return summaries — enough to render a row or a card:
id, slug, name, status, category, difficulty, movementPattern, tags, updatedAtFetching a single exercise returns the detail, which adds everything a coach would need: description, ordered instructions, tips, breathingCues, contraindications, mechanics, forceType, position, planeOfMotion, laterality, loadType, skillType, jointRegions, flags, and a free-form programming object. It also carries the muscles and links, so a client never has to rebuild them from filters:
| Field | Shape |
|---|---|
primaryMuscles, secondaryMuscles, stabilizerMuscles | muscle slugs, in /muscles display order |
equipment | equipment slugs; all of them are needed to perform the exercise |
optionalEquipment | equipment it can use but does not need: alternatives and add-ons |
trackingType | which inputs a logged set takes (see below) |
aliases | other names, sorted |
variations, progressions, regressions | { id, slug } links to active exercises |
media | images and videos (type, url, thumbnailUrl, angle, caption, isPrimary, sortOrder, width, height, durationSeconds); empty for every exercise today |
breathingCues is set only where breathing is load-bearing — bracing under the main barbell lifts — and is null everywhere else.
Every name and alias is unique across the catalog once case, spaces and punctuation are ignored, so "Push-Up", "push up" and "Pushup" all name one exercise, and search compares names the same way: pushup, push up and push-up all find Push-up. /exercises/search ranks what it finds: the exact name first, then an exact alias, names that start with the query, names that contain it, aliases that contain it, and tags.
Logging a set: trackingType
| Value | A logged set records |
|---|---|
weight_reps | load × reps (barbell, dumbbell, machine, cable) |
reps | reps, optionally with added load (bodyweight work) |
assisted_reps | assistance load, which is subtracted, × reps |
band_reps | band resistance × reps |
duration | time (holds, timed work) |
weight_duration | load × time (loaded holds) |
distance_duration | distance and time (runs, rides, rows, swims) |
weight_distance | load × distance (carries, sleds) |
category describes the training effect and is independent of how a set is logged: Wall Ball is cardio but logged as weight_reps.
Programming defaults
programming.defaultReps is the original text ("8-12 each side"). Read the structured fields instead: defaultSets, defaultRepsMin, defaultRepsMax, perSide, defaultDistanceMetersMin/Max and defaultDurationSeconds. The fixture validator rejects any record where the two disagree.
Progression: progressionRule
Every exercise says how it progresses from one session to the next. All keys are always present and null when they don't apply.
| Field | Meaning |
|---|---|
model | double (fill the rep range, then add load), load_then_reps (fixed target, add load), reps (build reps, then move to a progressions link), duration, distance, or none (cardio) |
loadStepKg, loadStepLb | smallest sensible jump; per dumbbell or kettlebell, else the total on the bar or stack. A reps exercise has one only when optionalEquipment adds a dumbbell or kettlebell, for sets logged with weight |
durationStepSeconds, distanceStepMeters | step for the duration and distance models |
stallSessions | sessions without progress before a reset |
resetPercent | how much lighter a reset goes; null when nothing is loaded |
note | why the exercise is set up this way |
Going easy on a joint: jointStress
jointRegions says which joints an exercise involves. jointStress says how hard it loads each of them, so an app can skip or swap exercises for a user with a sore knee or shoulder. It has a key for every region (neck, shoulder, elbow, wrist, spine, hip, knee, ankle):
| Level | Meaning |
|---|---|
high | heavy load or loaded end range; the kind of exercise someone with a sore joint is told to skip or modify |
moderate | clearly loaded, manageable with lighter weight or a shorter range |
low | involved lightly, as a stabiliser or a grip |
none | not involved |
For each region rated high, gentlerSwaps lists one or two exercises ({ id, slug }) that load that region less, in the same movement pattern where possible. Ratings describe the default setup; optional equipment does not raise them.
This split is why GET /exercises stays fast. Ask for details only when a user opens something.
TIP
GET /exercises/bulk?ids=… returns up to 50 details in one request. It is the right call when you already know which exercises you need.
Slugs are stable, ids are canonical
Every exercise has a UUID id and a human-readable slug such as barbell-back-squat. Both resolve the same record. Use the id as your local primary key; use the slug for URLs and debugging.
Exercises relate to each other
Three relationships are first-class, and each is its own endpoint:
- Variations — a different way to perform the same movement.
- Progressions — harder movements that build on this one.
- Regressions — easier movements that lead up to it.
GET /exercises/{id}/related returns all three groups in one request. This is what lets you build a programme that scales with a user rather than a flat list.
That curated graph also powers a small set of higher-level endpoints — the things a flat catalog can't do:
- Substitutes — variations filtered to the equipment a user actually has.
- Progression paths — the shortest chain from where a user is to where they want to be.
- Coverage analysis — what a set of exercises trains, and where it's unbalanced.
See The Relationship Graph for how the edges are curated and why they're reciprocal.
Reference data is separate, and rarely changes
Muscles, equipment, categories, exercise flags, and joint regions live behind their own endpoints. Exercises reference them by slug.
Fetch them once with GET /metadata, which returns every reference table in a single response, and cache the result. These change on the order of months.
Catalog and reference reads carry an ETag and Cache-Control: private, must-revalidate. Send the ETag back as If-None-Match and an unchanged resource returns 304 Not Modified with an empty body — cheap revalidation on a catalog that rarely moves.
Sync, don't poll
The catalog is large and mostly static, so the API is built for clients that keep a local copy.
GET /sync/metadatatells you the currentcatalogVersionandlatestChangeAt. If neither moved, there is nothing to do.GET /sync/exerciseswithoutupdated_sinceperforms a first full sync.- Later, pass
updated_sincewith the timestamp of your last successful sync. You get back only what changed.
Responses carry two lists. data.exercises holds records to insert or update. data.tombstones holds records that were deprecated or deleted — they will not appear in exercises, and your local copy should remove or flag them.
Paging is cursor-based. Follow pagination.nextCursor until hasMore is false. Cursors are opaque; never construct one.
WARNING
A tombstone is the only signal that a record disappeared. If you ignore tombstones, deleted exercises will linger in your app forever.
Tiers gate quota, not content
Every account starts on free, which allows 1,000 requests per day. The paid tiers allow 10,000 (basic), 100,000 (pro) and 1,000,000 (enterprise).
Every tier sees the same catalog and the same endpoints. Paid tiers raise the daily quota and change nothing else — there is no content held back from the free tier, and upgrading is not a code change.
Quotas are per API key and reset at midnight UTC. X-RateLimit-Remaining tells you where you stand; a 429 carries Retry-After.
Paid tiers are bought through POST /billing/checkout. A tier changes when the billing provider's webhook arrives, not when checkout returns.
Errors are machine-readable
Every error is RFC 9457 Problem Details, served as application/problem+json:
{
"type": "https://docs.harshitbishnoi.dev/errors/exercise-not-found",
"title": "Exercise Not Found",
"status": 404,
"detail": "Exercise was not found",
"instance": "/exercises/8c1e5a10-0000-4000-8000-000000000001",
"code": "EXERCISE_NOT_FOUND",
"requestId": "485fa7dd-03b1-44e1-ae56-6b88d13b652b"
}Branch on code. It is stable and will not change. detail is written for humans and may be reworded at any time. requestId is echoed in the X-Request-Id header — quote it when reporting a problem.
Next
Make your first call in Getting Started, then browse the API Reference for every parameter and response shape.