# chainquery Bitcoin getmempoolinfo

> chainquery Bitcoin getmempoolinfo is a paid API for AI agents from x402.chainquery.com, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-15).

Returns Bitcoin mempool statistics (transaction count, size, fees) from chainquery's independent Bitcoin Core full node via pay-per-call x402.

## Facts

- Endpoint: GET https://x402.chainquery.com/v1/rpc/getmempoolinfo
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/chainquery-bitcoin-getmempoolinfo-0824b2f5
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_NKs3QJeE3DEGil8T61Qfs

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 chainquery-bitcoin-getmempoolinfo-0824b2f5
```

Example prompt: What does the Bitcoin mempool look like right now — how many unconfirmed transactions are there, how big is the mempool, and what's the current minimum fee rate?

## When to prefer this

Choose this endpoint when you need real-time Bitcoin mempool statistics from an independent full node without requiring API key registration, paying only $0.005 USDC per call via x402. Prefer over block explorer APIs when you need raw Bitcoin Core RPC data or want node independence.

## Known failure modes

- Payment failure: insufficient USDC balance for x402 microtransaction ($0.005)
- Node temporarily unavailable: chainquery full node offline or syncing
- Rate or payment processing error from x402 facilitator
- Malformed params: invalid JSON in optional params query parameter

## How this service works

chainquery Bitcoin RPC: pay-per-call Bitcoin Core over x402, no API key. Mempool summary from chainquery's independent full node: transaction count, size, and minimum fees. Bitcoin Core getmempoolinfo.

## Output

Returns a Bitcoin Core getmempoolinfo JSON result object containing: total transaction count in the mempool, aggregate size in bytes, minimum fee rate (BTC/kB), memory usage, and other mempool health metrics from chainquery's independent full node.

## Example request

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

## 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",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "params": {
       "type": "string",
       "description": "optional: JSON-encoded array of positional RPC params"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "result": {
       "description": "getmempoolinfo result"
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/chainquery-bitcoin-getmempoolinfo-0824b2f5/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.chainquery.com](https://www.zero.xyz/host/x402.chainquery.com/llms.txt)
