# Glassnode Transaction Count Metric

> Glassnode Transaction Count 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 the total number of transactions for a given blockchain asset over a specified time interval

## Facts

- Endpoint: GET https://x402.glassnode.com/v1/metrics/transactions/count
- 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-transaction-count-metric-60259a52
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_gpZ-uGB81CNgb1eoLrNuS

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-transaction-count-metric-60259a52
```

Example prompt: Pull the daily transaction count for Bitcoin from Glassnode — give me the JSON data at 24h resolution.

## When to prefer this

Use this endpoint when you need raw on-chain transaction count time series data for major blockchains (BTC, ETH, SOL, XRP, BNB, DOGE, TON, TRX) at daily, weekly, or monthly resolution. Prefer this over price or fee endpoints when the user's intent is to measure network activity or usage volume rather than value transferred or cost.

## Known failure modes

- Missing required 'a' (asset) query parameter returns a 400 error
- Unsupported asset symbol outside the enum returns a validation error
- Unsupported interval value returns a validation error
- Payment not provided or insufficient USDC balance returns a 402 Payment Required
- Network mismatch for assets that don't support cross-chain metrics returns an error
- Rate limiting or upstream Glassnode data unavailability returns a 503

## How this service works

Number of Transactions — The total number of transactions. Data by Glassnode.

## Output

An array of timestamped data points, each containing a Unix timestamp (t) and the total number of transactions (v) for the specified asset and interval. Returned as JSON or CSV depending on the format parameter.

## 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": [
        "BNB",
        "BTC",
        "DOGE",
        "ETH",
        "SOL",
        "TON",
        "TRX",
        "XRP"
       ],
       "type": "string",
       "description": "Asset symbol, e.g. BTC, ETH"
      },
      "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-transaction-count-metric-60259a52/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)
