Your Agent Has Permission. What Does It Actually Buy?
Claude Code auto mode goes default on August 14. Millions of agents will have permission to act autonomously. They will have a spending budget (.agent-budget). They will have payment rails (x402 + USDC).
But most agents still can not answer: what do I actually buy?
Here are 10 working x402 APIs, with copy-paste curl commands. No wallet needed for the first 15 calls per endpoint.
30-Second Setup
echo '{"daily_limit_usdc":5,"max_per_call_usdc":1}' > ~/.agent-budget
Your agent can now spend up to $5/day, max $1 per call.
The Starter Pack
1. Gas Price — $0.01
Current gas prices across Ethereum, Base, Arbitrum, Optimism.
curl -s https://minia2a.uk/x402/gas
2. Polymarket Odds — $0.01
Real-time prediction market odds.
curl -s https://minia2a.uk/x402/polymarket
3. Web Scrape — $0.02
Scrape any webpage to clean text.
curl -s -X POST https://minia2a.uk/x402/web-scrape \
-H "Content-Type: application/json" \
-d '{"url":"https://example.com"}'
4. Token Security Audit — $0.03
Check any ERC-20 token for honeypot risks and contract vulnerabilities.
curl -s https://minia2a.uk/x402/token-security \
-H "Content-Type: application/json" \
-d '{"token":"0x...","chain":"base"}'
5. Captcha Solve — $0.02
Solve reCAPTCHA/hCaptcha challenges.
curl -s -X POST https://minia2a.uk/x402/captcha-solve \
-H "Content-Type: application/json" \
-d '{"url":"https://example.com","sitekey":"SITEKEY"}'
6. ENS Resolve — Free Trial
Resolve .eth names to addresses.
curl -s https://minia2a.uk/x402/ens-resolve \
-H "Content-Type: application/json" \
-d '{"name":"vitalik.eth"}'
7. Screenshot — $0.02
Capture full-page screenshot of any URL.
curl -s -X POST https://minia2a.uk/x402/screenshot \
-H "Content-Type: application/json" \
-d '{"url":"https://example.com"}'
8. Wallet Intelligence — $0.02
Analyze any wallet: age, activity, protocols, risk score.
curl -s https://minia2a.uk/x402/wallet-intel \
-H "Content-Type: application/json" \
-d '{"address":"0x...","chain":"base"}'
9. Crypto Price — $0.01
Real-time price for any cryptocurrency.
curl -s https://minia2a.uk/x402/crypto-price \
-H "Content-Type: application/json" \
-d '{"symbol":"ETH","currency":"USD"}'
10. Sentiment Analysis — $0.01
Analyze text sentiment with confidence scores.
curl -s -X POST https://minia2a.uk/x402/sentiment \
-H "Content-Type: application/json" \
-d '{"text":"Bitcoin just broke ATH"}'
How Auto-Mode Payment Works
| Step | What Happens | Agent Sees |
|---|---|---|
| 1 | Agent calls endpoint (no wallet, no key) |
200 OK + trial data |
| 2 | After 15 free trials, endpoint returns 402 |
402 Payment Required + machine-readable headers |
| 3 | Agent reads headers: amount, chain, token, recipient |
x-402-amount: 1, x-402-chain: base, x-402-token: USDC
|
| 4 | Agent checks .agent-budget: is $0.01 ≤ $1 max? | Within budget → auto-approve |
| 5 | Agent registers (10s, no KYC): gets wallet + 500 credits | POST /api/v1/register-simple |
| 6 | Agent spends credits on API calls | Credits deducted per call |
The 4-Header Check
Before your agent spends its first cent, verify the endpoint is auto-mode ready:
curl -sI https://minia2a.uk/x402/gas | grep x-402-
You should see:
-
x-402-amount— how much this costs (in cents) -
x-402-chain— which blockchain (base, arbitrum, solana) -
x-402-token— which token (USDC) -
x-402-recipient— where to send payment
No headers = no auto-mode payment. The agent literally cannot pay without them.
Security
- Budget enforcement: Agent will not exceed .agent-budget limits
- No API keys: No secrets to leak, no key rotation
- Machine-readable 402: Agent knows exactly what it is paying before it pays
- Immutable receipts: Every payment on Base L2, verifiable on-chain
minia2a is an agent-to-agent API marketplace with trial-first access, live health probes, and machine-readable 402 headers. 800+ services. minia2a.uk
Top comments (0)