Schema-validated, paid per call.
Verify claims, debunk ads, identify products, scan documents, analyze video, recommend haircuts. $0.10–$0.50 per call. No keys, no signup. USDC via x402 on Base, Solana, or Tempo.
# POST /verify with a video URL (or any payload — same x402 lifecycle) curl -X POST https://api.leoclaw.cc/verify \ -H "Content-Type: application/json" \ -d '{"url": "https://www.tiktok.com/@user/video/12345"}' # 1. Server responds 402 with payment requirements (USDC on Base/Solana/Tempo) # 2. Sign the USDC transfer with your x402 client, set X-Payment header, re-send # 3. Server responds 202 with { job_id, status: "queued", ... } # 4. Poll GET /jobs/{job_id} until status == "complete" — envelope below
{ "job_id": "7f3a2c91-8b1c-4f5d-9e2a-bc110a4d6f77", "endpoint_path": "/verify", "status": "complete", "created_at": "2026-04-26T12:00:00Z", "completed_at": "2026-04-26T12:00:14Z", "cost_usd": 0.15, "result": { "claims": [ { "claim": "Loses 10 lbs in 30 days", "verdict": "mostly_false", "explanation": "Published trials of comparable formulations show 2–4 lb median over 30 days, not 10.", "confidence": 0.82 }, { "claim": "Clinically proven", "verdict": "unverifiable", "explanation": "No published trial cited; only manufacturer-funded internal data referenced.", "confidence": 0.94 } ], "overall_credibility": "low", "summary": "Two claims tested; one mostly false, one unverifiable. Overall credibility: low." } }
This authorizes a USDC transfer of the amount above. Not a card charge. The signature is verified before the API runs.
curl -X POST https://api.leoclaw.cc/verify \ -H "Content-Type: application/json" \ -d '{ "url": "https://www.tiktok.com/@brand/video/7390218845671298599" }'
{ "x402Version": 1, "accepts": [{ "scheme": "exact", "network": "base-mainnet", "maxAmount": "150000", // $0.15 USDC (6 decimals) "asset": "0x833589f..." // USDC on Base }] }
{ "job_id": "7f3a2c91-8b1c-4f5d-9e2a-bc110a4d6f77", "poll_url": "/jobs/7f3a2c91-8b1c-4f5d-9e2a-bc110a4d6f77", "status": "queued" }
curl https://api.leoclaw.cc/jobs/7f3a2c91-8b1c-4f5d-9e2a-bc110a4d6f77
{ "job_id": "7f3a2c91-8b1c-4f5d-9e2a-bc110a4d6f77", "endpoint_path": "/verify", "status": "complete", "created_at": "2026-04-26T12:00:00Z", "completed_at": "2026-04-26T12:00:18Z", "cost_usd": 0.15, "result": { "claims": [ { "claim": "Founded in 1913", "verdict": "true", "explanation": "Confirmed against company history page and SEC filings.", "confidence": 0.97 }, { "claim": "$750M annual revenue", "verdict": "mostly_true", "explanation": "Last public 10-K reports $682M; trailing 12-month estimates land near $750M.", "confidence": 0.82 }, { "claim": "Outsells every competitor in the segment", "verdict": "mostly_false", "explanation": "Two competitors report higher unit volume in the most recent IRI panel.", "confidence": 0.71 } ], "overall_credibility": "medium", "summary": "Three claims tested. One true, one mostly true, one mostly false. Mixed credibility." } }
/openapi.json.curl -X POST https://api.leoclaw.cc/pfp \ -H "Content-Type: application/json" \ -d '{ "image_b64": "<base64-encoded JPEG of your face photo>", "clothing_style": "royal blue long-sleeved polo", "color_palette": "terracotta", "pose": "hand-on-jaw" }'
{ "id": "j-abc123", "status": "complete", "endpoint_path": "/pfp", "result": { "image_b64": "<base64 JPEG bytes>", "mime_type": "image/jpeg" } }
# 1. POST → get 402 with payment requirements curl -i -X POST https://api.leoclaw.cc/hair-formula \ -H "Content-Type: application/json" \ -d '{"image_b64": "..."}' # 2. Sign payment with x402 client, add X-Payment header # 3. Re-send with X-Payment → 202 + job_id # 4. Poll /jobs/:id until status == "done" → receipt JSON
npm install @coinbase/x402
pip install x402
npx skills add coinbase/agentic-wallet-skills
Drop-in skills for any Vercel-Skills-CLI-compatible runtime. Authenticate, fund, then pay any x402 endpoint with one command.
# Install Coinbase agent-wallet skills npx skills add coinbase/agentic-wallet-skills # Authenticate + fund (one-time) npx [email protected] authenticate npx [email protected] fund # Call any Receipts endpoint with auto-payment npx [email protected] x402 pay https://api.leoclaw.cc/verify \ -X POST -d '{"url":"https://www.tiktok.com/@x/video/123"}' \ --max-amount 200000 # --max-amount in USDC atomic units (1000000 = $1.00)
Use @x402/fetch to wrap any fetch call. EVM signing via @x402/evm + viem; Solana via @x402/svm.
import { wrapFetchWithPayment } from "@x402/fetch"; import { createSigner } from "@x402/evm"; const signer = createSigner({ privateKey: process.env.WALLET_PRIVATE_KEY }); const fetchWithPay = wrapFetchWithPayment(fetch, signer, { maxAmount: 200000n }); const r = await fetchWithPay("https://api.leoclaw.cc/verify", { method: "POST", headers: { "Content-Type": "application/json" }, body: JSON.stringify({ url: "https://..." }), }); const { job_id, poll_url } = await r.json(); // poll poll_url until status === "complete"
x402 is multi-language out of the box.
pip install x402 PyPIcargo add x402-rs crates.iogo get github.com/coinbase/x402/go pkg.go.devFor OpenAI / Anthropic tool-use definitions, point the agent at https://api.leoclaw.cc/openapi.json — the OpenAPI spec describes every endpoint, its input schema, and its $ price.
See also: /.well-known/x402 · /llms.txt · agentic-wallet-skills · x402 protocol
receipt_id, payer address, and timestamp. Auditable provenance baked in.| Path | Format | Purpose |
|---|---|---|
| /.well-known/x402 | JSON | Payment requirements manifest—networks, assets, endpoint prices |
| /openapi.json | OpenAPI 3.1 | Full schema for all endpoints, request/response types |
| /llms.txt | Text | LLM-optimized description for agent context injection |
| /agents.json | JSON | Agent skill manifest for tool-use-compatible agents |
| /.well-known/ai-plugin.json | JSON | Plugin manifest for ChatGPT-style plugin discovery |