x402 API Live Demo
Interactive demo of the Munchausen Lab x402 API: pay-per-call AI analytics with USDC micropayments on Base. Try free endpoints live.
Pay-per-call AI analytics over the x402 protocol — USDC micropayments on Base. No signup, no KYC, no API keys.
Try it right now (free)
These buttons send real requests to the production API. No wallet or USDC needed.
/api/free
$0.00 live pricesReal-time BTC / ETH / SOL prices. Rate limit: 5 calls/min.
/api/demo
$0.00 AI sampleFree sample AI analysis: real-time prices plus a templated market breakdown. Unlimited.
Paid endpoints (x402 / USDC on Base)
Call any paid endpoint and it answers 402 Payment Required with an exact price. An x402-enabled client pays from its wallet and retries — you receive the data. No accounts anywhere in the loop.
/api/quote
$0.01Market quote with 24h change. Example:
curl "https://api.munchausen.site/api/quote?symbol=BTC"
/api/analyze
$0.05LLM-powered market analysis (sentiment, levels, risks) via OpenRouter.
curl "https://api.munchausen.site/api/analyze?topic=DeFi"
/api/report
$0.25Full LLM research report (150+ lines).
curl -X POST https://api.munchausen.site/api/report \
-H "Content-Type: application/json" \
-d '{"query": "DeFi yield opportunities"}'
How the x402 flow works
- Your agent calls a paid endpoint — no signup, no key.
- The server replies
402with payment requirements (amount, address, network). - The client signs a USDC transfer on Base and retries with the proof header.
- Data comes back. Total overhead: one extra round-trip.
Discovery for agents
Machine-readable discovery
GET / returns full endpoint catalog with pricing. /agent.json and /llms.txt follow agent-discovery conventions. /health for uptime checks.
curl https://api.munchausen.site/