Protection
Get Protection Report
Autonomous protection agent — full wallet analysis and action plan.
Requires x402 payment ($25.00 USDC on Base) OR valid X-API-Key / X-Internal-Key header.
Triages wallet risk and runs the appropriate services:
- Score 90-100: Low risk — health report + recommend alerts
- Score 70-89: Medium risk — health + gas optimization
- Score 50-69: High risk — health + gas optimization + retry bot
- Score 0-49: Critical — all services, urgent flagging
Returns a unified report with all results and prioritized actions ranked by potential value recovered.
get/agent/protect/{address}
Request
- Base URL: https://agenthealthmonitor.xyz (the document declares no server; this is the origin it was published from)
- URL: https://agenthealthmonitor.xyz/agent/protect/{address}
- Auth: none declared
Path parameters
addressstring required
Ethereum wallet address (0x-prefixed, 40 hex chars)
Example:0xde0b295669a9fd93d5f28d9ec85e40f4cb697bae
Response
Successful Response
Example response
{
"report": {
"health_report": {
"address": "0xde0b295669a9fd93d5f28d9ec85e40f4cb697bae",
"health_score": 74.5,
"optimization_priority": "medium",
"total_transactions": 1542,
"successful": 1480,
"failed": 62,
"success_rate_pct": 95.98,
"total_gas_spent_eth": 0.284,
"wasted_gas_eth": 0.019,
"estimated_monthly_waste_usd": 14.3,
"avg_gas_efficiency_pct": 67.3,
"out_of_gas_count": 3,
"reverted_count": 59,
"retry_count": 2,
"top_failure_type": "execution reverted",
"first_seen": "2024-01-15T08:30:00Z",
"last_seen": "2025-04-05T14:22:00Z",
"recommendations": [
{
"category": "gas",
"severity": "high",
"message": "Gas waste detected — 12% of gas spent on reverted transactions"
}
],
"eth_price_usd": 3245.5,
"analyzed_at": "2025-04-06T10:00:00Z"
}
}
}Changes
No recorded changes to this operation across all 1 revision of this API.