Everything you need to deploy websites and apps to live URLs instantly.
Ephemeral Deploy gives you a live, public URL for any website or web app in seconds. No accounts to create, no CLI to install, no repos to connect. You send your code via API, pay a few cents with Solana, and get back a URL that anyone can visit.
Deployments are temporary by design — they live for 1 hour to 7 days, then automatically disappear. Perfect for prototypes, demos, previews, and anything you want to share quickly without committing to permanent hosting.
Organize your project files. This can be anything from a single index.html to a full Next.js application. Base64-encode each file's content.
Send a POST request to /api/deploy with your files and a Solana payment signature.
POST https://ephemeral-deploy.vercel.app/api/deploy
Content-Type: application/json
X-Payment: <solana-tx-signature>
{
"files": {
"index.html": "PGgxPkhlbGxvIFdvcmxkPC9oMT4="
},
"ttl": 24
}The API responds immediately with a deployment URL. Static sites are ready in ~15 seconds. Next.js apps take 30-90 seconds to build.
{
"id": "deploy_abc123",
"url": "https://eph-xyz.vercel.app",
"status": "building",
"expiresAt": "2026-03-12T18:00:00Z",
"framework": "static"
}Ephemeral Deploy uses the x402 protocol — an open standard for HTTP payments using cryptocurrency. No accounts, no API keys. The payment is your authentication.
Send your payment to this Solana address:
2gKLymTMCqNwcQznqXJgi19Naix3xUFwHbivYU2WYTChX-Payment header| Duration | SOL | USD (approx) |
|---|---|---|
| 1 hour | 0.0005 SOL | $0.07 |
| 24 hours | 0.002 SOL | $0.28 |
| 3 days | 0.005 SOL | $0.70 |
| 7 days | 0.01 SOL | $1.40 |
USD prices are approximate based on SOL ≈ $140. The SOL amount is what matters.
If you omit the X-Payment header, you get a 402 Payment Required response with the wallet address, pricing, and instructions.
The API auto-detects your framework from the files you upload. You can also specify it explicitly with the framework field.
| Framework | Auto-detected by | Key files needed |
|---|---|---|
| Next.js | next.config.ts/js/mjs | package.json, tsconfig.json, app/layout.tsx, app/page.tsx |
| Vite | vite.config.ts/js | package.json, index.html, src/main.tsx |
| Astro | astro.config.mjs/ts | package.json, src/pages/index.astro |
| Nuxt | nuxt.config.ts/js | package.json, pages/index.vue |
| Remix | remix.config.js/ts | package.json, app/root.tsx |
| Static | index.html (fallback) | index.html |
Your package.json must include @types/react, @types/node, and typescript in devDependencies. Vercel installs dependencies during build — you don't need to include node_modules.
Create a new deployment.
| Field | Type | Required | Description |
|---|---|---|---|
| files | object | Yes | Map of file paths → base64 content |
| ttl | number | No | Hours to live (1-168, default 24) |
| framework | string | No | nextjs, vite, astro, nuxt, remix, static |
Check deployment status. Returns building, ready, error, or expired.
Service health check. Returns active deployment count.
Machine-readable API documentation as JSON. Ideal for LLM agents.
Full documentation in llms.txt format. Point your AI agent here for complete API knowledge.
node_modules in uploads (dependencies are installed automatically)# Encode your HTML
echo -n '<h1>Hello World</h1>' | base64
# Output: PGgxPkhlbGxvIFdvcmxkPC9oMT4=
# Deploy it
curl -X POST https://ephemeral-deploy.vercel.app/api/deploy \
-H "Content-Type: application/json" \
-H "X-Payment: <solana-tx-sig>" \
-d '{
"files": {
"index.html": "PGgxPkhlbGxvIFdvcmxkPC9oMT4="
},
"ttl": 1
}'# Encode each file and build the JSON payload
# Files needed: package.json, next.config.ts, tsconfig.json,
# app/layout.tsx, app/page.tsx
curl -X POST https://ephemeral-deploy.vercel.app/api/deploy \
-H "Content-Type: application/json" \
-H "X-Payment: <solana-tx-sig>" \
-d '{
"files": {
"package.json": "<base64>",
"next.config.ts": "<base64>",
"tsconfig.json": "<base64>",
"app/layout.tsx": "<base64>",
"app/page.tsx": "<base64>",
"app/api/hello/route.ts": "<base64>"
},
"ttl": 72,
"framework": "nextjs"
}'curl https://ephemeral-deploy.vercel.app/api/status/deploy_abc123