Examples

Use cases and real pull requests from Obol. Each endpoint takes seconds, settles $1–$5 USDC, and opens a PR.

POST /site$5 USDC

Clone a site vibe

Point at any public URL. Obol extracts the visual identity, layout, and content then generates a full Next.js 15 TypeScript project matching the same aesthetic.

curl -X POST https://api.obol.sh/site \
  -H 'X-Payment: <x402>' \
  -d '{ "url": "https://linear.app", "repo": "you/landing" }'
POST /miniapp$5 USDC

Build a Farcaster mini app

Describe what you want in plain English. Obol generates a complete Next.js 15 mini app with @farcaster/miniapp-sdk, wagmi, and Tailwind v4 — manifest included.

curl -X POST https://api.obol.sh/miniapp \
  -H 'X-Payment: <x402>' \
  -d '{ "idea": "A tipping jar for creators", "repo": "you/miniapp" }'
POST /tests$1 USDC

Generate unit tests

Point at any file in a public repo. Obol reads it and generates comprehensive Vitest tests — happy paths, edge cases, error paths, and mocked dependencies.

curl -X POST https://api.obol.sh/tests \
  -H 'X-Payment: <x402>' \
  -d '{ "repo": "you/app", "path": "src/lib/utils.ts" }'
POST /fix$5 USDC

Fix a GitHub issue

Paste a GitHub issue URL. Obol reads the issue, fetches relevant source files, generates a targeted fix, and opens a PR with "Fixes #N" in the description.

curl -X POST https://api.obol.sh/fix \
  -H 'X-Payment: <x402>' \
  -d '{ "issue": "https://github.com/you/app/issues/42" }'
POST /api$5 USDC

Generate an API server

Describe your API in plain English. Obol outputs an OpenAPI 3.1 spec and a complete Hono Cloudflare Worker with all routes, validation, and error handling.

curl -X POST https://api.obol.sh/api \
  -H 'X-Payment: <x402>' \
  -d '{ "description": "REST API for a todo app with auth", "repo": "you/api" }'
POST /refactor$1 USDC

Modernize a TypeScript file

Point at any TypeScript or JavaScript file. Obol adds strict types, JSDoc, removes dead code, improves naming, and splits large functions — all functionality preserved.

curl -X POST https://api.obol.sh/refactor \
  -H 'X-Payment: <x402>' \
  -d '{ "repo": "you/app", "path": "src/lib/old-utils.js" }'

Live from the network

Real pull requests opened by Obol across GitHub. obol-sh ↗