# Glassnode Thermocap (Aggregate Security Spend)

> Glassnode Thermocap (Aggregate Security Spend) 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 cumulative USD value of all coins paid to miners since genesis (Thermocap), a proxy for total mining resources spent to secure BTC or ETH.

## Facts

- Endpoint: GET https://x402.glassnode.com/v1/metrics/mining/thermocap
- 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-thermocap-aggregate-security-spend-74d99915
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_QzRWyNwZoxmq0XUDXB316

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-thermocap-aggregate-security-spend-74d99915
```

Example prompt: Pull the latest Glassnode thermocap metric for Bitcoin in USD — I want to see the cumulative aggregate security spend since genesis.

## When to prefer this

Use this endpoint when you need the cumulative USD value of all block rewards and fees paid to miners since genesis (Thermocap) for BTC or ETH, specifically as a long-run network security cost proxy. Prefer this over transaction fee or issuance endpoints when you want the all-time aggregate miner compensation figure, not a snapshot of current fees or daily emissions.

## Known failure modes

- Missing required 'a' parameter returns a validation error
- Unsupported asset symbol (not BTC or ETH) returns a 400 error
- Payment not provided or insufficient USDC returns a 402 Payment Required response
- Invalid format or interval enum value returns a 400 error
- Network or upstream Glassnode data unavailability returns a 503 error

## How this service works

Aggregate Security Spend (Thermocap) — Aggregate Security Spend, or Thermocap, is the cumulative USD value of all coins paid to miners since genesis, serving as a proxy for the mining resources spent to secure the network. Data by Glassnode.

## Output

Returns a time-series array of objects, each containing a Unix timestamp ('t') and the thermocap value ('v') representing the cumulative USD paid to miners up to that point, for the requested asset (BTC or ETH) and interval (24h).

## 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": [
        "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"
      }
     }
    }
   },
   "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-thermocap-aggregate-security-spend-74d99915/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)
