# Glassnode Mempool Transaction Count (x402)

> Glassnode Mempool Transaction Count (x402) is a paid API for AI agents from x402.glassnode.com, paid per call via x402, $0.05/call, status unknown (last checked 2026-09-15).

Returns the total number of transactions currently waiting in the Bitcoin mempool, as a time-series metric from Glassnode.

## Facts

- Endpoint: GET https://x402.glassnode.com/v1/metrics/mempool/txs_count_sum
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/glassnode-mempool-transaction-count-x402-9776e016
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_KVljz1EOtKhVODZuLV6Km

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 glassnode-mempool-transaction-count-x402-9776e016
```

Example prompt: What's the total number of transactions sitting in the Bitcoin mempool right now? Pull the latest 24h data from Glassnode in JSON format.

## When to prefer this

Use this endpoint when you need authoritative, Glassnode-sourced Bitcoin mempool transaction count data for on-chain analysis, network congestion monitoring, or fee estimation research. Prefer this over generic blockchain explorers when you need structured time-series data with consistent historical coverage at 24h resolution.

## Known failure modes

- Missing required 'a' query parameter (asset symbol) returns a 400 error
- Unsupported asset symbol (only BTC is accepted) returns a validation error
- Payment not provided or insufficient USDC balance results in 402 Payment Required
- Rate limiting or quota exhaustion may return 429
- Invalid format or interval enum values return schema validation errors

## How this service works

Mempool Total Number of Transactions — The total number of transactions waiting in the mempool. Data by Glassnode.

## Output

An array of time-series data points, each containing a Unix timestamp (t) and the total count of transactions waiting in the Bitcoin mempool at that time (v), covering the requested 24h interval.

## 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"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "a"
     ],
     "properties": {
      "a": {
       "enum": [
        "BTC"
       ],
       "type": "string",
       "description": "Asset symbol, e.g. BTC, ETH"
      },
      "c": {
       "enum": [
        "native"
       ],
       "type": "string",
       "description": "Currency for denominated values, e.g. usd, native"
      },
      "f": {
       "enum": [
        "csv",
        "json"
       ],
       "type": "string",
       "description": "Response format: json or csv"
      },
      "i": {
       "enum": [
        "24h"
       ],
       "type": "string",
       "description": "Time interval / resolution, e.g. 24h, 1w, 1month"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "array",
     "items": {
      "type": "object",
      "properties": {
       "t": {
        "type": "number"
       },
       "v": {
        "type": "number"
       }
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/glassnode-mempool-transaction-count-x402-9776e016/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.glassnode.com](https://www.zero.xyz/host/x402.glassnode.com/llms.txt)
