# Glassnode Miner Wallet Balance (BTC)

> Glassnode Miner Wallet Balance (BTC) 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 BTC supply held in miner addresses over time, optionally filtered by specific miner entity.

## Facts

- Endpoint: GET https://x402.glassnode.com/v1/metrics/distribution/balance_miners_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-miner-wallet-balance-btc-77fb01af
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_O4O8FMcJsuCA-WsWluy0r

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-miner-wallet-balance-btc-77fb01af
```

Example prompt: What is the total BTC balance held in miner wallets right now? Pull the aggregated miner supply data from Glassnode in native BTC denomination.

## When to prefer this

Use this endpoint when you need on-chain miner wallet balance data for Bitcoin, particularly to analyze miner accumulation/distribution behavior, track specific mining pool holdings, or build macro BTC supply analysis. Prefer this over exchange balance endpoints when the focus is miner-side supply dynamics rather than retail or institutional holdings.

## Known failure modes

- Missing required 'a' query parameter (asset) returns 400 error
- Invalid miner identifier enum value returns 400 error
- Payment not included or insufficient USDC causes 402 Payment Required
- Requesting unsupported asset other than BTC returns error
- Rate limiting or upstream Glassnode data unavailability returns 5xx error

## How this service works

Balance in Miner Wallets — The total supply held in miner addresses. Data by Glassnode.

## Output

Returns a time-series array of objects, each with a Unix timestamp ('t') and the total BTC balance held in miner wallets ('v'), reflecting the aggregate or per-miner supply at daily 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"
      },
      "miner": {
       "enum": [
        "1THash&58COIN",
        "AntPool",
        "ArkPool",
        "BTC.TOP",
        "BTC.com",
        "BinancePool",
        "BitFury",
        "BitMinter",
        "Bixin",
        "DPool",
        "F2Pool",
        "FoundryUSAPool",
        "Genesis",
        "HuobiPool",
        "KuCoinPool",
        "Lubian.com",
        "LuxorTech",
        "MaraPool",
        "NovaBlock",
        "OKExPool",
        "Patoshi",
        "PegaPool",
        "Poolin",
        "SBICrypto",
        "SecPool",
        "SigmaPool",
        "SlushPool",
        "SpiderPool",
        "TerraPool",
        "UKRPool",
        "Ultimus",
        "ViaBTC",
        "aggregated",
        "other"
       ],
       "type": "string",
       "description": "Miner identifier for mining-related 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-miner-wallet-balance-btc-77fb01af/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)
