# Agent Health Monitor – Base Wallet Health Analyzer

> Agent Health Monitor – Base Wallet Health Analyzer is a paid API for AI agents from agenthealthmonitor.xyz, paid per call via x402, $0.5/call, status unknown (last checked 2026-09-14).

Analyzes a Base L2 wallet address and returns a composite health score, gas efficiency metrics, failure analysis, and actionable optimization recommendations.

## Facts

- Endpoint: GET https://agenthealthmonitor.xyz/health/*
- Price: $0.5/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agent-health-monitor-base-wallet-health-analyzer-fd2974bc
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap__5bvGdZO8D5yyi3qqdDiR

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability agent-health-monitor-base-wallet-health-analyzer-fd2974bc
```

Example prompt: Can you run a full health check on my Base agent wallet at 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045 and tell me the health score, success rate, how much gas has been wasted, and what I should fix first?

## When to prefer this

Use this endpoint when you need a comprehensive, multi-dimensional diagnostic of a Base L2 wallet's on-chain behavior — especially for AI agent wallets that execute transactions autonomously. Prefer this over raw blockchain explorers when you want pre-computed health scores, failure categorization, and prioritized recommendations in a single API call rather than raw transaction data.

## Known failure modes

- Invalid or malformed wallet address returns an error status
- Wallet address with no transaction history may return empty or minimal report
- Rate limiting or payment failure (x402) if USDC payment not attached
- Network issues fetching on-chain data from Base L2 may cause timeouts
- Very new wallets with few transactions may produce low-confidence scores

## How this service works

Base blockchain agent wallet health analyzer. Returns health score, gas efficiency, failure analysis, and optimization recommendations for any Base L2 wallet address.

## Output

Returns a JSON report containing: composite health score (0–100), total/successful/failed transaction counts, success rate percentage, reverted/out-of-gas/nonce-gap counts, retry count, total and wasted gas in ETH, estimated monthly waste in USD, first/last seen dates, whether the address is a contract, optimization priority level (CRITICAL/HIGH/MEDIUM/LOW), and an array of categorized actionable recommendations with severity levels.

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "schema": {
  "type": "object",
  "properties": {
   "report": {
    "type": "object",
    "properties": {
     "failed": {
      "type": "integer"
     },
     "address": {
      "type": "string",
      "description": "Wallet address analyzed"
     },
     "last_seen": {
      "type": "string"
     },
     "first_seen": {
      "type": "string"
     },
     "successful": {
      "type": "integer"
     },
     "analyzed_at": {
      "type": "string"
     },
     "is_contract": {
      "type": "boolean",
      "description": "Whether address is a smart contract"
     },
     "retry_count": {
      "type": "integer"
     },
     "health_score": {
      "type": "number",
      "description": "Composite health score 0-100"
     },
     "eth_price_usd": {
      "type": "number"
     },
     "reverted_count": {
      "type": "integer"
     },
     "wasted_gas_eth": {
      "type": "number",
      "description": "ETH wasted on failed transactions"
     },
     "nonce_gap_count": {
      "type": "integer"
     },
     "recommendations": {
      "type": "array",
      "items": {
       "type": "object",
       "properties": {
        "message": {
         "type": "string"
        },
        "category": {
         "type": "string"
        },
        "severity": {
         "type": "string"
        }
       }
      },
      "description": "Actionable optimization recommendations"
     },
     "out_of_gas_count": {
      "type": "integer"
     },
     "success_rate_pct": {
      "type": "number",
      "description": "Success rate percentage"
     },
     "top_failure_type": {
      "type": "string"
     },
     "total_transactions": {
      "type": "integer",
      "description": "Total outgoing transactions"
     },
     "total_gas_spent_eth": {
      "type": "number"
     },
     "optimization_priority": {
      "type": "string",
      "description": "CRITICAL, HIGH, MEDIUM, or LOW"
     },
     "avg_gas_efficiency_pct": {
      "type": "number"
     },
     "estimated_monthly_waste_usd": {
      "type": "number"
     }
    }
   },
   "status": {
    "type": "string"
   }
  }
 },
 "example": {
  "report": {
   "failed": 12,
   "address": "0xd8da6bf26964af9d7eed9e03e53415d37aa96045",
   "last_seen": "2025-06-15",
   "first_seen": "2024-03-01",
   "successful": 138,
   "analyzed_at": "2026-02-16T12:00:00Z",
   "is_contract": true,
   "retry_count": 1,
   "health_score": 82.5,
   "eth_price_usd": 2500,
   "reverted_count": 10,
   "wasted_gas_eth": 0
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agent-health-monitor-base-wallet-health-analyzer-fd2974bc/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agenthealthmonitor.xyz](https://www.zero.xyz/host/agenthealthmonitor.xyz/llms.txt)
