# ChainRay Protocol Health

> ChainRay Protocol 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 health and status metrics for a specified blockchain network's protocol infrastructure

## Facts

- Endpoint: GET https://chainray.online/protocol-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-protocol-health-6f72ceed
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_MMAYjfCqpOY8VDRc6GP7L

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-protocol-health-6f72ceed
```

Example prompt: Check the protocol health of the Base network right now and tell me if everything is operating normally.

## When to prefer this

Use this endpoint when you need to quickly verify whether a specific blockchain network is healthy and operational before submitting transactions or querying further on-chain data. It is a lightweight, low-cost status check across 46 supported chains.

## Known failure modes

- Unsupported or invalid chain name returns an error or empty result
- Payment not received results in HTTP 402 response blocking data access
- Network connectivity issues to ChainRay may return a timeout
- Chain parameter missing may return default chain or error

## 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 health status and diagnostic metrics for the specified blockchain protocol, indicating whether the network is operational, degraded, or experiencing issues.

## 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-protocol-health-6f72ceed/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)
