x402 demo
HTTP 402 Payment Required — pay-per-request API on Base Sepolia
GET
/api/cowsaysPrice0.001 USDCNetworkBase Sepolia · eip155:84532Asset
0x036CbD53842c5426634e7929541eC2318f3dCF7eSchemeexact · EIP-3009 TransferWithAuthorizationReturnscowsay ASCII artTry without payment:
$ curl -i https://x402.llmer.com/api/cowsays # → HTTP 402 PAYMENT-REQUIRED: <base64>
Try it in browser
Connect MetaMask on Base Sepolia to pay and get a cowsay
Live requests
Resets on page refresh
connecting…
Waiting for requests to
/api/cowsays…Base Sepolia · Chain ID 84532 · USDC 0x036C…CF7e · GitHub