# Glassnode Percent Miner Revenue from Fees

> Glassnode Percent Miner Revenue from Fees 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 daily percentage of miner revenue derived from transaction fees (fees / (fees + block subsidy)) for BTC or ETH.

## Facts

- Endpoint: GET https://x402.glassnode.com/v1/metrics/mining/revenue_from_fees
- 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-percent-miner-revenue-from-fees-519bbc69
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_PpYxjpBpHleIUlBDMxtTj

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-percent-miner-revenue-from-fees-519bbc69
```

Example prompt: What percentage of Bitcoin miner revenue is currently coming from transaction fees? Pull the latest daily data from Glassnode in JSON format.

## When to prefer this

Use this endpoint when you need on-chain mining economics data specifically measuring the proportion of miner income from fees versus block subsidies — a key indicator of blockchain fee market maturity and miner sustainability post-halving. Prefer this over generic crypto price APIs when the analytical goal involves miner incentive structure, network security economics, or fee market analysis.

## Known failure modes

- Missing required 'a' parameter (asset symbol) returns a validation error
- Unsupported asset symbol (not BTC or ETH) returns an enum validation error
- Payment not provided or insufficient USDC balance results in 402 Payment Required
- Invalid format or interval enum value returns a 400 error
- Glassnode data unavailable for requested date range returns empty array or error

## How this service works

Percent Miner Revenue from Fees — The percentage of miner revenue derived from transaction fees, computed as fees divided by fees plus newly minted coins. Data by Glassnode.

## Output

Returns an array of timestamped data points, each containing a Unix timestamp (t) and the percentage value (v) representing the share of miner revenue derived from transaction fees for the requested asset at 24h 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",
        "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": [
        "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-percent-miner-revenue-from-fees-519bbc69/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)
