Watch x402 in Action
See how an AI agent pays for premium data using HTTP status code 402
1
Request
2
Payment Required
3
Pay
4
Verify
5
Complete
Agent Console
Click "Start Demo" to begin...
Demo Control
Payment Flow
1. Initial Request
Agent requests premium data
↓
2. HTTP 402
Server requests payment
↓
3. Payment Sent
Agent pays instantly
↓
4. Data Delivered
Transaction verified
What Just Happened?
1. The AI agent made a standard HTTP GET request to a premium endpoint.
2. The server responded with HTTP 402 ("Payment Required") along with payment details—amount, currency, and wallet address.
3. The agent automatically paid the requested amount using its built-in wallet (simulated on testnet).
4. The agent retried the request with proof of payment in the headers.
5. The server verified the payment on-chain and delivered the premium data.
This is x402: Payments become just another HTTP interaction. No accounts, no forms, no friction. Perfect for the AI agent economy.