{"endpoint":"/api/protocol/compare","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":"$0.50","description":"Compare 2-5 DeFi protocols side by side on TVL, chain diversification, recent performance, and audit status.","llm_usage_prompt":"Call this endpoint when choosing between competing DeFi protocols for capital deployment, or when building comparison reports for users. Provide an array of 2-5 protocol slugs (e.g. ['aave', 'compound', 'maker']) and receive a side-by-side comparison with each protocol's TVL, category, supported chains, chain count, 1d/7d/1m TVL percentage changes, and audit status. Also returns rankings sorted by TVL and by chain diversification. Use this to recommend the safest or most diversified protocol in a category, detect which protocol is gaining or losing TVL fastest, or build competitive intelligence dashboards. Costs $0.50 per call.","params":{"protocols":{"type":"string[]","required":true,"description":"Array of 2-5 protocol slugs to compare (e.g. ['aave', 'compound', 'maker'])"}},"exampleRequest":{"protocols":["aave","compound","lido"]},"exampleResponse":{"protocol_count":3,"comparison":[{"name":"Aave","slug":"aave","tvl":12000000000,"category":"Lending","chains":["Ethereum","Polygon","Avalanche"],"chain_count":8,"change_1d":1.2,"change_7d":3.5,"audit_count":2,"safety_score":85,"symbol":"AAVE"}],"recommended":"Aave","recommended_reason":"Highest safety score (85/100) based on TVL, trends, audits, and chain diversification","rankings":{"by_safety_score":[{"name":"Aave","safety_score":85}],"by_tvl":[{"name":"Aave","tvl":12000000000}],"by_chain_diversification":[{"name":"Aave","chain_count":8}],"by_7d_trend":[{"name":"Aave","change_7d":3.5}]},"ranking_criteria":"Safety score combines: TVL size, TVL trend, audit count, chain count","response_time_ms":350}}