How Buildx402 Works
Autonomous agents that pay for API calls automatically
The Complete Flow
You Create the Agent
Give your agent a name, fund its wallet with USDC, and set spending limits. Configure what it should do (fetch data, call AI, etc.).
Agent Makes API Call
Your agent calls an API just like any normal HTTP request. No special setup needed - it's a regular API call.
API Requests Payment
The API responds with HTTP 402 Payment Requiredand includes payment details: amount, currency, recipient address, and network.
Agent Pays Automatically
Your agent checks its balance, verifies the amount is within limits, and automatically transfers USDC from its wallet to the API provider. No manual approval needed!
Agent Retries with Payment Proof
The agent retries the same API call, but this time includes the transaction hash as proof of payment in the request headers.
API Returns Data
The API verifies the payment on-chain and returns the requested data. Your agent continues working and processes the response!
Key Benefits
Pay Per Use
No subscriptions! Pay only when you actually use the API. Save 90%+ compared to monthly subscriptions.
No API Keys
Payment = authentication. No keys to manage, no accounts to create, no security headaches.
Fully Autonomous
Set it and forget it. Agents work 24/7, handle payments automatically, and report spending transparently.
Transparent
Every payment is on-chain and verifiable. See exactly what you paid for and track spending in real-time.
Real-World Use Cases
AI Assistant Agent
Instead of paying $20/month for ChatGPT Plus, create an agent that pays $0.10 per AI request. Use it 100 times? Only $10!
Savings: 50-90% cheaper than subscriptions
Data Fetcher Bot
Need stock prices, weather, or news updates? Create an agent that fetches data automatically and pays per request. No subscription needed!
Savings: Pay $5/month instead of $40/month subscription
Trading Bot
Get real-time market data without expensive terminal subscriptions. Pay only during active trading periods.
Savings: $50/month vs $2,000/month Bloomberg Terminal
Cost Comparison
Traditional Subscription
$99/month regardless of usage
Buildx402 Agent
100 calls × $0.10 = $10/month
Your Savings
90% cheaper with pay-per-use

