# Glassnode Mempool Total Fees Sum

> Glassnode Mempool Total Fees Sum 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 amount of transaction fees currently waiting in the Bitcoin mempool, aggregated over 24-hour intervals.

## Facts

- Endpoint: GET https://x402.glassnode.com/v1/metrics/mempool/fees_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-total-fees-sum-f0f7f28a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_KMFJG86b5_J3RnS-bg4qV

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-total-fees-sum-f0f7f28a
```

Example prompt: What is the total amount of fees across all transactions currently waiting in the Bitcoin mempool? Give me the data in USD.

## When to prefer this

Use this endpoint when you need the aggregate total of all pending transaction fees in the Bitcoin mempool, as opposed to median or average per-transaction fees. It is ideal for assessing overall fee pressure, congestion levels, or monitoring miner revenue potential from the mempool queue. Choose this over confirmed on-chain fee metrics (Total Transaction Fees) when you specifically want unconfirmed/pending mempool data.

## Known failure modes

- Missing required 'a' query parameter (asset symbol) returns a 400 bad request
- Invalid asset symbol (non-BTC) returns a validation error since only BTC is supported
- Payment not attached or insufficient USDC balance results in a 402 Payment Required response
- Rate limiting or exceeded quota returns a 429 error
- Network timeout if upstream Glassnode data is temporarily unavailable

## How this service works

Mempool Total Amount of Fees — The total amount of fees across transactions waiting in the mempool. Data by Glassnode.

## Output

An array of timestamped data points where each object contains a Unix timestamp (t) and the total sum of fees in the mempool (v), denominated in either native BTC or USD depending on the 'c' parameter. Data is provided at 24-hour resolution.

## 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",
        "usd"
       ],
       "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-total-fees-sum-f0f7f28a/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)
