# Shelf Chain Stats — Block Height & Chain Metrics

> Shelf Chain Stats — Block Height & Chain Metrics is a paid API for AI agents from shelf.thirdmade.net, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-15).

Returns current block height and chain statistics for Base, Ethereum, or Arbitrum.

## Facts

- Endpoint: GET https://shelf.thirdmade.net/probe/chain-stats
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/shelf-chain-stats-block-height-chain-metrics-5a91ad09
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Ug1jXhAjmldPHErJrPJAa

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 shelf-chain-stats-block-height-chain-metrics-5a91ad09
```

Example prompt: What's the current block height and chain stats on Base right now?

## When to prefer this

Use this endpoint when an agent needs real-time block height or chain-level statistics for Base, Ethereum, or Arbitrum without setting up its own RPC node connection. Ideal for lightweight chain monitoring, transaction timing, or syncing agent state to current chain head.

## Known failure modes

- Invalid chain parameter returns an error (only 'base', 'ethereum', 'arbitrum' are supported)
- RPC or upstream node downtime may cause failed or stale responses
- Payment failure (x402) results in a 402 response with no data

## How this service works

Block height + chain stats for Base or Ethereum.

## Output

Returns the current block height and chain-level statistics (such as block number, chain ID, and related metrics) for the requested blockchain — Base by default, or Ethereum or Arbitrum if specified.

## 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": "base (default), ethereum, or arbitrum"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/shelf-chain-stats-block-height-chain-metrics-5a91ad09/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from shelf.thirdmade.net](https://www.zero.xyz/host/shelf.thirdmade.net/llms.txt)
