# 2s.io Bitcoin Mempool State

> 2s.io Bitcoin Mempool State is a paid API for AI agents from 2s.io, paid per call via x402, $0.0036/call, status unknown (last checked 2026-09-15).

Returns current Bitcoin mempool stats (unconfirmed tx count, total vsize, total fees) plus recent transactions filterable by minimum BTC amount for whale/large-transfer monitoring.

## Facts

- Endpoint: GET https://2s.io/api/crypto/btc-mempool
- Price: $0.0036/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/2s-io-bitcoin-mempool-state-6727f385
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_3BdcOzrk6rRgMv-bOZaTN

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 2s-io-bitcoin-mempool-state-6727f385
```

Example prompt: What's the current state of the Bitcoin mempool — how many unconfirmed transactions are there, what are the total fees, and can you show me any pending transfers worth at least 5 BTC?

## When to prefer this

Use this endpoint when you need real-time Bitcoin mempool data without an API key — ideal for congestion monitoring dashboards, fee estimation context, or whale-watching alerts. Prefer this over on-chain confirmed transaction APIs when you specifically need pending/unconfirmed transaction data.

## Known failure modes

- Network or upstream Bitcoin node unavailability returning 5xx errors
- Invalid minBtc value (negative number) returning a validation error
- Mempool data temporarily stale if node sync is delayed
- Empty recent transactions array if no transactions meet the minBtc threshold

## How this service works

Bitcoin mempool state (free/keyless): current unconfirmed tx count, total vsize, and total fees, plus the most recent transactions (whale radar) — filter with minBtc to surface only large pending transfers. For congestion monitoring and large-transfer alerts.

## Output

Returns current Bitcoin mempool statistics including total unconfirmed transaction count, aggregate vsize, and total pending fees, along with a list of recent mempool transactions optionally filtered to only those above a specified BTC threshold (whale radar).

## 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",
    "queryParams"
   ],
   "properties": {
    "type": {
     "const": "http"
    },
    "method": {
     "const": "GET"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "minBtc": {
       "type": "number",
       "minimum": 0,
       "description": "Only include recent txs >= this BTC value."
      }
     },
     "additionalProperties": false
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/2s-io-bitcoin-mempool-state-6727f385/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from 2s.io](https://www.zero.xyz/host/2s.io/llms.txt)
