> Docs index: https://movekit.com/llms.txt. HTML version: https://movekit.com/docs/quickstart

# 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.

This is the self-hosted lane. To have MoveKit serve the files, see [the Hosted quickstart](https://movekit.com/docs/hosted).

## 1. Make a call

No key is needed. A request without one is answered as the sample account, which owns the 12 sample exercises.

```bash
curl "https://api.movekit.com/v1/exercises?limit=1"
```

200 response:

```json
{
  "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",
      "name": "Cable Row Bar Standing Row",
      "primaryMuscles": [
        "Back"
      ],
      "equipment": [
        "Cable Machine"
      ],
      "access": "licensed",
      "introducedAt": "2026-04-16T17:10:13.152Z",
      "updatedAt": "2026-10-04T19:56:58.073Z",
      "version": "golden-release-20261004:ae121e3065d855ff190bcdbe66cc267172046f2ec09f9d189f8007bbf49b715d",
      "description": "A standing cable row using a paired neutral-grip handle to pull toward the torso while the feet stay planted.",
      "instructions": [
        "Attach a paired neutral-grip row handle and set the pulley so the cable runs toward your mid-torso.",
        "Hold the upright grips with your palms facing each other and step back until the cable is taut.",
        "Stand with both feet planted and brace your trunk.",
        "Pull the handle toward your torso, moving your elbows back alongside your body.",
        "Return the handle smoothly as your arms extend.",
        "Repeat while keeping your stance steady and avoiding a large backward lean."
      ],
      "commonMistakes": [
        "Leaning far backward to move the handle.",
        "Shrugging the shoulders throughout the pull.",
        "Letting the cable pull the arms forward abruptly.",
        "Changing the grip or attachment so the setup no longer matches the demonstration."
      ],
      "assets": [
        {
          "id": "ex75-video",
          "version": "golden-release-20261004:ae121e3065d855ff190bcdbe66cc267172046f2ec09f9d189f8007bbf49b715d",
          "sha256": "d74cedbbfbc4d6d93afd73cbbf4ca7e6d4ef1d876d12be14913c617974ba8109",
          "bytes": 1843302,
          "mediaType": "video/mp4"
        },
        {
          "id": "ex75-poster",
          "version": "golden-release-20261004:ae121e3065d855ff190bcdbe66cc267172046f2ec09f9d189f8007bbf49b715d",
          "sha256": "4971144f130907a9eb898ef7b10109b60f4c572c40e41358a053dba24836d0f4",
          "bytes": 321332,
          "mediaType": "image/webp"
        }
      ]
    }
  ],
  "meta": {
    "requestId": "req_5f0c7a9e-2b1d-4c8e-9a3f-6d2e8b1c4f70",
    "catalogRevision": "3c79fc18685650e43beb1ccdd0e1f70cef31a5b643b033160e779684f9cfc869",
    "account": "sample",
    "sample": {
      "exercises": 12,
      "catalogueTotal": 588,
      "packsUrl": "https://movekit.com/packs"
    }
  },
  "page": {
    "limit": 1,
    "nextCursor": "eyJvZmZzZXQiOjF9",
    "hasMore": true,
    "total": 12
  }
}
```

## 2. Import the sample

Node:

```bash
t="$(mktemp -d)" && curl -fsSL -o "$t/import.mjs" https://movekit.com/docs/examples/import.mjs && node "$t/import.mjs" --install
node movekit/import.mjs
```

Python:

```bash
t="$(mktemp -d)" && curl -fsSL -o "$t/import.py" https://movekit.com/docs/examples/import.py && python3 "$t/import.py" --install
python3 movekit/import.py
```

You now have `movekit/assets/` with the sample's videos and posters, `movekit/catalog.json` describing them, `movekit/status.json` saying where they came from, and `movekit/README.md` saying how web and mobile apps serve the files. Every file is checked for size and SHA-256. The first command installs the importer itself in `movekit/` with its own `--install`, which never replaces a newer copy or a file of your project. Both [import.mjs](https://movekit.com/docs/examples/import.mjs) and [import.py](https://movekit.com/docs/examples/import.py) use only standard libraries and write the exact same folder.

## 3. Show them

Read `movekit/catalog.json` in your app and [play the clips](https://movekit.com/docs/guides/show-clips). To let a coding agent do all of this, use [the agent prompt](https://movekit.com/docs/agents), the [skill](https://movekit.com/docs/agents/skill) or the [MCP server](https://movekit.com/docs/agents/mcp).

## 4. Add your key

When you own a pack, create a key on your [purchases page](https://movekit.com/account/purchases?from=api#api-keys). It is one click, and it is copied for you. It is shown once, so keep it safe. Put it in `.env.local` in your project, and keep that file out of Git. Don't own a pack yet? [See the packs](https://movekit.com/packs?from=api).

.env.local:

```bash
MOVEKIT_API_KEY=mk_live_...
```

Node:

```bash
node movekit/import.mjs
```

Python:

```bash
python3 movekit/import.py
```

The 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, the `MOVEKIT_ASSETS_DIR` folder 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 the `MOVEKIT_API_KEY` environment variable, which suits CI.
