{"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"},"POST /api/scrape":{"price":"0.005 USDC","description":"Fetch any URL and return clean extracted text (HTML stripped), title, metadata","body":{"url":"https://example.com"},"example":"curl -X POST https://munchausen-x402.munlab.workers.dev/api/scrape -H 'Content-Type: application/json' -d '{\"url\":\"https://example.com\"}'"},"POST /api/fact-check":{"price":"0.02 USDC","description":"LLM fact-check of a claim: verdict (supported/refuted/partially_true/unverifiable), confidence 0-1, reasoning","body":{"claim":"The Eiffel Tower is in London"},"example":"curl -X POST https://munchausen-x402.munlab.workers.dev/api/fact-check -H 'Content-Type: application/json' -d '{\"claim\":\"The Eiffel Tower is in London\"}'"},"POST /api/token-safety":{"price":"0.01 USDC","description":"EVM token rug-pull risk screening: liquidity, volume, pair age, txn counts, heuristic 0-100 risk score, verdict","body":{"address":"0x..."},"example":"curl -X POST https://munchausen-x402.munlab.workers.dev/api/token-safety -H 'Content-Type: application/json' -d '{\"address\":\"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913\"}'"},"GET /api/token-safety/free":{"price":"free (5/day per IP)","description":"Basic EVM token rug-risk check with no payment. Full audit via POST /api/token-safety.","parameters":{"address":"Required. EVM token contract address"},"example":"curl \"https://munchausen-x402.munlab.workers.dev/api/token-safety/free?address=0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913\""},"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"}}