{"openapi":"3.1.0","info":{"title":"BenjiWorks — Base Wallet Portfolio","version":"1.0.0","description":"One paid service in USDC on Base mainnet via x402: a live USD portfolio snapshot for any Base wallet. $0.01 per call. Reports what the chain and market show; promises no price, value, or sale."},"servers":[{"url":"https://benjiworks-wallet.vercel.app"}],"paths":{"/api/base-wallet-portfolio":{"post":{"summary":"Base Wallet Portfolio","description":"Live USD portfolio snapshot for a Base wallet: native ETH plus ERC20 balances over a curated token list, each holding priced, total USD, and a value-weighted 24h change. Price $0.01 in USDC on Base mainnet, paid via x402.","security":[],"x-payment-info":{"scheme":"exact","network":"eip155:8453","amount":"10000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0xE4BC17f7F9537dd5933Bf33Ed52802D89130fE9c","price":"$0.01","description":"Base Wallet Portfolio — $0.01 per call, Base mainnet USDC","mimeType":"application/json"},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","properties":{"wallet":{"type":"string","description":"Base wallet address (0x + 40 hex characters). Default is the documented example wallet."}}},"example":{"wallet":"0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045"}}}},"responses":{"200":{"description":"Portfolio snapshot.","content":{"application/json":{"schema":{"type":"object","properties":{"wallet":{"type":"string"},"eth":{"type":"object"},"holdings":{"type":"array","items":{"type":"object"}},"totals":{"type":"object"},"counts":{"type":"object"}}}}}},"400":{"description":"Bad request (wallet missing or not a 0x address)."},"402":{"description":"Payment Required — $0.01 USDC on Base mainnet via x402.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}}}}}}}}},"/health":{"get":{"summary":"Health check","responses":{"200":{"description":"Service is up.","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean"},"service":{"type":"string"},"version":{"type":"string"}}}}}}},"security":[]}}}}