# Obol Website Clone to TypeScript Site PR

> Obol Website Clone to TypeScript Site PR is a paid API for AI agents from api.obol.sh, paid per call via x402, $5/call, status unknown (last checked 2026-10-13).

Takes a website URL, clones its visual design and structure into a TypeScript site, and opens a GitHub pull request on a target repo

## Facts

- Endpoint: POST https://api.obol.sh/site?utm_source=zero.xyz
- Price: $5/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/obol-website-clone-to-typescript-site-pr-f4b4bf60
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Va5sMbpeTGbrxrrloQtx7

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 obol-website-clone-to-typescript-site-pr-f4b4bf60 -d '<json body>'
```

Example prompt: Clone the design and layout of https://stripe.com into a TypeScript site and open a pull request on my GitHub repo acme-corp/my-site — notify me at dev@acme.com when the PR is ready.

## When to prefer this

Use this endpoint when you want to automatically recreate the look and feel of an existing live website as a TypeScript codebase and have it delivered as a pull request to a GitHub repository, without manually writing code or setting up a project structure.

## Known failure modes

- Target URL is unreachable or returns non-200 — generation may fail or produce incomplete output
- GitHub repo does not exist or credentials are insufficient — PR cannot be opened
- Repo format is invalid (not owner/repo) — request rejected with validation error
- Email address is malformed — notification cannot be sent but generation may still proceed
- Target site uses heavy JavaScript rendering that cannot be crawled — output may be incomplete

## How this service works

Obol: Website vibe → TypeScript site → GitHub PR — $5 USDC

## Output

Returns the URL of the opened pull request, the URL of the forked repository, a list of file paths written to the branch, and the branch name on the fork where the generated TypeScript site lives.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "url",
  "repo"
 ],
 "properties": {
  "url": {
   "type": "string",
   "description": "URL of the site to clone (e.g. https://example.com)"
  },
  "repo": {
   "type": "string",
   "description": "Target GitHub repo in owner/repo format"
  },
  "email": {
   "type": "string",
   "description": "Email address to notify when PR is ready"
  },
  "branch": {
   "type": "string",
   "description": "Branch to base the PR on (defaults to repo default)"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "pr": {
  "type": "string",
  "description": "URL of the opened pull request"
 },
 "fork": {
  "type": "string",
  "description": "URL of the forked repository"
 },
 "files": {
  "type": "array",
  "description": "File paths written to the branch"
 },
 "branch": {
  "type": "string",
  "description": "Branch name on the fork"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/obol-website-clone-to-typescript-site-pr-f4b4bf60/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.obol.sh](https://www.zero.xyz/host/api.obol.sh/llms.txt)
