# Glassnode Asset Closing Price (USD)

> Glassnode Asset Closing Price (USD) 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 historical USD closing price of a crypto asset aggregated from centralized and decentralized exchanges, at daily, weekly, or monthly resolution.

## Facts

- Endpoint: GET https://x402.glassnode.com/v1/metrics/market/price_usd_close
- 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-asset-closing-price-usd-b62bfa1d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_STzmo9IQ7xPhg_LyFMLHq

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-asset-closing-price-usd-b62bfa1d
```

Example prompt: Pull Glassnode's daily USD closing price history for BTC in JSON format — I want to see the price time series at 24h resolution.

## When to prefer this

Use this endpoint when you need reliable, aggregated historical USD closing prices for a crypto asset (BTC, ETH, etc.) at daily, weekly, or monthly granularity, especially when you want Glassnode's cross-exchange aggregation methodology. Prefer this over exchange-specific APIs when you want a consensus price across both CEX and DEX venues.

## Known failure modes

- Missing required asset symbol 'a' returns 400 bad request
- Invalid asset symbol returns empty or error response
- Unsupported interval or format enum value returns 400
- Payment not processed (x402) results in 402 Payment Required
- Rate limiting may return 429 if too many calls are made
- Network or provider downtime returns 5xx error

## How this service works

Price — The closing price of the asset in USD, aggregated from both centralised and decentralised exchanges. Strictly immutable data points are available in the point-in-time variant of this metric. Data by Glassnode.

## Output

An array of timestamped data points, each containing a Unix timestamp (t) and the closing price in USD (v), aggregated across centralized and decentralized exchanges for the requested asset and time 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"
      }
     }
    }
   },
   "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-asset-closing-price-usd-b62bfa1d/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)
