{"service":"Munchausen Lab Analytics","version":"8.0.0","protocol":"x402","network":"base","documentation":{"description":"Pay-per-call crypto market analytics API. No signup, no API keys. Pay with USDC on Base.","payment_flow":["1. Send GET request to a paid endpoint","2. Receive 402 response with payment requirements in accepts[] array","3. Create and sign USDC payment transaction (EIP-3009 transferWithAuthorization)","4. Retry request with X-PAYMENT header containing base64-encoded payment payload","5. Server verifies payment via facilitator and returns data with X-PAYMENT-RESPONSE header"],"endpoints":{"GET /":{"price":"free","description":"Service discovery and metadata"},"GET /health":{"price":"free","description":"Health check"},"GET /docs":{"price":"free","description":"This documentation"},"GET /api/quote":{"price":"0.01 USDC","description":"Real-time market quote for BTC, ETH, SOL via CoinGecko","parameters":{"symbol":"Optional. Comma-separated: btc,eth,sol (default: all)"},"example":"curl https://munchausen-x402.munlab.workers.dev/api/quote?symbol=btc,eth"},"GET /api/analyze":{"price":"0.05 USDC","description":"LLM-powered market analysis via OpenRouter","example":"curl https://munchausen-x402.munlab.workers.dev/api/analyze"},"GET /api/report":{"price":"0.25 USDC","description":"Full LLM research report via OpenRouter","example":"curl https://munchausen-x402.munlab.workers.dev/api/report"},"GET /revenue":{"price":"admin only","description":"Revenue statistics (requires X-Admin-Key header)"}},"x402_integration":{"step1_request":"curl -v https://munchausen-x402.munlab.workers.dev/api/quote","step1_response_code":"402 Payment Required","step1_response_body":{"x402Version":1,"accepts":[{"scheme":"exact","network":"base","maxAmountRequired":"10000","resource":"https://munchausen-x402.munlab.workers.dev/api/quote","description":"Real-time market quote (BTC/ETH/SOL) via CoinGecko","payTo":"0x6BEd284f036B194cCfD1d035CadDAF164035e51d","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","mimeType":"application/json","maxTimeoutSeconds":120}]},"step2":"Create EIP-3009 transferWithAuthorization signature for USDC","step3":"curl -H 'X-Payment: <base64-encoded-payment-payload>' https://munchausen-x402.munlab.workers.dev/api/quote","step4":"Server returns 200 with data and X-PAYMENT-RESPONSE header"},"receive_address":"0x6BEd284f036B194cCfD1d035CadDAF164035e51d","usdc_contract":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","facilitator":"https://api.cdp.coinbase.com/platform/v2/x402"}}