Self-hosted quickstart
The files live in your project, and your app plays them offline. About three minutes with Node 20 or Python 3.9+. You need no key to start.
Make a call
No key is needed. A request without one is answered as the sample account, which owns the 12 sample exercises.
Terminal curl "https://api.movekit.com/v1/exercises?limit=1"200 response {"data": [{"aliases": ["Standing Cable Row","Standing Neutral-Grip Cable Row","Standing Dual-Handle Cable Row","Two-Handle Standing Cable Row"],"implementsNeeded": null,"secondaryMuscles": ["Biceps"],"movementPattern": ["Pull"],"difficulty": "beginner","durationSeconds": 5.8,"preview": {"videoUrl": "https://movekit.com/media/exercises/cable-row-bar-standing-row/video.mp4","posterUrl": "https://movekit.com/media/exercises/cable-row-bar-standing-row/poster.webp"},"id": "75","slug": "cable-row-bar-standing-row",Import the sample
t="$(mktemp -d)" && curl -fsSL -o "$t/import.mjs" https://movekit.com/docs/examples/import.mjs && node "$t/import.mjs" --installnode movekit/import.mjsYou now have
movekit/assets/with the sample's videos and posters,movekit/catalog.jsondescribing them,movekit/status.jsonsaying where they came from, andmovekit/README.mdsaying how web and mobile apps serve the files. Every file is checked for size and SHA-256. The first command installs the importer itself inmovekit/with its own--install, which never replaces a newer copy or a file of your project. Both import.mjs and import.py use only standard libraries and write the exact same folder.Show them
Read
movekit/catalog.jsonin your app and play the clips. To let a coding agent do all of this, use the agent prompt, the skill or the MCP server.Add your key
When you own a pack, create a key on your purchases page. It is one click, and it is copied for you. It is shown once, so keep it safe. Put it in
.env.localin your project, and keep that file out of Git. Don't own a pack yet? See the packs..env.local MOVEKIT_API_KEY=mk_live_...node movekit/import.mjsThe same command now imports every exercise you own, into the same folder, so your app's code stays as it is. Sample exercises you don't own stay too. Run it again at any time: only new or changed files download.
Each version of a file allows your account 20 downloads a month, so keep the import between builds: commit
movekit/and, if you set it, theMOVEKIT_ASSETS_DIRfolder to a private repository, or use a build cache that keeps both. A build that starts empty, as on Vercel, downloads every file again. The importer also reads the key from theMOVEKIT_API_KEYenvironment variable, which suits CI.