{"endpoint":"/api/wallet/pnl","method":"POST","service_trust":"https://defi-shield-hazel.vercel.app/api/trust-signal","free_check":{"endpoint":"https://defi-shield-hazel.vercel.app/api/free/token-check","method":"POST","price":"FREE","note":"Try before you buy — free basic token safety check with risk math."},"also_available_on":{"virtuals_acp":{"agent":"Authensor","agent_id":18805,"offerings":["pre_trade_safety","token_deep_scan","wallet_report","batch_seal"],"marketplace":"https://app.virtuals.io/acp/scan/agents","note":"Same service, accessible to 18,000+ autonomous agents on Virtuals Protocol."},"mcp_server":{"package":"devsecure-mcp","install":"npx devsecure-mcp","tools":67,"note":"Install as MCP server in Claude, Cursor, or any MCP-compatible client for direct tool access."},"bazaar":"https://defi-shield-hazel.vercel.app/.well-known/x402","agent_card":"https://defi-shield-hazel.vercel.app/.well-known/agent-card.json"},"powered_by":"DeFi Shield by Authensor","price":"$1.00","description":"Calculate detailed profit and loss for a wallet, broken down per token including gas spent.","llm_usage_prompt":"Call this endpoint when you need to evaluate a trader's historical performance or determine if a wallet is profitable before copy-trading it. Returns a per-token P&L breakdown with bought amount, sold amount, and net profit/loss for each token traded, plus total gas expenditure across all transactions. Use this to rank wallets by profitability, filter out losing traders, or calculate ROI for portfolio analysis. Costs $1.00 per call.","params":{"address":{"type":"string","required":true,"description":"The 0x Ethereum wallet address to analyze P&L for"}},"exampleRequest":{"address":"0x1234567890abcdef1234567890abcdef12345678"},"exampleResponse":{"success":true,"data":{"address":"0x1234567890abcdef1234567890abcdef12345678","trades":[{"token":"USDC","bought":"5000","sold":"5200","netPnL":"200"},{"token":"WETH","bought":"2.5","sold":"2.3","netPnL":"-0.2"}],"gasSpent":"0.0345","totalTokensTraded":2}}}