Receipts

Multimodal utilities for AI agents.

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.

⚡ Try on x402scan 📋 API Docs
Live requestcurl
# 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
ReceiptGET /jobs/{job_id} · HTTP 200
{
  "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."
  }
}
Sign one USDC payment, get a receipt 💳
Connect a wallet, pick an endpoint, supply your input. The whole 402→sign→202→poll cycle happens in your browser. Costs $0.10–$0.50 in USDC on Base.

1. Connect & pick

No wallet connected

2. Receipt

Pick an endpoint, fill the form, sign the payment. The schema-validated JSON receipt renders here.
Six utilities 🛠️
Image, document, and video intelligence—each returning schema-validated JSON you can build on.
🔍 Fact Checker $0.15
Every factual claim, verified. Confidence-rated verdicts so you know what’s real.
Example Output
“Founded in 1913” → True
97%
“$750M in revenue” → Mostly True
82%
“Outsells every competitor” → Misleading
58%
🧢 Ad Debunker $0.15
Every ad claim, checked against the evidence. A verdict for every promise.
Example Output
✓ “Clinically tested” — TRUE
⚠ “10x more effective” — MISLEADING
✗ “FDA approved” — FALSE
🛍️ Product ID $0.25
Every product shown or mentioned—brand, category, and what it’ll cost you.
Example Output
CeraVe Moisturizing Cream$14.99
The Ordinary Niacinamide$7.90
Dyson Airwrap$499–$599
📄 Scan Style $0.50
Flatten and digitize a photographed document—passport, receipt, ID, any paper.
Example Output
Input Angled phone photo
Output Flat PNG scan (2K)
Format image/png, base64
🎬 Video Analysis $0.10
Full content breakdown—transcript, scenes, topics, sentiment, and key moments.
Example Output
Topics Beauty, Skincare, Review
Sentiment Positive
Duration 47s · 3 scenes
💇 Hair Formula $0.50
Face analysis + 3 personalized haircut recipes with style cards you can show a barber.
Example Output
Face shape Sharp jaw, wide cheekbones
Recipe 1 Textured Quiff
Recipe 2 Crew Cut
Recipe 3 Slick Back
Cost per call vs alternatives 💰
Same workload. We do the math so you don’t have to. Public list prices, no negotiated tiers.
🔍 /verify
Receipts
$0.15
GPT-4o equivalent
$0.054
5 video frames + 3 web searches + prompt
comparable
🧢 /ad-debunk
Receipts
$0.15
GPT-4o equivalent
$0.054
5 video frames + 3 source lookups + prompt
comparable
🛍️ /product-id
Receipts
$0.25
GPT-4o equivalent
$0.092
30 video frames at 1 fps, high detail
comparable
🎭 /pfp
Receipts
$0.50
Nano Banana Pro raw
$0.30
single 2K image edit (model only)
comparable
Prices as of 2026-04-26. Source: OpenAI pricing. GPT-4o costs cover raw API tokens only — not orchestration, web search overage, schema validation, or x402 billing infrastructure. Receipts price is flat per successful call with all of that included.
🔍 /verify walkthrough
A full request lifecycle—from POST to schema-validated receipt. Real credentials, real response.
1 — POST the claim source
RequestPOST /verify
curl -X POST https://api.leoclaw.cc/verify \
  -H "Content-Type: application/json" \
  -d '{
    "url": "https://www.tiktok.com/@brand/video/7390218845671298599"
  }'
2 — Handle the 402
ResponseHTTP 402
{
  "x402Version": 1,
  "accepts": [{
    "scheme":   "exact",
    "network":  "base-mainnet",
    "maxAmount": "150000",  // $0.15 USDC (6 decimals)
    "asset":    "0x833589f..."  // USDC on Base
  }]
}
3 — Pay and re-send
ResponseHTTP 202 Accepted
{
  "job_id":   "7f3a2c91-8b1c-4f5d-9e2a-bc110a4d6f77",
  "poll_url": "/jobs/7f3a2c91-8b1c-4f5d-9e2a-bc110a4d6f77",
  "status":  "queued"
}
4 — Poll until complete
PollGET /jobs/{job_id}
curl https://api.leoclaw.cc/jobs/7f3a2c91-8b1c-4f5d-9e2a-bc110a4d6f77
5 — Schema-validated receipt
Final ResponseHTTP 200
{
  "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."
  }
}
Rendered receipt
“Founded in 1913” → True
97%
“$750M annual revenue” → Mostly true
82%
“Outsells every competitor” → Mostly false
71%
Overall credibility: medium
The same JSON, rendered. Drop into a UI, score a feed, or surface verdicts inline—every field is in the schema at /openapi.json.
🎭 /pfp walkthrough
Editorial portrait from a face photo. Identity preserved by face-embedding gate.
1 — POST the face photo
RequestPOST /pfp
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"
  }'
2 — Pay the $0.50, poll /jobs/:id
3 — Receive the receipt
Receipt200 OK
{
  "id": "j-abc123",
  "status": "complete",
  "endpoint_path": "/pfp",
  "result": {
    "image_b64": "<base64 JPEG bytes>",
    "mime_type": "image/jpeg"
  }
}
Editorial PFP example output
The x402 loop 🔄
Same pattern for every endpoint. Four steps, no account required.
📤
POST
Send request to any endpoint
💳
402
Receive payment requirements
Pay
Sign USDC transfer with wallet
🧾
Receipt
Get schema-validated JSON
Any endpointcurl
# 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
TypeScript / JS
npm install @coinbase/x402
Python
pip install x402
AI Agents
npx skills add coinbase/agentic-wallet-skills
For agent operators 🤖
Wire Receipts into any agent runtime. Coinbase agent-skills CLI is the fastest path; bring-your-own client also works in TS, Python, Rust, and Go.

Coinbase agent-skills (fastest)

Drop-in skills for any Vercel-Skills-CLI-compatible runtime. Authenticate, fund, then pay any x402 endpoint with one command.

Install & callbash
# 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)

TypeScript / JavaScript

Use @x402/fetch to wrap any fetch call. EVM signing via @x402/evm + viem; Solana via @x402/svm.

Server-side examplenode
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"

Other languages

x402 is multi-language out of the box.

  • · Python: pip install x402  PyPI
  • · Rust: cargo add x402-rs  crates.io
  • · Go: go get github.com/coinbase/x402/go  pkg.go.dev

Tool-use schema

For 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

What is a receipt? 🧾
Every API call produces one atomic unit of work—a receipt.
🧾
Schema-validated JSON
Every response is typed, structured, and validated against the endpoint’s schema. No parsing. No guessing. Your agent gets a contract, not a blob.
Payable via x402
Payment happens at the HTTP layer. Send the request, get a 402 with payment requirements, pay once, re-send. Wallet is your credential—no accounts, no API keys.
📎
Attribution included
Every receipt carries a receipt_id, payer address, and timestamp. Auditable provenance baked in.
USDC. Three networks. 💸
Pay per request. No subscriptions, no tiers, no cap.
B
Base
USDC · EVM
S
Solana
USDC · SVM
T
Tempo
USDC · MPP
Powered by x402 · MPP · Distributed via Pyrimid
Machine-readable from day one 🤖
Standard protocols so agents can discover, authenticate, and pay without configuration.
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