# Seneschal Zcash Chain Height

> Seneschal Zcash Chain Height is a paid API for AI agents from api.seneschal.space, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-15).

Returns the current Zcash blockchain height, verification progress, and best block hash from a live zebra node.

## Facts

- Endpoint: GET https://api.seneschal.space/v1/q/zec/height
- 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/api-seneschal-space-64b05dae
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_mJrg24bUy0rQm-aYyDCcg

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 api-seneschal-space-64b05dae
```

Example prompt: What's the current Zcash block height right now, and how far along is the chain verification progress?

## When to prefer this

Use this endpoint when you need a lightweight, single-fact Zcash chain status check — specifically the current block height, verification progress, and best block hash — without needing full block details or transaction data. Ideal for monitoring scripts, syncing checks, or quickly confirming the network tip before performing ZEC-related operations.

## Known failure modes

- Node temporarily unavailable — upstream zebra node may be restarting or unreachable
- Payment failure — x402 payment of $0.001 USDC not accepted, returns 402 error
- Rate limiting — excessive requests may be throttled
- Stale data — if zebra node is catching up, height and progress may lag behind network tip

## How this service works

Single-fact: current Zcash chain height + verification progress + best block hash. Sourced from a live operator-run zebra node.

## Output

Returns a single-fact JSON object containing the current Zcash chain height (block number), verification/sync progress (as a fraction or percentage), and the best block hash from a live Seneschal-operated zebra node.

## Example request

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

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "properties": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "chain": "zcash",
  "height": 3171000,
  "as_of_ms": 1765532000000,
  "synchronized": true,
  "best_block_hash": "<block-hash>",
  "verification_progress": 0.9999
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/api-seneschal-space-64b05dae/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.seneschal.space](https://www.zero.xyz/host/api.seneschal.space/llms.txt)
