# AgentIndex x402 Agent Health Check

> AgentIndex x402 Agent Health Check is a paid API for AI agents from x402.agentindex.world, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-29).

Audits a public agent, MCP, or x402 endpoint URL and returns an operational health score, discovery metadata, x402 payment config validity, and reachability verdict.

## Facts

- Endpoint: GET https://x402.agentindex.world/agent-health?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-29
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agentindex-x402-agent-health-check-ef938b08
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_c1fGYUDPpEsHkZNU9UzzP

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 agentindex-x402-agent-health-check-ef938b08
```

Example prompt: Can you audit the endpoint at https://x402.example.com/search and tell me if it's operational, what health score it gets, and whether its x402 payment config and discovery metadata like OpenAPI and agent card are correctly set up?

## When to prefer this

Use this endpoint when you need to programmatically verify that a specific agent, MCP server, or x402-enabled API endpoint is live, correctly configured for pay-per-call payments on Base, and discoverable via standard agent protocols. Prefer this over generic uptime monitors when you specifically need x402 payment config validation, agent card/OpenAPI/MCP manifest discovery checks, and an AI-agent-oriented health score in a single call.

## Known failure modes

- Target URL is unreachable — verdict returns 'unreachable' with reachable:false and issues list
- Target lacks x402 headers — x402.valid returns false
- Discovery endpoints (OpenAPI, agent card, MCP manifest) not found — found:false in discovery object
- High latency causing degraded verdict
- Invalid or missing URL parameter causes request rejection
- Target URL returns unexpected HTTP status codes

## How this service works

Fresh operational audit of any public agent or paid API: reachability, latency, HTTP status, x402 challenge, price/network/payTo, OpenAPI, agent card and MCP manifest. Returns a 0-100 score, verdict and issues. Try GET /agent-health/sample.

## Output

Returns a JSON object with: operational boolean, verdict enum (operational/degraded/unreachable), integer health score (0-100), latency in milliseconds, x402 config details (network, version, price_usdc, valid flag), discovery metadata (OpenAPI path count, agent card skill count, MCP manifest status, x402 manifest status), list of issues found, and the origin URL.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "url"
     ],
     "properties": {
      "url": {
       "type": "string",
       "description": "Public agent, MCP or x402 endpoint URL to audit."
      },
      "body": {
       "description": "Optional JSON body when probing a non-GET target."
      },
      "method": {
       "enum": [
        "GET",
        "POST",
        "PUT",
        "HEAD"
       ],
       "type": "string",
       "description": "HTTP method for the target endpoint; defaults to GET."
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "required": [
      "url",
      "origin",
      "operational",
      "verdict",
      "score",
      "latency_ms",
      "target",
      "x402",
      "discovery",
      "issues"
     ],
     "properties": {
      "url": {
       "type": "string"
      },
      "x402": {
       "type": "object"
      },
      "score": {
       "type": "integer"
      },
      "issues": {
       "type": "array",
       "items": {
        "type": "string"
       }
      },
      "origin": {
       "type": "string"
      },
      "target": {
       "type": "object"
      },
      "verdict": {
       "enum": [
        "operational",
        "degraded",
        "unreachable"
       ],
       "type": "string"
      },
      "discovery": {
       "type": "object"
      },
      "latency_ms": {
       "type": "integer"
      },
      "operational": {
       "type": "boolean"
      },
      "x402_receipt": {
       "type": "object"
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "url": "https://x402.agentindex.world/search",
  "x402": {
   "valid": true,
   "network": "eip155:8453",
   "version": 2,
   "price_usdc": 0.0001
  },
  "score": 100,
  "issues": [],
  "origin": "https://x402.agentindex.world",
  "target": {
   "reachable": true,
   "http_status": 402
  },
  "verdict": "operational",
  "discovery": {
   "openapi": {
    "found": true,
    "status": 200,
    "path_count": 18
   },
   "agent_card": {
    "found": true,
    "status": 200,
    "skill_count": 27
   },
   "mcp_manifest": {
    "found": true,
    "status": 200
   },
   "x402_manifest": {
    "found": true,
    "status": 200
   }
  },
  "latency_ms": 84,
  "operational": true
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agentindex-x402-agent-health-check-ef938b08/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.agentindex.world](https://www.zero.xyz/host/x402.agentindex.world/llms.txt)
