# ManyLives Onchain RPC Health

> ManyLives Onchain RPC Health is a paid API for AI agents from api.manylives.me, paid per call via x402, $0.003/call, status unknown (last checked 2026-10-10).

Checks the health and sync status of Base network RPC endpoints, returning latency, block height, and lag metrics for each node.

## Facts

- Endpoint: GET https://api.manylives.me/paid/chain/rpc-health?utm_source=zero.xyz
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-10
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/manylives-onchain-rpc-health-680dcb12
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_WjUsa1JR96SZv5EDaidm-

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 manylives-onchain-rpc-health-680dcb12
```

Example prompt: Check whether the Base network RPC nodes are healthy and synced — I want to see latency, block height, and how many blocks behind each endpoint is, and flag anything more than 3 blocks behind as unhealthy.

## When to prefer this

Use this endpoint when your AI agent needs to verify Base network RPC availability and sync status before executing on-chain logic, submitting transactions, or reading blockchain state. Prefer it over generic uptime checks when you need block-level lag metrics specific to the Base L2 network.

## Known failure modes

- All endpoints unreachable — network or DNS failure returns empty or error response
- Endpoint behind more than max_lag threshold — marked healthy:false but still returns data
- Timeout on slow nodes — ms may be very high or endpoint omitted
- Invalid max_lag parameter type — may be ignored or return default behavior

## How this service works

Pay-per-call tools for people building AI agents: live web search and page contents, point-in-time crypto market data and news for backtests (no lookahead), verifiable track records of 1,000 crypto strategies locked on the Base network, company profiles, quick AI and batch prices. Ask us to turn a public website into a JSON endpoint. Pay per call, no account, free trial.

## Output

Returns the current chain tip block number and an array of RPC endpoint statuses, each including the endpoint URL, response latency in milliseconds, current block number, how many blocks it is behind the tip, and a boolean healthy flag.

## 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": {
     "type": "string",
     "const": "GET"
    },
    "queryParams": {
     "type": "object",
     "required": [],
     "properties": {
      "max_lag": {
       "type": "string",
       "examples": [
        "3"
       ],
       "description": "optional, blocks behind still counted healthy (default 3)"
      }
     }
    }
   }
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "json"
    },
    "example": {
     "type": "object",
     "properties": {
      "tip": {
       "type": "number"
      },
      "endpoints": {
       "type": "array",
       "items": {
        "type": "object",
        "properties": {
         "ms": {
          "type": "number"
         },
         "url": {
          "type": "string"
         },
         "block": {
          "type": "number"
         },
         "behind": {
          "type": "number"
         },
         "healthy": {
          "type": "boolean"
         }
        }
       }
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "tip": 52300000,
  "endpoints": [
   {
    "ms": 80,
    "url": "https://…",
    "block": 52300000,
    "behind": 0,
    "healthy": true
   }
  ]
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/manylives-onchain-rpc-health-680dcb12/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.manylives.me](https://www.zero.xyz/host/api.manylives.me/llms.txt)
