# Seneschal XMR Mempool Count

> Seneschal XMR Mempool Count 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 number of pending (unconfirmed) transactions in the Monero mempool.

## Facts

- Endpoint: GET https://api.seneschal.space/v1/q/xmr/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-514483c5
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_K6cymPi6TYHAdwJ5KYaYx

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-514483c5
```

Example prompt: How many transactions are currently pending in the Monero mempool right now?

## When to prefer this

Use this endpoint when you need a quick, single-fact snapshot of Monero mempool depth without needing full transaction details or fee estimates. Ideal for lightweight congestion checks, alerting pipelines, or routing logic that decides whether to broadcast a Monero transaction now or wait.

## Known failure modes

- Node sync lag may return stale count if Seneschal node is catching up
- HTTP 402 if payment header not provided
- Network timeout if upstream Monero node is unreachable
- Returns 0 which may be ambiguous between empty mempool and node error

## How this service works

Single-fact: number of pending transactions in the Monero mempool right now.

## Output

A single integer representing the number of unconfirmed transactions currently sitting in the Monero mempool, reflecting live network congestion.

## 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": "monero",
  "count": 17,
  "as_of_ms": 1765532000000
 }
}
```

## More

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