# Glassnode Active Address Count with Contracts (x402)

> Glassnode Active Address Count with Contracts (x402) 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 number of unique Ethereum addresses that were active as a sender, receiver, or smart contract caller over a given time interval.

## Facts

- Endpoint: GET https://x402.glassnode.com/v1/metrics/addresses/active_count_with_contracts
- 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-active-address-count-with-contracts-x402-aba93818
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_XXj_5z_RlRJVk4JyZj7jH

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-active-address-count-with-contracts-x402-aba93818
```

Example prompt: Pull the Glassnode active address count for Ethereum including smart contract interactions at daily (24h) resolution in JSON format.

## When to prefer this

Choose this endpoint when you need on-chain Ethereum network activity data specifically counting unique active addresses including smart contract interactions, sourced from Glassnode's institutional-grade blockchain data. Prefer this over raw node queries or other chain explorers when you need clean, structured time-series data at 24h, weekly, or monthly resolution with minimal setup cost.

## Known failure modes

- Missing required asset parameter 'a' returns a 400 bad request
- Unsupported asset symbol or network combination returns an error
- Payment not included or insufficient USDC causes a 402 Payment Required response
- Invalid interval or format enum value causes a validation error
- Upstream Glassnode data unavailability may result in a 503 or empty dataset

## How this service works

Number of Active Addresses (with contracts) — The number of unique addresses that were active in the network as a sender, a receiver, or by calling a smart contract. Data by Glassnode.

## Output

An array of objects each containing a Unix timestamp (t) and a count value (v) representing the number of unique addresses active on Ethereum — including those sending, receiving, or calling smart contracts — for each interval in the requested time range.

## 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": [
        "ETH"
       ],
       "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",
        "eth"
       ],
       "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-active-address-count-with-contracts-x402-aba93818/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)
