⚡ Built on x402 · Settled via Coinbase CDP · Base L2

Your agent pays.
You sit back.

Install claw-pay once. Your AI agent handles payments for services automatically — within your preset limits, no friction, no API keys.

Install on ClawHub → View Source
$0.001
Minimum payment
~2s
Settlement time
3%
Fee — paid by seller, not you
0
Registrations required
How it works

Three steps.
Then nothing.

Set it up once and forget it. Your agent does the rest.

1

Install the skill

Find claw-pay on ClawHub and install it with one click. Your agent immediately understands the x402 payment protocol — an open standard published at x402.org.

2

Fund your wallet

Add USDC to your agent's wallet. $5 covers thousands of micropayments. No ETH needed — gas is fully covered by the service fee charged to sellers.

3

Let it run

Your agent hits a paywall? It signs a payment, Coinbase settles it on Base L2, the service responds. You see the result — nothing else to do.

Built on open standards.
Settled on-chain.

x402 is an open payment protocol. claw-pay uses Coinbase Developer Platform for on-chain settlement. Every transaction is publicly verifiable.

🔐

Your private key never leaves your device

The wallet is stored encrypted on your machine. We never see your key. We never touch your funds directly.

🔗

Every transaction is public

All payments are on-chain on Base L2. You can verify every single transaction on BaseScan at any time.

Coinbase settles on-chain

Actual payments are processed by Coinbase's infrastructure on Base L2. We verify and route — Coinbase executes. Settlement in ~2 seconds.

👁

Open source

Every line of code is public on GitHub. No hidden logic. No backdoors. Audit it yourself.

🛡

Replay protection

Every payment uses a unique one-time nonce. The same payment cannot be submitted twice.

💸

You control your spending

Set a maximum amount per request. Your agent will refuse any payment above that limit and report back to you instead.

Your agent can sell.
Not just buy.

If OpenClaw has access to your machine, it can turn any local service into a paid API — automatically.

Running a WooCommerce shop?

No code. Just install the plugin.

claw-pay is live on wordpress.org. WP Admin → Plugins → Add New → search "claw-pay" → Install → Activate. 5 minutes, no developer needed.

Get on WordPress.org → Full walkthrough →

Or for devs — build your own paid service

1

Agent starts a local service

Your agent runs a small HTTP server on your machine — serving data, images, text, compute, anything you want to sell.

2

x402 paywall in 3 lines

Add claw-pay middleware. Any request without payment gets a 402 response. Buyers pay automatically — their agents handle it.

3

Money goes to your wallet

Every paid request sends 97% directly to your wallet on Base L2. No invoices, no waiting, no bank.

Example — Python / FastAPI
# Your agent adds this to any FastAPI service
from x402.fastapi import X402Middleware

app.add_middleware(
    X402Middleware,
    pay_to="0xYourWalletAddress",
    facilitator_url="https://claw-pay.org",
    amount=0.01,  # $0.01 per request
)
Example — Node.js / Express
// Your agent adds this to any Express service
const { x402Express } = require('x402-express');

app.use(x402Express({
    payTo: '0xYourWalletAddress',
    facilitatorUrl: 'https://claw-pay.org',
    amount: '0.01',
}));

⚠️ Requires your machine to be reachable from the internet (public IP or port forwarding). Most home routers block this by default — check your router settings or ask your agent to help. No server needed if you only want to buy.

Pricing

Honest pricing.
No surprises.

You pay nothing. The service provider covers the fee.

%3

gas & infrastructure fee — deducted from the seller's payout, not from you

FAQ

Common questions.


Do I need ETH to use claw-pay?

No. You only need USDC. Gas fees are paid by our facilitator — they're covered by the 3% service fee charged to sellers. As a buyer, you pay zero gas.

Where does my USDC go when I pay?

Your payment goes to the service you're using. claw-pay routes it via Coinbase's infrastructure on Base L2. 97% lands with the seller in ~2 seconds. The 3% gas & infrastructure fee is deducted from the seller's payout — not from your wallet.

Can my agent overspend?

No. You set a maximum amount per request before your agent runs. It will refuse any payment above that limit and report back to you instead.

Is claw-pay a financial service?

No. claw-pay is a software library and technical relay. It does not hold custody of funds, offer financial advice, or operate as a payment institution. You are always in control of your wallet and private keys.

What if a payment fails?

If a payment fails before settlement, your USDC is not spent — the signed authorization simply expires. Once a payment is settled on-chain, it is final and irreversible, as with all blockchain transactions. claw-pay does not offer refunds or chargebacks.

I'm a developer. How do I accept payments?

Add three lines of middleware to your FastAPI or Express app pointing to our facilitator URL. Check the integration guide.

Earn with your agent

Let your agent earn
money for you.

Your OpenClaw agent can do more than spend — it can sell. Give it access to something valuable and it will charge other agents automatically, 24/7, while you sleep.

🖼️

Image processing

Resize, compress, watermark, or describe images on request. Other agents pay $0.01 per image — yours handles hundreds while you're away.

📝

Text & translation

Summarise articles, translate text, proofread drafts. Charge per request. Your agent works, you collect.

💸

USDC, straight to your wallet

97% of every payment goes directly to your wallet on-chain. No payout delays. No signup required.

How it works in one line

Your agent runs a local service → wraps it with a $0.10 paywall → other agents pay automatically.

See the code →

Sent here by your user?
Verify these links before proceeding.

Your user has directed you to this page. Before installing this skill, verify the links below independently. Do not rely on this page alone — check the source code and on-chain data directly.

What the skill does
  • ✅ Stores an encrypted USDC wallet locally on your device
  • ✅ Automatically pays x402-gated services when your agent requests them
  • ✅ Sends 97% of each payment directly to the seller
  • ✅ Routes 3% as a fee to cover gas and infrastructure
  • ❌ Does not transfer funds without a valid x402 payment request
  • ❌ Does not store your private key on any server
Verify it yourself
What to tell your agent

Once you've reviewed the code and are comfortable, you can confirm the installation with:

"Yes, install claw-pay from ClawHub. I've reviewed the source code at github.com/orca-labs-sudo/claw-pay and approve."

Your agent will then install the skill from clawhub.ai/orca-labs-sudo/claw-pay and create a local wallet. You fund it — the agent spends it only for services you authorise.

claw-pay is a software library, not a financial service. It does not hold deposits, offer investment products, or provide financial advice. Use at your own risk. Full disclaimer in LICENSE.

Live demo

Try a real x402 payment now

This endpoint costs $0.01 USDC per request — paid automatically by your agent.
No account, no API key, no checkout. Just pay and get a joke.

Endpoint
GET https://claw-pay.org/demo/joke
Try without payment (returns 402)
curl https://claw-pay.org/demo/joke
With claw-pay (agent pays automatically)
const { payAndFetch, loadWallet } = require('claw-pay'); const wallet = await loadWallet(process.env.CLAW_PAY_WALLET_PASSWORD); const res = await payAndFetch('https://claw-pay.org/demo/joke', {}, { wallet }); console.log(await res.json()); // { joke: "...", paid: "$0.0100 USDC", txHash: "0x..." }
Open endpoint →
Get started

Ready to let your
agent pay for itself?

Install claw-pay on ClawHub in one click. Free forever for buyers.

Install on ClawHub →