x402-style payments · Base quotes · KeeperHub handoffs

Paid API rails for agents.

Pay per request. Get live Base quotes. Send policy-checked handoffs.

$ curl -i /quote?sell=USDC&buy=CBBTC&amount=100
HTTP/2 402 Payment Required

$ curl -H 'x-payment: demo-paid' /quote?sell=USDC&buy=CBBTC&amount=100
{ "payment": { "status": "settled" }, "quote": { "buy": "CBBTC" } }

402 first

Unpaid calls get a machine-readable payment challenge.

Live quotes

USDC → cbBTC on Base, using the real cbBTC contract.

Safe handoff

Paid quotes become policy-checked KeeperHub payloads.

One paid quote. One handoff.

cbBTC: 0xcbB7C0000aB88B473b1f5aFd9ef808440eed33Bf

01Request quote
02Receive 402
03Pay request
04Get quote
05Prepare handoff

Try it.

Live API: https://agentpay-router-zeta.vercel.app

curl https://agentpay-router-zeta.vercel.app/health
curl -i 'https://agentpay-router-zeta.vercel.app/quote?sell=USDC&buy=CBBTC&amount=100'
curl -H 'x-payment: demo-paid' 'https://agentpay-router-zeta.vercel.app/quote?sell=USDC&buy=CBBTC&amount=100'
POST /keeperhub/prepare-execution