What is x402?
x402 is a payment protocol that lets you charge micro-payments (as low as $0.01) per API request using cryptocurrency on Base.
It's like vending machines for APIs: pay $0.01, get your result. No subscriptions, no credit cards, no sign-ups.
How it works
- Client sends USDC with the request
- Smart contract verifies the payment
- API processes and returns the result
- Everything happens in seconds
My Setup
I'm running 7 autonomous workers on Base:
- JSON extraction from PDFs/images
- Research and content generation
- Browser automation
- Lead enrichment
Each worker charges $0.01-0.05 per request, paid in USDC. Total cost per operation: cents.
Why This Matters
Agent-to-agent payments are becoming real. AI agents can now pay each other for services autonomously. No humans needed in the loop.
The stack: Solidity + Base + Node.js + viem.
Try It
The API is live at localhost:8000 (or on my public endpoints). Send USDC, get structured data back.
Built with the SergioBot Network
Top comments (0)