# Glassnode Mean Block Interval

> Glassnode Mean Block Interval 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 time in seconds between mined blocks for BTC or ETH at a chosen resolution

## Facts

- Endpoint: GET https://x402.glassnode.com/v1/metrics/blockchain/block_interval_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-block-interval-9cd1ad78
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Mj_0v0SgJiOSa9OXhCcEt

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-block-interval-9cd1ad78
```

Example prompt: What's the mean block interval for Bitcoin over the past 24 hours, from Glassnode — give me the JSON data?

## When to prefer this

Use this endpoint when you need on-chain block timing data for BTC or ETH specifically sourced from Glassnode's institutional-grade data pipeline, especially when building blockchain health dashboards, monitoring mining congestion, or analyzing network throughput trends over time. Prefer over generic blockchain explorers when you need structured time-series data at weekly or monthly resolution for quantitative analysis.

## Known failure modes

- Missing required 'a' parameter returns 400 error
- Unsupported asset symbol returns validation error
- Payment not included or insufficient USDC results in 402 Payment Required
- Invalid interval enum value returns 400 bad request
- Network timeout returns 5xx error
- Rate limiting may return 429 if called too frequently

## How this service works

Mean Block Interval — The mean time, in seconds, between mined blocks. Data by Glassnode.

## Output

An array of time-series objects each containing a Unix timestamp (t) and the mean block interval value in seconds (v) for the requested asset and resolution period

## 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",
        "ETH"
       ],
       "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-block-interval-9cd1ad78/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)
