The Best Exercise Database APIs for Developers (2026)
Updated July 8, 2026
If you just need clean exercise metadata and can host it yourself, start with the open datasets (free-exercise-db or wger); if you need ready-made animated GIFs or video and want a hosted endpoint, budget for a commercial ExerciseDB tier. That single fork — self-host open data vs. pay for hosted media — decides most of these choices before feature checklists even matter.
One warning before you start Googling: "ExerciseDB" refers to two different things. There is the long-standing commercial listing on RapidAPI (publisher "justin-WFnsXH_t6"), and there is a newer exercisedb.dev / exercisedb/exercisedb-api project licensed AGPL-3.0. Different owners, different reported catalog sizes, different access models. Whenever a tutorial says "ExerciseDB", check the URL to see which one it means.
What actually decides this category
Feature tables for exercise APIs all look similar — muscle groups, equipment, instructions — so those are not where the real decision lives. Two axes are:
- License and hosting. Is it open-source data you own and self-host, or a hosted commercial API you rent? This drives your cost model, your compliance obligations, and your lock-in. Open options (
free-exercise-db, wger,exercisedb.dev) carry license terms ranging from public-domain to AGPL copyleft. Hosted commercial options remove ops work but tie you to a publisher's quotas and pricing. - Media depth. Text metadata (name, muscle, equipment, instructions) is cheap and available almost everywhere. Static images are common in the open datasets. Animated GIFs, and especially video, are the paywall differentiator — they are the main reason to pay for a commercial tier rather than self-host a free dataset.
A secondary axis worth a glance: whether you want a live maintained service or are fine owning a static dataset that updates only when the community commits.
One honest caveat on numbers: every exercise count below is a reported figure from the vendor or repo, and vendors reposition catalogs often. Treat all counts as "reported — verify at the source before you commit."
The options at a glance
| Option | License / hosting | Media | Reported catalog | Best for |
|---|---|---|---|---|
| ExerciseDB (commercial, RapidAPI) | Proprietary, hosted | Animated GIFs | ~1,300+ (reported, verify) | Turnkey GIFs, minimal setup |
exercisedb.dev (exercisedb-api) | AGPL-3.0, mostly hosted | GIFs, images, video (reported) | 11,000+ (reported, verify) | Large media-heavy catalog |
| wger | AGPL-3.0 software, CC data, self-host | CC images | ~845+ (reported, varies) | Owned, auditable self-hosted stack |
| API Ninjas Exercises | Proprietary, hosted | None (text only) | 3,000+ (reported, verify) | Lightweight text metadata |
| free-exercise-db | Unlicense (public domain), self-host | Static images | 800+ (reported, verify) | Zero-friction bootstrapping |
ExerciseDB — commercial (RapidAPI)
A hosted, plug-and-play API whose selling point is ready-made animated GIF demonstrations. Each record reports a gifUrl plus target body part, muscle, equipment, and step-by-step instructions, searchable by body part, target, and equipment. It is proprietary and not self-hostable — you access the data through RapidAPI with an X-RapidAPI-Key, on a freemium model (a free/BASIC tier plus paid tiers). Best for teams that want exercise GIFs working today with minimal integration. Watch out: it is marketplace-hosted, so you depend on the publisher's uptime and quota, free-tier request caps are low, and the catalog count has shifted over time — confirm the current count and limits (as of 2026, verify in the docs).
ExerciseDB — exercisedb.dev (exercisedb-api)
The newer, larger, more media-rich project positioned as the modern "open source" ExerciseDB. The public repo reports 11,000+ structured exercises alongside large media figures (reported 15,000+ videos, 20,000+ images, 5,000+ GIFs), with target and secondary muscles, equipment, instructions, coaching tips, and male/female demonstrations. It is licensed AGPL-3.0, but in practice production use is steered toward the hosted service (docs.exercisedb.dev) rather than a trivial self-host of the full media library; a v2 playground exists for testing but is explicitly not for production. Best for projects wanting a large media-heavy catalog with modern docs and an open reference implementation. Watch out: AGPL-3.0 carries real network-copyleft obligations for derivatives, and those big media counts are vendor marketing figures — verify what is actually available on whichever tier you buy.
wger
An open-source, self-hostable fitness platform (workout, nutrition, weight tracking) that also exposes an open exercise database over a REST API. The catalog is community-maintained (reported ~845+ exercises, though some sources report fewer — it varies by version and language) with multilingual names, muscle groups, equipment, categories, images, and per-entry license metadata. The software is AGPL-3.0-or-later; the exercise data is Creative Commons (per entry, historically CC-BY-SA). You can query the public read endpoints on wger.de without authentication, or run your own instance via Docker. Best for teams that want full control, no per-request fees, and an auditable open stack. Watch out: AGPL copyleft applies to modifications you deploy, the CC data needs attribution and share-alike per entry, and the catalog and media depth are lighter than the commercial GIF libraries.
API Ninjas Exercises
A developer-focused REST API returning clean, structured exercise records — name, type (strength, cardio, and so on), primary muscle group, equipment, difficulty, and text instructions — reported at 3,000+ exercises. There are no images, GIFs, or video: it is text and metadata only. It is proprietary and hosted, accessed with an X-Api-Key. Note the access catch: while API Ninjas has a free tier for other endpoints, the Exercises endpoint is reported to be premium-only (Business or Professional plans), so there is effectively no free access to exercises here. Best for apps that need lightweight muscle/equipment/difficulty/instruction metadata and do not need media. Watch out: no media at all, and confirm which paid plan unlocks this specific endpoint before you build (as of 2026, verify — the gating changes).
free-exercise-db
The lowest-friction option, and technically a dataset rather than an API: yuhonas/free-exercise-db is a JSON exercise database with a browsable frontend. It reports 800+ exercises with fields for force, level, mechanic, equipment, primary and secondary muscles, instructions, category, and static image paths. Crucially it is released under the Unlicense — public domain, effectively no restrictions and no attribution requirement. There is no auth and no hosted API: you clone the repo or fetch the combined JSON and images from raw GitHub URLs and serve them yourself. Best for bootstrapping an app with zero cost and zero licensing friction. Watch out: it is a static dataset, not a live service — you own updates, hosting, and search, media is static images only, and freshness depends on community commits.
Which should you pick?
- If you want zero cost and zero licensing obligations to bootstrap a prototype or ship an MVP, pick
free-exercise-db. Public-domain data, no auth, no attribution — you just host the files. - If you want a maintained, self-hosted, auditable stack and can accept copyleft, pick wger. You get a public read API and a real project behind it; budget for the AGPL obligations on deployed changes and CC attribution on the data.
- If animated GIFs or video are the whole point and you would rather rent than host, pick a commercial ExerciseDB tier — the RapidAPI listing for a smaller turnkey GIF set, or
exercisedb.devfor a larger media library (mind the AGPL terms and verify the advertised counts). - If you only need clean text metadata — muscle, equipment, difficulty, instructions — and no media, API Ninjas Exercises is a tidy fit, provided you are willing to pay for the premium plan that unlocks it.
Watch the fine print
Exercise counts, pricing tiers, rate limits, and endpoint gating in this category change often, and several RapidAPI "fitness" listings are re-wrappers of the same underlying open datasets. Before you commit, verify the current numbers and — just as important — the license, at each provider's primary docs. For open data, confirm the exact license (Unlicense vs. AGPL vs. CC-BY-SA) matches what your product can carry.
Frequently asked questions
- What is the best free exercise database API?
- The most obligation-free option is the free-exercise-db dataset, which is public domain (Unlicense) with 800+ reported exercises and static images, but you host it yourself. wger is a free, self-hostable open-source option with a public read API. Truly free hosted APIs are rare; most commercial listings are free-tier-of-paid with rate caps.
- Why are there two different ExerciseDB APIs?
- The name is shared by two separate projects: the older commercial listing on RapidAPI (publisher justin-WFnsXH_t6), historically around 1,300+ exercises with GIFs, and the newer exercisedb.dev project (exercisedb/exercisedb-api), AGPL-3.0, reporting 11,000+ exercises. They have different owners, counts, and access models, so check the URL to see which one a tutorial means.
- Which exercise API has GIFs or video demonstrations?
- Animated media is the main paywall differentiator. The commercial ExerciseDB on RapidAPI provides animated GIFs, and exercisedb.dev reports a larger library including video. The open datasets (free-exercise-db and wger) provide static images only, and API Ninjas Exercises has no media at all.
- Is wger's exercise API really free to use?
- Yes. wger is open source with no per-request fees, and its public exercise-list endpoints are readable without authentication. The costs are self-hosting if you run your own instance, plus license obligations: AGPL-3.0 copyleft on deployed modifications and Creative Commons attribution and share-alike on the exercise data.
- Does API Ninjas offer a free exercise endpoint?
- Not for exercises specifically. API Ninjas has a free tier for other endpoints, but the Exercises endpoint is reported to be premium-only, available on paid Business or Professional plans. Verify the current tier gating at their pricing page before building, as it changes.
Keep reading
Independent comparison, last reviewed July 8, 2026. Pricing, rate limits, and feature availability change often — confirm current details in each provider’s official documentation before you commit. Product and company names are trademarks of their respective owners; AIFitnessAPI is not affiliated with, endorsed by, or sponsored by any product listed here.
← All fitness apis · by AIFitnessAPI