# Appwrite Zero

> Appwrite Zero gives you or your coding agent a real Appwrite project with no account and no card. Build for an hour, then claim it to keep everything.

```bash
npx appwrite-cli@latest zero
```

## For coding agents

1. Run `npx appwrite-cli@latest zero --json` to get the manifest as JSON. Without Node.js, call `POST /v1/zero` instead.
2. Build against the `endpoint` and `projectId` it returns. The CLI keeps the API key in its own session, so `npx appwrite-cli@latest` commands work without `login`. The key has every project scope until `expiresAt`.
3. Until the project is claimed, site and function domains are public under a Powered by Appwrite Zero banner. Deployment preview domains open only with the `accessToken`: send it in the `X-Appwrite-Zero-Token` header to reach them. `npx appwrite-cli@latest zero status` prints the time left and the owner link for each domain.
4. When you finish, give the user the site link to open what you built and the `claimUrl` to keep it. The claim link works until `claimBy`.

## Ways in

### CLI

Nothing to install beyond Node.js. Writes appwrite.config.json and signs the CLI in with the project key, so npx appwrite-cli@latest push deploys straight into it.

```bash
npx appwrite-cli@latest zero
```

### HTTP

One public request, no key. The response carries an API key with every project scope until the build window ends.

```bash
curl -X POST \
  https://cloud.appwrite.io/v1/zero \
  -H 'X-Appwrite-Project: console'
```

### MCP

Start the local MCP server without a project or key. It asks for a Zero project and points every other tool at it.

```bash
claude mcp add appwrite -- uvx mcp-server-appwrite
```

## Response

Example `POST /v1/zero` response, with shortened values.

```json
{
  "projectId": "6721f0c4001e8b3a9d52",
  "endpoint": "https://fra.cloud.appwrite.io/v1",
  "apiKey": "standard_8f3c…",
  "consoleUrl": "https://cloud.appwrite.io/console/project-fra-6721f0c4001e8b3a9d52",
  "claimUrl": "https://cloud.appwrite.io/transfer?transferId=6721f0c5…&secret=…",
  "accessToken": "9b2e47d1…",
  "expiresAt": "2026-10-30T17:05:00.000+00:00",
  "claimBy": "2026-10-31T17:05:00.000+00:00"
}
```

| Field | Note |
| --- | --- |
| `apiKey` | Every project scope |
| `claimUrl` | Give this to a human |
| `accessToken` | Opens preview domains until claimed |
| `expiresAt` | End of the build hour |
| `claimBy` | Claim deadline |

## How it works

The project is real from the first request. When the hour is up it pauses with every row, file and deployment intact, and waits a day for you to claim it.

1. **60 minutes.** First, build. Every service answers and the API key has every project scope.
2. **24 hours.** Then it pauses. API calls return zero_expired and nothing is deleted.
3. **Deleted.** After 25 hours, a project nobody claimed is deleted with its data.

Claim it any time in those 25 hours, even during the build hour. Same project, same ID, same API key, now without an expiry, and its domains drop the Zero banner.

## What you get

A Zero project is a normal Appwrite project on a capped plan. What your agent builds is what you keep, with nothing to migrate.

| Service | What works | Before you claim it |
| --- | --- | --- |
| Auth | Email, OAuth, magic links and anonymous sessions | Included |
| Databases | Tables, rows, queries, indexes and permissions | Included |
| Storage | Uploads with image previews and file tokens | 1 bucket |
| Functions | Code in any runtime | 500 runs an hour |
| Sites | A frontend on a real domain, with a Zero banner until claimed | 20 deploys an hour |
| Realtime | Subscriptions over WebSockets | Included |
| Messaging | Email, SMS and push | Included |

## Prompt to hand your agent

```text
Use Appwrite Zero for the backend. Run `npx appwrite-cli@latest zero` to get a real Appwrite project with no account. The project works for 60 minutes, and the output has the endpoint, the project ID and a claim link. Build there, then send me the site link and the claim link so I can keep the project.
```

## FAQ

### Do I need an Appwrite account?

No. The command gives you the project and its API key straight away. You only sign in when you want to keep it.

### Is it really free?

Yes. You never enter a card. An unclaimed project runs on its own Zero plan with hourly caps, so nobody pays for it and it stays free for everyone.

### What happens after 60 minutes?

The project pauses and API calls return zero_expired, but nothing is deleted. You then have 24 hours to claim it from the link you were given. Unclaimed projects are deleted with their data.

### What do I keep when I claim it?

All of it. The project keeps its ID, API key, data, files and deployments, and moves into an organization you own. Its site and function domains drop the Zero banner.

### Who can open my site or function domain?

Anyone. Until you claim the project, its site and function domains show a Powered by Appwrite Zero banner with the time left and a Claim button. Deployment preview domains open only for you: open a preview's owner link once in your browser, or send the accessToken in the X-Appwrite-Zero-Token header from an agent.

### What is limited before I claim it?

One project, and 500 function executions and 20 deployments an hour. You cannot create other projects or organizations from it. Everything else follows the Free plan.

### Can my coding agent use it?

Yes, that is what it is for. An agent can run npx appwrite-cli@latest zero, call POST /v1/zero, or start the Appwrite MCP server without credentials. It gets the endpoint, the key and the claim link, and hands the claim link back to you.

### What if it says to try again later?

Each region holds a fixed number of unclaimed projects, and each network can create five a day. If you hit either limit, try again shortly or sign up to keep building.

## Links

- [HTML](https://appwrite.io/zero)
- [Sign up instead](https://appwrite.io/sign-up)
- [Appwrite for coding agents](https://appwrite.io/for-agents.md)
- [llms.txt](https://appwrite.io/llms.txt)
