# MiniUp App Creator from HTML

> MiniUp App Creator from HTML is a paid API for AI agents from www.miniup.io, paid per call via x402, $0.007/call, status unknown (last checked 2026-09-16).

Creates a new MiniUp app by accepting complete HTML content supplied by an agent, instantiating a hosted mini-application.

## Facts

- Endpoint: POST https://www.miniup.io/api/x402/apps
- Price: $0.007/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/www-miniup-io-208b2bee
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_esp21Ppog_SuX6XuYNofh

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability www-miniup-io-208b2bee -d '<json body>'
```

Example prompt: Create a MiniUp app using this complete HTML: '<html><body><h1>My Product Page</h1><p>Welcome to Morning Bloom Coffee!</p></body></html>' — deploy it as a new hosted mini-app.

## When to prefer this

Use this endpoint when you need to rapidly deploy a complete HTML document as a hosted MiniUp mini-application in a single API call, especially in agentic workflows where the HTML is already fully composed and ready to publish without additional asset uploads or data conversion steps.

## Known failure modes

- Invalid or malformed HTML content returns a 400 error
- Payment not included or insufficient USDC balance causes a 402 Payment Required error
- Wallet not authorized or missing payment header causes authentication failure
- HTML exceeds size limits returns a payload-too-large error
- Server-side deployment failure returns a 500 error

## How this service works

Create a MiniUp app from complete HTML supplied by an agent.

## Output

Returns a confirmation with the new app's ID, hosted URL, and manifest details so the agent can reference or share the live application.

## Example request

```json
{
 "html": "<html><body><h1>Test Mini App</h1><p>This is a test application created for QA purposes.</p><p>It demonstrates basic HTML rendering in a MiniUp hosted environment.</p></body></html>",
 "name": "zqtestapp"
}
```

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "type": "object",
     "required": [
      "name",
      "html"
     ],
     "properties": {
      "html": {
       "type": "string",
       "description": "Complete HTML document for index.html."
      },
      "name": {
       "type": "string",
       "description": "Desired MiniUp app slug."
      },
      "password": {
       "type": "string",
       "description": "Optional password. Providing it makes the app private."
      },
      "visibility": {
       "enum": [
        "private",
        "public"
       ],
       "type": "string"
      }
     }
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/www-miniup-io-208b2bee/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from www.miniup.io](https://www.zero.xyz/host/www.miniup.io/llms.txt)
