# Bitcoin Benji Mempool Intelligence API

> Bitcoin Benji Mempool Intelligence API is a paid API for AI agents from api.bitcoinbenji.com, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-14).

Returns real-time Bitcoin mempool data and transaction intelligence via a pay-per-call Lightning/L402-gated GET endpoint

## Facts

- Endpoint: GET https://api.bitcoinbenji.com/mempool
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/bitcoin-benji-mempool-intelligence-api-ea6c13d2
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_AadXSxtjxk0eWcoTnrpUY

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 bitcoin-benji-mempool-intelligence-api-ea6c13d2
```

Example prompt: What are the current Bitcoin mempool fees and how congested is the network — I need to know whether to send my transaction now or wait for lower fees?

## When to prefer this

Choose this endpoint when you need real-time, pay-per-call Bitcoin mempool data without committing to a subscription or API key. Ideal for agents that occasionally need fee intelligence, wallet applications surfacing fee recommendations, or automated bots that need to make on-chain transaction decisions dynamically. Prefer this over free public mempool explorers when you want a programmatic, machine-readable JSON response with a reliable SLA and micropayment-gated access.

## Known failure modes

- 402 Payment Required — L402 token missing or invalid, Lightning invoice must be paid first
- 401 Unauthorized — invalid or expired macaroon/L402 credential
- 503 Service Unavailable — upstream Bitcoin node or mempool data source is unreachable
- Rate limiting if payment token is reused or expired
- Network timeout if Lightning payment settlement is delayed

## How this service works

L402-gated APIs: real-time Bitcoin mempool intelligence and private AI inference. Pay-per-call via Lightning. Zero API keys. Zero subscriptions.

## Output

A JSON object containing real-time Bitcoin mempool metrics such as pending transaction count, fee rate estimates across priority tiers (low/medium/high in sat/vbyte), mempool size in bytes, and network congestion indicators. Exact fields depend on the API's current schema version.

## Response schema (JSON Schema)

```json
{
 "type": "json"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/bitcoin-benji-mempool-intelligence-api-ea6c13d2/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.bitcoinbenji.com](https://www.zero.xyz/host/api.bitcoinbenji.com/llms.txt)
