# Ankinize > Sync Anki with your own server and give scripts and AI agents a REST API to your flashcards. Ankinize turns anything you read into Anki cards. Free 200 MB, or self-host. Ankinize is an independent project, not affiliated with Anki, Ankitects Pty Ltd or AnkiWeb. - Anki sync: set the custom sync server in Anki to `https://ankinize.com/`. Anki Desktop 2.1.50 and newer, AnkiDroid and AnkiMobile can sync; the client adds `/sync/` and `/msync/` itself. - REST API: `https://ankinize.com/api/v1`, JSON over HTTPS, on the same Collection Anki syncs. Authenticate with an API key sent as `Authorization: Bearer `; key scopes are `sync`, `read` (every GET) and `write` (everything). - TypeScript SDK: `npm install @ankinize/sdk` (or `bun add`). One typed function per REST endpoint, named after the operation; `client.setConfig({ auth: process.env.ANKINIZE_API_KEY })` once, then `await listDecks()`. It sends requests to `https://ankinize.com` unless `baseUrl` says otherwise. Guide: https://ankinize.com/docs/sdk.md - Storage is one number: the Collection plus the full size of every Media File. Plans: Free 200 MB ($0), Pro 1 GB ($5/mo), Max 10 GB ($10/mo). A self-hosted server has no cap. - REST API rate limits per plan: Free 30 requests a minute and 1000 a day, Pro 120 a minute, Max 600 a minute. A write while Anki is syncing answers `423 Locked` with `Retry-After`. - Self-hosting needs one vCPU and 256 MB of RAM; one Compose file starts the app and an S3-compatible store. ## Documentation - [Documentation](https://ankinize.com/docs.md): Documentation for Ankinize: connect Anki, authenticate with API keys, call the REST API and the TypeScript SDK, or self-host the sync server. - [Sync Anki with your own server](https://ankinize.com/docs/sync.md): Point Anki Desktop, AnkiDroid or AnkiMobile at Ankinize with a custom sync server, and learn what Normal Sync and Full Sync do to your Collection. - [Authentication and API keys](https://ankinize.com/docs/authentication.md): Passwords, passkeys, two-factor and API keys: which one to use for the dashboard, for Anki sync and for the REST API, and what each key scope allows. - [REST API reference](https://ankinize.com/docs/api.md): Every Ankinize REST API endpoint for decks, notes, note types and cards, with parameters, responses and runnable cURL, TypeScript and Python examples. - [TypeScript SDK](https://ankinize.com/docs/sdk.md): Call the Ankinize REST API from TypeScript with @ankinize/sdk: typed functions for decks, notes and cards, configured with one API key. - [An AnkiConnect alternative that works without Anki open](https://ankinize.com/docs/ankiconnect-alternative.md): Compare AnkiConnect with the Ankinize REST API: add and search Anki notes from a server, CI or an AI agent with no desktop app running, with a table, code and an action map. - [AI agents and Ankinize](https://ankinize.com/docs/agents.md): Give an AI agent an API key and it creates Anki flashcards, searches notes and reads due cards. Agent skills, a working tool-calling script and rules for safe writes. - [MCP server for Anki flashcards](https://ankinize.com/docs/mcp.md): Connect ChatGPT, Claude, Cursor or any MCP client to your Anki collection: sign in once, then search notes, add flashcards and review cards. One tool per SDK function; read-only on request. - [Build a browser extension that makes flashcards](https://ankinize.com/docs/tutorials/browser-extension.md): A step-by-step tutorial: build a WXT and Base UI browser extension that sends the text you select on any page to Anki as a Basic card through the Ankinize REST API. - [Self-host the Anki sync server](https://ankinize.com/docs/self-host.md): Run Ankinize on a 1 vCPU, 256 MB box with one Compose file: the app and an S3-compatible store, a one-time setup token, and Anki pointed at your domain. ## API and agents - [OpenAPI document](https://ankinize.com/api/v1/openapi.json): Machine-readable description of every REST API endpoint (OpenAPI 3.1). - [API catalog](https://ankinize.com/.well-known/api-catalog): RFC 9727 linkset pointing to the OpenAPI document and the documentation. - [Agent skill: ankinize-sdk](https://ankinize.com/.well-known/agent-skills/ankinize-sdk/SKILL.md): How to use the TypeScript SDK (@ankinize/sdk) as an agent: setup, every function, searches, batches, errors and type-safe names. - [Agent skill: ankinize-api](https://ankinize.com/.well-known/agent-skills/ankinize-api/SKILL.md): How to call the REST API as an agent from any language: auth, conventions and every endpoint. - [Agent skills index](https://ankinize.com/.well-known/agent-skills/index.json): Discovery index for the skills above. - [MCP server](https://ankinize.com/mcp): Model Context Protocol endpoint (Streamable HTTP, stateless). One tool per SDK function; sign in with OAuth or send an API key as a Bearer token. Guide: https://ankinize.com/docs/mcp.md ## Product - [Plans, pricing and FAQ](https://ankinize.com/index.md): Sync Anki with your own server and give scripts and AI agents a REST API to your flashcards. Ankinize turns anything you read into Anki cards. Free 200 MB, or self-host. ## Optional - [All documentation in one file](https://ankinize.com/llms-full.txt): The pages above, concatenated as Markdown. - [Terms of Service](https://ankinize.com/terms.md): The terms for using Ankinize: your account and content, acceptable use, storage and backups, ending your account, and self-hosted servers. - [Privacy Policy](https://ankinize.com/privacy.md): What Ankinize collects, why, who else handles it, how long it is kept, and your rights. Nothing is collected for advertising. - [Cookie Policy](https://ankinize.com/cookies.md): The cookies Ankinize sets, what each one is for, and how to control them. No advertising or tracking cookies.