# Ethereum Staking Statistics API

> Ethereum Staking Statistics API is a paid API for AI agents from api.web3identity.com, paid per call via x402, $0.010000/call, status unknown (last checked 2026-09-14).

Returns live Ethereum staking statistics including validator count, APR, total staked ETH, and staking ratio

## Facts

- Endpoint: GET https://api.web3identity.com/api/staking/eth
- Price: $0.010000/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/api-web3identity-com-26d04421
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_63Pa0b-DlOrT1vnLBRPzc

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 api-web3identity-com-26d04421
```

Example prompt: What's the current Ethereum staking APR and how many validators are active right now?

## When to prefer this

Use this endpoint when you need a quick, aggregated snapshot of Ethereum staking health metrics — APR, validator count, total staked, and staking ratio — without needing to query the beacon chain directly. Ideal for dashboards, DeFi monitoring agents, or any workflow that needs current ETH staking yield and participation data in a single call. Choose this over raw beacon chain APIs when you want pre-aggregated, easy-to-consume JSON output.

## Known failure modes

- Upstream data source unavailable — may return 503 or stale data
- Payment not processed (x402) — returns 402 Payment Required if USDC not sent
- Rate limit exceeded — returns 429 Too Many Requests
- Network timeout fetching live chain data — may return partial or cached stats

## How this service works

Ethereum staking statistics including validators, APR, and deposits

## Output

A JSON object containing: apr (annualized percentage rate for ETH staking rewards), validators (total number of active validators on the Ethereum beacon chain), totalStaked (total ETH staked in the network), and stakingRatio (proportion of total ETH supply that is staked).

## Example request

```json
{
 "input": {
  "type": "http",
  "method": "GET",
  "queryParams": {}
 }
}
```

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {}
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "apr": {
       "type": "number"
      },
      "validators": {
       "type": "number"
      },
      "totalStaked": {
       "type": "number"
      },
      "stakingRatio": {
       "type": "number"
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/api-web3identity-com-26d04421/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.web3identity.com](https://www.zero.xyz/host/api.web3identity.com/llms.txt)
