# Glassnode Bitcoin Power-Law Model

> Glassnode Bitcoin Power-Law Model 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 Bitcoin's historical price data modeled through a power-law distribution on a log-log scale, showing the relationship between time and price.

## Facts

- Endpoint: GET https://x402.glassnode.com/v1/metrics/indicators/power_law
- 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-bitcoin-power-law-model-cff3be65
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_iOJ-Pl8HdIK7R-SL93fJL

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-bitcoin-power-law-model-cff3be65
```

Example prompt: Pull the Glassnode Bitcoin power-law model data for BTC at daily resolution in JSON format so I can see where current price sits relative to the long-term log-log trend.

## When to prefer this

Use this endpoint when you need Glassnode's specific power-law mathematical model for Bitcoin price trends over time, especially for long-term valuation analysis, log-log scale charting, or comparing current BTC price to its historical power-law trajectory. Prefer over generic price endpoints when the goal is model-based analysis rather than spot price lookup.

## Known failure modes

- Missing required 'a' (asset) query parameter returns 400 error
- Unsupported asset symbol returns validation error
- Payment not provided or insufficient USDC results in 402 Payment Required
- Invalid format parameter 'f' returns format error
- Rate limiting or provider downtime returns 5xx error

## How this service works

Power-Law Model — Power-Law Model is a mathematical description of Bitcoin's historical price trends, revealing a power-law distribution on a log-log scale that suggests a correlation between time and price. Data by Glassnode.

## Output

An array of timestamped data points (t: Unix timestamp, v: numeric value) representing Bitcoin's price as modeled by the power-law fit on a log-log scale, covering historical daily intervals.

## 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": [
        "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-bitcoin-power-law-model-cff3be65/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)
