# Glassnode Mean Bitcoin Transaction Size

> Glassnode Mean Bitcoin Transaction Size 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 mean size of Bitcoin transactions within a given time period, in bytes.

## Facts

- Endpoint: GET https://x402.glassnode.com/v1/metrics/transactions/size_mean
- 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-mean-bitcoin-transaction-size-dae3da86
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_IHSvHpLcX1kHz44vGLU7d

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-bitcoin-transaction-size-dae3da86
```

Example prompt: Can you pull the Glassnode mean Bitcoin transaction size metric for the past 24 hours in JSON format?

## When to prefer this

Use this endpoint when you need historical or current on-chain Bitcoin transaction size data in bytes, specifically the mean (average) size per transaction, aggregated over daily, weekly, or monthly intervals. Prefer this over fee or count metrics when studying transaction throughput and data efficiency on the Bitcoin network.

## Known failure modes

- Missing required asset parameter 'a' returns a 400 error
- Invalid interval value returns a validation error
- Payment not included or insufficient USDC results in a 402 Payment Required response
- Unsupported asset symbol (non-BTC) returns an error since only BTC is currently accepted
- Network timeout or Glassnode data unavailability results in a 5xx error

## How this service works

Mean Size of Transfers — The mean size of a transaction within the time period, in bytes. Data by Glassnode.

## Output

An array of timestamped data points, each containing a Unix timestamp (t) and the mean transaction size in bytes (v) for the specified 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": [
        "1month",
        "1w",
        "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-mean-bitcoin-transaction-size-dae3da86/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)
