# Blockscout Beacon Deposits Count

> Blockscout Beacon Deposits Count is a paid API for AI agents from api.blockscout.com, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-27).

Returns the total count of Ethereum beacon chain deposit transactions for a specified blockchain network

## Facts

- Endpoint: GET https://api.blockscout.com/%7Bchain_id%7D/api/v2/beacon/deposits/count?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-27
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/blockscout-beacon-deposits-count-4ac1ce6b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_tVdR3j74dWsxePd_D1ket

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 blockscout-beacon-deposits-count-4ac1ce6b
```

Example prompt: Using Blockscout, how many total beacon chain deposits have been made on the Ethereum mainnet — can you pull the deposit count for chain ID 1?

## When to prefer this

Choose this endpoint when you need a quick scalar count of beacon chain deposits on a specific blockchain without requiring full transaction details. Ideal for dashboards, staking analytics, or monitoring validator adoption trends. Prefer this over full deposit list endpoints when only the aggregate count is needed, saving bandwidth and cost.

## Known failure modes

- Invalid or unsupported chain_id returns an error or empty response
- Network/RPC downtime causes timeout or 5xx error
- Chain does not support beacon chain deposits, returning 0 or an error
- Payment failure (402) if USDC payment not properly attached via x402 protocol
- Rate limiting if too many requests are made in a short window

## How this service works

Explore crypto activities with Blockscout's multichain search. Find transactions, addresses, tokens, and dapps across top blockchain networks — your go-to explorer for cross-chain blockchain data

## Output

A JSON object containing a single integer field `deposits_count` representing the total cumulative number of beacon chain (ETH2) deposit transactions recorded on the specified blockchain network.

## 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",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "pathParams": {
     "type": "object",
     "properties": {
      "chain_id": {
       "type": "string"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "deposits_count": 0
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/blockscout-beacon-deposits-count-4ac1ce6b/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.blockscout.com](https://www.zero.xyz/host/api.blockscout.com/llms.txt)
