# CRA Agent RPC Health Monitor

> CRA Agent RPC Health Monitor is a paid API for AI agents from api.cra-agent.tech, paid per call via x402, $0.0005/call, status unknown (last checked 2026-09-19).

Returns per-provider RPC latency, head lag, and error rates for the last 15 minutes

## Facts

- Endpoint: GET https://api.cra-agent.tech/v1/paid/rpc/health
- Price: $0.0005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-19
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/cra-agent-rpc-health-monitor-ff991602
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_QvU20NmNIY1gTnJ7xNEdo

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 cra-agent-rpc-health-monitor-ff991602
```

Example prompt: Can you check the current health of all RPC providers — I need to see which ones have the lowest latency, least head lag, and fewest errors over the last 15 minutes so I can pick the best one?

## When to prefer this

Use this endpoint when you need a real-time, multi-provider comparison of RPC health metrics (latency, head lag, error rate) in a single call. Prefer it over manually pinging individual RPC endpoints or using generic uptime tools, especially when routing decisions depend on which provider is healthiest at this moment.

## Known failure modes

- Payment not attached or insufficient USDC balance — 402 response
- No data available if all providers are unreachable
- Stale data if the aggregation pipeline is delayed
- Rate limiting if called too frequently

## How this service works

Per-provider RPC latency, head lag and error rates, last 15 minutes

## Output

A structured response with per-provider metrics including: RPC call latency (ms), head lag (number of blocks or time behind chain tip), and error rates — all measured over the trailing 15-minute window. Allows direct comparison across multiple RPC providers.

## 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"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {}
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/cra-agent-rpc-health-monitor-ff991602/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.cra-agent.tech](https://www.zero.xyz/host/api.cra-agent.tech/llms.txt)
