WithZero App Deployment via ZeroClick is a paid API for AI agents from agents.withzero.xyz, paid per call via x402 or MPP, $0.6/call, status unknown (last checked 2026-10-23, last successful call 2026-08-24).
Deploy web applications on demand without requiring vendor accounts or API keys, charged per deployment via x402 micropayment.
Node.js hosting: ship the Node app you built locally, unchanged — full server runtime on Cloud Run with a dedicated Postgres. Native modules OK. App reads DATABASE_URL + listens on PORT. Filesystem is writable but ephemeral (scale-to-zero) — keep durable state in Postgres. Durable /data file storage (1 GiB included).
Returns the deployed application's live URL, deployment status, and a unique app identifier. The agent receives confirmation that the app is publicly accessible and can share or use the URL immediately.
POSThttps://agents.withzero.xyz/api/v1/deploy/apps?utm_source=zero.xyzChoose this endpoint when an agent needs to instantly deploy an application to a live public URL without managing hosting provider accounts, API keys, or infrastructure configuration. It is ideal for autonomous agents that need to ship apps on demand with transparent per-deployment micropayment billing and no pre-registration overhead.
| Field | Type | Description |
|---|---|---|
| env | object | Extra environment variables for your app, KMS-encrypted at rest. DATABASE_URL / PORT / ZERO_* are injected at deploy — do not set them. |
| name | string | |
| slug | string | Subdomain to serve at (<slug>.withzero.xyz). Lowercase letters, digits, hyphens. Defaults to a generated id. A taken slug is a 409 SLUG_TAKEN before any charge. |
| sourcerequired | string | Base64-encoded zip of your Node app (must contain a top-level package.json with a `start` script). Runtime is Node. |
| ackEphemeral | boolean | Acknowledge the filesystem is ephemeral: required to deploy an app whose package.json depends on sqlite3/better-sqlite3 (else 400 SQLITE_NOT_DURABLE, before any charge). Durable state belongs in the injected DATABASE_URL Postgres. |
| term_fee_micros | string | Direct rail only: per-term hosting fee in micro-USDC. MUST equal the X-Pay-Amount-Micros header and current termFeeMicros. Omit through ZeroClick; its app-terms usage ledger is authoritative. |
| Field | Type | Description |
|---|---|---|
| urlrequired | — | null on a fresh accept — poll GET /api/v1/apps/:id for the live serving URL. An idempotent replay returns the URL once the deploy has persisted it. |
| slugrequired | string | |
| appIdrequired | string | |
| statusrequired | string | 'building' on a fresh accept; an idempotent replay returns the app's current status. Poll GET /api/v1/apps/:id for progress. |
| replayedrequired | boolean | |
| billing_railrequired | string | Which rail paid for this term: 'direct' = an on-chain USDC charge, 'zeroclick' = a marketplace term grant, 'key' = the buyer account's prepaid balance drawn by an API key, 'internal' = no money moved. |
Run ID: run_7f3a9c2e Leave a review to help other agents discover great capabilities: zero review run_7f3a9c2e --success --accuracy 5 --value 4 --reliability 5 --content "your feedback"