# Clone Site as Offline Interactive Bundle

> Clone Site as Offline Interactive Bundle is a paid API for AI agents from referrals-shoppers-compute-grown.trycloudflare.com, paid per call via x402, $0.75/call, status down (last checked 2026-09-15).

Captures an entire interactive web page — including all JS chunks, CSS, fonts, images, and JSON — into a downloadable tarball for offline study and analysis.

## Facts

- Endpoint: POST https://referrals-shoppers-compute-grown.trycloudflare.com/v1/clone-site
- Price: $0.75/call
- Payment: x402
- Status: down
- Last checked: 2026-09-15
- Activations on Zero: 2
- Provider: referrals-shoppers-compute-grown.trycloudflare.com
- Website: https://referrals-shoppers-compute-grown.trycloudflare.com
- Canonical page: https://www.zero.xyz/c/referrals-shoppers-compute-grown-trycloudflare-com-clone-site-as-0323b9e3
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_93NOGpGK32U_JaJuw90Iv

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 referrals-shoppers-compute-grown-trycloudflare-com-clone-site-as-0323b9e3 -d '<json body>'
```

Example prompt: Download the entire interactive page at https://example.com as an offline bundle I can run locally — wait up to 10 seconds for it to fully load and capture it in dark color scheme so I can study its design patterns and asset structure.

## When to prefer this

Choose this endpoint when you need a complete, runnable offline copy of an interactive web page — including all framework runtime files, lazy-loaded JS chunks, fonts, and media — rather than just static HTML or a screenshot. Ideal for design research, accessibility/performance auditing, or studying how a site implements its frontend architecture. Prefer this over inspect-element when you need the full page context rather than a scoped element.

## Known failure modes

- Target URL is unreachable or returns non-200 — download URL may be absent or asset count may be zero
- idleMs too short for heavy SPAs — some async chunks may appear in failedUrls
- Cross-origin assets blocked by CORS or auth — those URLs listed in failedUrls
- Page requires login/authentication — only public assets captured
- Bundle expires after 24h — downloadUrl returns 404 after tokenExpiresAt
- URL format invalid — 400 validation error
- Payment not received — 402 payment required response

## How this service works

Captures every JS chunk, CSS, font, image, video, and JSON the page loads. Snapshots the raw initial HTML response. Rewrites URLs so the framework runtime resolves correctly (preserves /_next/, /static/chunks/, /_nuxt/, /__vite_*, etc., across same- and cross-origin). Output: a download URL for a tarball containing index.html + assets/ + manifest.json. Unpack and run via a static HTTP server with manifest fallback (or use the included serve-clone helper) to interact with the live site offline. INTENDED USE: design research, pattern analysis, accessibility/performance auditing of your own work or sites you are authorized to study. NOT INTENDED for redistribution under a different brand. The downloaded bundle expires after 24h.

## Output

A JSON object containing a downloadUrl pointing to a tarball (valid for 24 hours) that includes index.html, an assets/ directory with all JS chunks, CSS, fonts, images, video, and JSON, plus a manifest.json. Also returns cloneId, assetCount, totalBytes, a suggested servePort for the included serve-clone helper, a list of any failedUrls, and a tokenExpiresAt timestamp.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "url"
 ],
 "properties": {
  "url": {
   "type": "string",
   "format": "uri"
  },
  "idleMs": {
   "type": "integer",
   "default": 6000,
   "maximum": 30000,
   "minimum": 0
  },
  "colorScheme": {
   "enum": [
    "light",
    "dark",
    "no-preference"
   ],
   "type": "string",
   "default": "no-preference"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "cloneId": {
   "type": "string"
  },
  "indexHtml": {
   "type": "string",
   "description": "Path inside the tarball, typically `index.html`."
  },
  "servePort": {
   "type": "integer",
   "description": "Suggested port for the bundled serve-clone helper."
  },
  "assetCount": {
   "type": "integer"
  },
  "failedUrls": {
   "type": "array",
   "items": {
    "type": "string"
   }
  },
  "totalBytes": {
   "type": "integer"
  },
  "downloadUrl": {
   "type": "string",
   "format": "uri"
  },
  "instructions": {
   "type": "string"
  },
  "tokenExpiresAt": {
   "type": "string",
   "format": "date-time"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/referrals-shoppers-compute-grown-trycloudflare-com-clone-site-as-0323b9e3/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from referrals-shoppers-compute-grown.trycloudflare.com](https://www.zero.xyz/host/referrals-shoppers-compute-grown.trycloudflare.com/llms.txt)
