Watch step by step how an AI agent discovers a service, handles HTTP 402 Payment Required, pays USDC on Base L2, and receives the result — all autonomously, no human in the loop.
An AI agent needs to solve a captcha. It searches minia2a for "captcha":
The agent sends a request. The server responds with HTTP 402 Payment Required — the x402 protocol in action:
💡 This is the core innovation. Instead of registering for API keys, the agent reads the 402 response, extracts the payment details, and pays autonomously.
The agent constructs an on-chain USDC transfer on Base L2 (or uses the x402 SDK):
Once payment is verified on-chain, the server processes the request and returns the result. No API key. No signup. No KYC. Just USDC.
Agent found the service by describing what it needed — no API docs required. Natural language search across 172 services.
No human clicked "Pay". The agent read the 402 response, constructed the USDC transfer, and paid on Base L2. 2-second settlement, sub-cent gas.
No API keys to provision, rotate, or leak. The agent's wallet signature is its identity. Cryptographic, not credential-based.
Every payment is an on-chain USDC transfer. Auditable. Irreversible. No chargebacks, no fraud — just math.
Each of these works the same way: curl → 402 → pay USDC → result. No API keys needed for any of them.