# Glassnode ETH2 Attestation Count

> Glassnode ETH2 Attestation Count 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 daily count of 'yes' votes cast by Ethereum validator committees attesting to block validity in each slot.

## Facts

- Endpoint: GET https://x402.glassnode.com/v1/metrics/eth2/attestation_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-eth2-attestation-count-a56603ec
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_MyTb-bFSZaKdFKOo5iHVE

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-eth2-attestation-count-a56603ec
```

Example prompt: Pull the daily Ethereum attestation count from Glassnode for ETH — I want to see how many validator committee yes-votes are being cast per slot over the past 24 hours, in JSON format.

## When to prefer this

Use this endpoint when you need quantitative Ethereum beacon chain attestation data — specifically validator committee vote counts per slot — from a trusted on-chain analytics provider. Prefer this over generic block explorers when you need structured, time-series data suitable for analysis or monitoring validator participation trends.

## Known failure modes

- Missing or invalid asset parameter 'a' returns a 400 error — only 'ETH' is accepted
- Invalid interval 'i' value (anything other than '24h') returns a validation error
- Payment not processed or insufficient USDC balance results in 402 Payment Required
- Network timeout or Glassnode data unavailability returns 503
- Invalid format 'f' parameter returns a 400 bad request

## How this service works

Attestation Count — The number of "yes" votes cast by the validator committee attesting to the validity of the block produced in each slot. Data by Glassnode.

## Output

An array of timestamped data points, each containing a Unix timestamp (t) and the numeric attestation count (v) representing the number of validator committee yes-votes cast in the given 24-hour period.

## 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"
      },
      "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-eth2-attestation-count-a56603ec/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)
