# Glassnode Market Cap (USD) Metric

> Glassnode Market Cap (USD) Metric 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 historical or current USD market capitalization (network value) for a given crypto asset at configurable time resolutions.

## Facts

- Endpoint: GET https://x402.glassnode.com/v1/metrics/market/marketcap_usd
- 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-market-cap-usd-metric-400224f9
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_iqhzucUT6aiVHAphurJ7Y

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-market-cap-usd-metric-400224f9
```

Example prompt: Pull the daily market cap data for BTC from Glassnode in JSON format — I want to see the USD network value over the last available period.

## When to prefer this

Use this endpoint when you need on-chain market capitalization (network value = supply × price) time series data for BTC, ETH, or other supported assets, sourced from Glassnode's institutional-grade on-chain data platform. Prefer this over generic price APIs when you specifically need market cap as a metric, or when combining with other Glassnode on-chain metrics like MVRV for deeper analysis.

## Known failure modes

- Missing required 'a' (asset) query parameter returns a 400 error
- Unsupported asset symbol returns an error or empty dataset
- Invalid interval enum value (not '24h', '1w', or '1month') causes a parameter validation failure
- Payment not fulfilled (402) if x402 payment header is absent or insufficient
- Network enum value unsupported for the requested asset returns empty or error
- Rate limiting or upstream Glassnode data unavailability returns 5xx

## How this service works

Market Cap — Market Cap (network value) is the product of the current supply and the current USD price of the asset. Data by Glassnode.

## Output

Returns a JSON (or CSV) array of timestamped objects, each containing a Unix timestamp ('t') and the corresponding market cap value in USD ('v'), representing the product of circulating supply and asset price at each interval.

## 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": {
       "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"
      },
      "network": {
       "enum": [
        "aggregated",
        "arb",
        "base",
        "eth",
        "opt"
       ],
       "type": "string",
       "description": "Network / blockchain identifier for cross-chain 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-market-cap-usd-metric-400224f9/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)
