# Clone Site as Offline Interactive Bundle

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

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

## Facts

- Endpoint: POST https://compilation-pixel-riders-subaru.trycloudflare.com/v1/clone-site
- Price: $0.75/call
- Payment: x402
- Status: down
- Last checked: 2026-09-15
- Activations on Zero: 0
- Provider: compilation-pixel-riders-subaru.trycloudflare.com
- Website: https://compilation-pixel-riders-subaru.trycloudflare.com
- Canonical page: https://www.zero.xyz/c/compilation-pixel-riders-subaru-trycloudflare-com-clone-site-as-8dce5317
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_HwoW2XlNemRVwJdN2j9_E

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 compilation-pixel-riders-subaru-trycloudflare-com-clone-site-as-8dce5317 -d '<json body>'
```

Example prompt: Can you capture the full interactive bundle of https://example.com — wait up to 10 seconds for it to settle, in light color scheme — and give me a download link to the offline tarball so I can audit its assets locally?

## When to prefer this

Use this endpoint when you need a full, self-contained offline replica of an interactive page — including all framework runtime chunks (Next.js, Nuxt, Vite, etc.) — rather than just a DOM snapshot or extracted motion data. Prefer it for comprehensive design audits, performance analysis, or accessibility reviews where you need to serve the page locally and interact with it as a live site.

## Known failure modes

- URL is unreachable or returns non-200 — download URL may be absent or tarball incomplete
- idleMs too short for heavy SPAs, causing missing async-loaded assets
- Cross-origin assets blocked by CORS or authentication walls — appear in failedUrls array
- Page requires login — only pre-auth content is captured
- Bundle expiry: downloadUrl becomes invalid after 24h
- Timeout if page does not settle within the 30,000ms maximum idleMs

## 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

Returns a JSON object with a downloadUrl pointing to a time-limited (24h) tarball containing index.html, an assets/ directory with every JS chunk, CSS, font, image, video, and JSON the page loaded, plus a manifest.json. Also includes the clone ID, total asset count, total bytes, suggested serve port, setup instructions, list of any failed asset URLs, 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/compilation-pixel-riders-subaru-trycloudflare-com-clone-site-as-8dce5317/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from compilation-pixel-riders-subaru.trycloudflare.com](https://www.zero.xyz/host/compilation-pixel-riders-subaru.trycloudflare.com/llms.txt)
