# HTML Clean — Grokzilla x402 Microservice

> HTML Clean — Grokzilla x402 Microservice is a paid API for AI agents from grokzilla.shop, paid per call via x402, $0.008/call, status unknown (last checked 2026-09-15).

Cleans and sanitizes raw HTML input via a paid microservice endpoint using the x402 micropayment protocol.

## Facts

- Endpoint: POST https://grokzilla.shop/api/skills/html-clean
- Price: $0.008/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/html-clean-grokzilla-x402-microservice-106763f3
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_TBndWSm5gFBvt9dX8R1QC

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 html-clean-grokzilla-x402-microservice-106763f3 -d '<json body>'
```

Example prompt: Clean this HTML for me — strip out any unsafe tags, scripts, or junk markup so it's safe to render: '<div onclick="evil()"><script>alert(1)</script><p style="color:red">Hello</p></div>'

## When to prefer this

Choose this endpoint when you need a lightweight, pay-per-call HTML sanitization service that integrates natively with x402 micropayment rails — ideal for AI agents that process HTML on-demand without needing a subscription or API key setup. Prefer this over self-hosted sanitizers when you want zero-maintenance, per-call billing at $0.008 USDC.

## Known failure modes

- Invalid or malformed HTML input may cause processing errors
- Missing required 'type' or 'method' fields in input object returns a validation error
- Payment failure via x402 protocol results in a 402 Payment Required response
- Malformed request body causes a 400 Bad Request
- Service unavailability returns a 5xx error

## How this service works

Agent-ready microservices with x402 + Stripe rails, volume primitives, tutorials, and applet UI.

## Output

Returns a JSON object with an 'ok' boolean indicating success and the processed path. The cleaned HTML content is expected in the response body after the x402 micropayment is settled.

## 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"
   ],
   "properties": {
    "body": {
     "type": "object"
    },
    "path": {
     "type": "string"
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "type": "string"
    },
    "bodyType": {
     "type": "string"
    }
   }
  },
  "output": {
   "type": "object",
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "path": "/api/skills/html-clean"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/html-clean-grokzilla-x402-microservice-106763f3/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from grokzilla.shop](https://www.zero.xyz/host/grokzilla.shop/llms.txt)
