# ChainRay Chain Health

> ChainRay Chain Health is a paid API for AI agents from chainray.online, paid per call via x402, $0.02/call, status unknown (last checked 2026-09-14).

Returns real-time health and status information for a specified blockchain network

## Facts

- Endpoint: GET https://chainray.online/chain-health
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/chainray-chain-health-0b3bc228
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_hYVNOqqV6Rfm47nGNNM8l

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 chainray-chain-health-0b3bc228
```

Example prompt: What's the current health status of the Base blockchain — is it running normally right now?

## When to prefer this

Use this endpoint when you need to verify whether a specific blockchain network is operational before executing transactions, bridging assets, or querying on-chain data. Prefer this over generic status pages when you need structured, machine-readable health data for a specific chain from a service covering 46 chains with pay-per-use pricing.

## Known failure modes

- Unsupported chain identifier returns an error or empty response
- Network connectivity issues to ChainRay backend return 5xx errors
- Payment failure via x402 protocol returns 402 Payment Required
- Missing or malformed chain query parameter may return a default chain or error
- Chain temporarily unavailable may return degraded or stale data

## How this service works

The most complete blockchain data and intelligence service for AI agents. 93 endpoints across 46 chains, from gas fees to DeFi analytics, with real-time streams, intent routing, and verifiable proofs. Pay-per-request via x402.

## Output

Returns real-time health and operational status of the requested blockchain network, including availability indicators, block production status, and any network-level issues detected across the monitored chain.

## Example request

```json
{
 "input": {
  "type": "http",
  "method": "GET",
  "queryParams": {
   "chain": "ethereum"
  }
 }
}
```

## 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": {
      "chain": {
       "type": "string",
       "description": "Blockchain network (e.g., base, ethereum, polygon)"
      }
     }
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/chainray-chain-health-0b3bc228/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from chainray.online](https://www.zero.xyz/host/chainray.online/llms.txt)
