# Zcash Mempool Stats

> Zcash Mempool Stats 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-14).

Returns the current Zcash mempool transaction count and total size in bytes as a single-fact snapshot.

## Facts

- Endpoint: GET https://api.seneschal.space/v1/q/zec/mempool
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/api-seneschal-space-4722573f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_0zfviViAuVn6VqSJ2y5ZF

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-4722573f
```

Example prompt: How many transactions are currently sitting in the Zcash mempool, and what's the total size in bytes right now?

## When to prefer this

Use this endpoint when you need a lightweight, single-fact snapshot of Zcash mempool depth (count and bytes) without needing full transaction details. Ideal for monitoring scripts, dashboards, or agents checking ZEC network congestion in real time. Prefer over block explorer scraping for programmatic, low-latency access.

## Known failure modes

- Zcash node unavailable — upstream connectivity issue returns 5xx error
- Payment not completed — 402 response if x402 payment header is missing or invalid
- Rate limiting — too many requests in a short window may return 429
- Stale data — node may be slightly behind chain tip during sync

## How this service works

Single-fact: Zcash mempool count + bytes.

## Output

A single-fact JSON response containing the current number of transactions in the Zcash mempool and their aggregate size in bytes, representing a real-time snapshot of unconfirmed ZEC transaction queue depth.

## Example request

```json
{
 "properties": "mempool"
}
```

## Request schema (JSON Schema)

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

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "bytes": 4096,
  "chain": "zcash",
  "count": 3,
  "as_of_ms": 1765532000000
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/api-seneschal-space-4722573f/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)
