Developers
3D exercise animations for your app
One free API key gives you 506 exercises in 3D: the frames of each rep and a looping clip, served from Cloudflare's CDN. Credit CrossFitOS, keep to fair use, and show them anywhere.
GET /api/v1/exercises/goblet-squatYour API keys
Keys are free. Sign in with your CrossFitOS account (anyone can make one) and create a key for each app or website.
Checking whether you are signed in…
Signed in as .
You have no keys yet.
Quick start
Send your key in the Authorization header. Every response is JSON.
curl -H "Authorization: Bearer YOUR_KEY" \
"https://crossfitos.com/api/v1/exercises?q=push%20up" From JavaScript, in a browser or on a server:
const res = await fetch("https://crossfitos.com/api/v1/exercises/goblet-squat", {
headers: { Authorization: "Bearer YOUR_KEY" },
});
const { data } = await res.json();
video.src = data.clip.url; // a looping 3D clip
img.src = data.frames[0].url; // the start of the rep
credit.innerHTML = data.attribution.html; A key used in a web page is visible to anyone who opens it. Add your website to the key so other sites cannot use it, or call the API from your server.
Claude Code and other AI tools (MCP)
The API is also an MCP server, so your coding assistant can search the exercises and write the code that shows them. Connect it with your key, then ask in plain words, for example "add a looping 3D clip of each exercise to my workout screen".
Claude Code:
claude mcp add --transport http crossfitos https://crossfitos.com/api/mcp \
--header "Authorization: Bearer YOUR_KEY" Cursor, VS Code and other clients that read an mcp.json:
{
"mcpServers": {
"crossfitos": {
"type": "http",
"url": "https://crossfitos.com/api/mcp",
"headers": {
"Authorization": "Bearer YOUR_KEY"
}
}
}
} Its tools return the same JSON as the endpoints below:
search_exercises: Search the 506 CrossFitOS exercises that have a 3D animation, by name.get_exercise: One exercise with every frame (WebP, 1200 px wide), the looping clip (MP4, 1080 px wide, 15 fps, 40 frames) and the credit line its licence (CC BY-SA 4.0) asks for.get_usage: This API key's fair-use limits and what it has used today (UTC)..report_exercise_issue: Tell CrossFitOS about a problem with one exercise's animation or data, so the team can fix it: a pose that looks wrong, a bar or limb that jumps, a clip that shows a different exercise.integration_guide: How to use the CrossFitOS exercise API in an app or website: endpoints, the key, signed media links and refreshing them, credit, limits, with code for a server, the web, React, React Native (Expo) and Python.
Connecting and listing the tools is free; each tool call counts as one API request, except integration_guide. The endpoint is
stateless Streamable HTTP (POST https://crossfitos.com/api/mcp, JSON-RPC 2.0) and needs the key on every request.
Endpoints
| Request | What it returns |
|---|---|
| GET /api/v1/exercises | A page of exercises: id, name, motion, aspect ratio, thumbnail and page link. |
| GET /api/v1/exercises/{id} | One exercise with every frame, the clip and its credit line. |
| GET /api/v1/usage | Your key's limits and what it has used today. |
| GET /api/v1 | What the API offers. Needs no key. |
The list takes these parameters, all optional:
q: words of the name.q=pull upfinds Pull-Up and Archer Pull Ups.motion:rep(the frames run from the start of a rep to its peak) orstill(three views of one held position, for holds and stretches).ids: up to 50 exercise ids, comma-separated, to fetch several at once.limit: 1 to 50, default 20.cursor: thenext_cursorof the page before.
What you get back
An exercise from GET /api/v1/exercises/goblet-squat (the links here are examples and will not open):
{
"data": {
"id": "goblet-squat",
"name": "Goblet Squat",
"motion": "rep",
"aspect": 0.875,
"thumbnail": {
"url": "https://crossfitos.com/exercises/goblet-squat/thumb.webp?k=0123456789abcdef&e=1796256000&s=6b566e8d3b635027737179ef",
"width": 480,
"type": "image/webp"
},
"page_url": "https://crossfitos.com/exercises/goblet-squat",
"published": "2026-11-08",
"frames": [
{
"name": "start",
"url": "https://crossfitos.com/exercises/goblet-squat/start.webp?k=0123456789abcdef&e=1796256000&s=382857812737ac2e048b503b",
"width": 1200,
"type": "image/webp"
},
{
"name": "f1",
"url": "https://crossfitos.com/exercises/goblet-squat/f1.webp?k=0123456789abcdef&e=1796256000&s=28ff9fb9c68c6aaa0467258c",
"width": 1200,
"type": "image/webp"
},
{
"name": "f2",
"url": "https://crossfitos.com/exercises/goblet-squat/f2.webp?k=0123456789abcdef&e=1796256000&s=90b21c182e1eb6a59bdce0e9",
"width": 1200,
"type": "image/webp"
},
{
"name": "peak",
"url": "https://crossfitos.com/exercises/goblet-squat/peak.webp?k=0123456789abcdef&e=1796256000&s=d4242e40118a54e19fa792cb",
"width": 1200,
"type": "image/webp"
}
],
"clip": {
"url": "https://crossfitos.com/exercises/goblet-squat/clip.mp4?k=0123456789abcdef&e=1796256000&s=5e0191e4dd0a33fa2f2bf65b",
"type": "video/mp4",
"width": 1080,
"fps": 15,
"frame_count": 40,
"duration_seconds": 2.67,
"loop": true
},
"attribution": {
"text": "3D exercise animation by CrossFitOS (crossfitos.com), CC BY-SA 4.0. 3D anatomy: Z-Anatomy (CC BY-SA 4.0), based on BodyParts3D (CC BY 4.0); body: MakeHuman (CC0).",
"html": "<a href=\"https://crossfitos.com/exercises/goblet-squat\">Goblet Squat 3D animation</a> by <a href=\"https://crossfitos.com\">CrossFitOS</a>, <a href=\"https://creativecommons.org/licenses/by-sa/4.0/\">CC BY-SA 4.0</a>",
"license": "CC-BY-SA-4.0",
"license_url": "https://creativecommons.org/licenses/by-sa/4.0/"
},
"media_expires_at": "2026-12-03T00:00:00.000Z"
}
} Frames are 1200 pixels wide and the clip 1080; the height is the width divided by aspect. Thumbnails are 480 pixels wide.
Media links
- Every picture and clip link is signed for your key and works on any website or app until
media_expires_at, the end of the next day (UTC). Links stay the same all day, so browsers and CDNs cache them. - Fetch the exercise again at least once a day for fresh links. Store the exercise id, not the links.
- Links answer with
Access-Control-Allow-Origin: *, so canvas, WebGL andfetch()work as well as<img>and<video>. - The files come from Cloudflare's CDN. Each request counts toward your media limits, including the few parts a video player loads a clip in. A revoked key's links stop working.
Report a problem with an animation
Spotted a pose that looks wrong, a bar that jumps, or a clip that shows a different exercise? Tell us, and the team fixes the render. Send the exercise's id, what kind of problem it is, a sentence about it and, if you know it, the frame:
curl -X POST -H "Authorization: Bearer YOUR_KEY" -H "Content-Type: application/json" \
-d '{"kind": "animation", "frame": "f2", "message": "The bar jumps behind the knees halfway down."}' \
https://crossfitos.com/api/v1/exercises/deadlift/reports kindis one ofanimation(the animation looks wrong),not_this_exercise(it shows a different exercise),muscles(the muscles are wrong),instructions(the how-to or the sets are wrong),other(something else).frame(optional) isclipor a frame name from the exercise:start,f1…peak, orleftandrightfor a held position.GET /api/v1/reportslists your key's reports with their status (open,resolvedordismissed) and the team'sreply.- In Claude Code and other MCP clients, the
report_exercise_issuetool does the same. - A key can send 25 reports a day; each also counts as an API request.
Limits
| Per key | A minute | A day (UTC) |
|---|---|---|
| API requests | 60 | 5,000 |
| Pictures and clips loaded through your links | 1,200 | 50,000 |
| Keys per account | 5 active at a time | |
Each response carries X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset (seconds to midnight UTC). Over a limit you get 429 with Retry-After. Need more for a real product? Write to hello@crossfitos.com and tell us about it.
Credit and licence
The pictures and clips are licensed CC BY-SA 4.0: you may use, share and adapt them, also commercially, as long as you credit
CrossFitOS and share your adaptations under the same licence. Show the credit where the animation appears or on your credits screen, with a link
to the exercise's page (each response gives you attribution.html to paste in):
3D exercise animation by CrossFitOS (crossfitos.com), CC BY-SA 4.0. 3D anatomy: Z-Anatomy (CC BY-SA 4.0), based on BodyParts3D (CC BY 4.0); body: MakeHuman (CC0). The API gives the exercise's name and the 3D media only. It does not include muscles, equipment or levels.
Fair use
- Use the API to show the animations in your app, website or product, with the credit above.
- Do not use it to copy or mirror the whole library, to scrape it, or to resell access to it.
- One account per person or company. Keep your key to your own products and do not share it.
- Pictures and clips from crossfitos.com cannot be embedded on other websites without a signed link from the API.
- We may change the limits, and revoke a key that is abused or breaks these terms. The API is free and comes without a guarantee of uptime.
- The animations show how a move looks. They are not medical advice.
Errors
Errors are JSON: { "error": { "code": "QUOTA_EXCEEDED", "message": "…" } }.
| Status | Code | Meaning |
|---|---|---|
| 401 | MISSING_KEY, INVALID_KEY, KEY_REVOKED | No key, a wrong one, or a revoked one. |
| 403 | ORIGIN_NOT_ALLOWED | The key lists websites and this page is not one of them. |
| 400 / 404 | BAD_REQUEST, NOT_FOUND | A parameter is wrong, or there is no exercise with that id. |
| 429 | RATE_LIMITED, QUOTA_EXCEEDED, REPORT_LIMIT | Over the minute or the day. Wait for Retry-After seconds. |
An expired or altered media link answers 403: fetch the exercise again for a fresh one.
Questions? hello@crossfitos.com. See every exercise on the exercise library.