# Glassnode Mean Transaction Fees Metric

> Glassnode Mean Transaction Fees Metric 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-14).

Returns the mean fee paid per transaction for a given blockchain asset over a specified time interval.

## Facts

- Endpoint: GET https://x402.glassnode.com/v1/metrics/fees/volume_mean
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/glassnode-mean-transaction-fees-metric-7fe71cf2
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_NDaz0pg3mJ_hWVxzqA5VU

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-mean-transaction-fees-metric-7fe71cf2
```

Example prompt: What's the mean transaction fee for Bitcoin over the last 24 hours in USD? Pull it from Glassnode in JSON format.

## When to prefer this

Use this endpoint when you need programmatic, pay-per-call access to Glassnode's mean transaction fee metric for major blockchains. Prefer this over median fees when you want the arithmetic average (sensitive to fee spikes), and over total fees when you want a per-transaction normalized view. Ideal for on-chain analytics, fee monitoring dashboards, or agent workflows that need fresh blockchain fee data without a monthly Glassnode subscription.

## Known failure modes

- Missing required 'a' (asset) query parameter returns validation error
- Invalid asset symbol not in enum (BNB, BTC, DOGE, ETH, SOL, TON, TRX, XRP) returns error
- Invalid interval or currency enum value returns error
- Payment of $0.05 USDC not received results in 402 Payment Required
- Network parameter not applicable to all assets may return empty or error
- Rate limiting or upstream Glassnode data unavailability may cause 5xx errors

## How this service works

Mean Transaction Fees — The mean fee paid per transaction. Data by Glassnode.

## Output

Returns an array of time-series data points, each containing a Unix timestamp (t) and the mean transaction fee value (v) for the requested asset, interval, and currency denomination.

## 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": [
        "BNB",
        "BTC",
        "DOGE",
        "ETH",
        "SOL",
        "TON",
        "TRX",
        "XRP"
       ],
       "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": [
        "1month",
        "1w",
        "24h"
       ],
       "type": "string",
       "description": "Time interval / resolution, e.g. 24h, 1w, 1month"
      },
      "network": {
       "enum": [
        "aggregated",
        "arb",
        "base",
        "eth",
        "opt"
       ],
       "type": "string",
       "description": "Network / blockchain identifier for cross-chain metrics"
      }
     }
    }
   },
   "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-mean-transaction-fees-metric-7fe71cf2/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)
