# eth-chain-stats

> eth-chain-stats is a paid API for AI agents from agentdatum.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-15).

Returns a real-time snapshot of Ethereum mainnet statistics including ETH price, market cap, transaction counts, address counts, block time, and slow/standard/fast gas prices in Gwei.

## Facts

- Endpoint: GET https://agentdatum.com/api/v1/d/eth-chain-stats
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/eth-chain-stats-053924f7
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_6JU9ACsV_PNkzI0quaI34

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 eth-chain-stats-053924f7
```

Example prompt: What are the current Ethereum gas prices — slow, standard, and fast — and what is ETH trading at right now including its 24-hour change?

## When to prefer this

Choose this endpoint when you need a single free-to-use, no-API-key snapshot of Ethereum mainnet chain health combined with real-time gas pricing — ideal for pre-transaction cost estimation, airdrop preparation, or lightweight chain monitoring dashboards. Prefer it over general crypto price APIs when you specifically need gas fee tiers alongside on-chain activity metrics in one call.

## Known failure modes

- Blockscout upstream outage returns 5xx or empty response
- Stale data if the Blockscout indexer falls behind the chain tip
- Network timeout on high-load periods
- x402 payment failure if wallet balance is insufficient or payment protocol handshake fails

## How this service works

Ethereum On-chain Stats & Gas — Ethereum mainnet snapshot: ETH price and 24h change, market cap, total transactions, addresses, daily volume, average block time, and real-time gas prices (slow/standard/fast) in Gwei. Gas is a direct measure of on-chain activity and cost; check before airdrop farming or transactions. Blockscout official API, free no key.

## Output

A JSON snapshot of Ethereum mainnet metrics including: current ETH price and 24-hour percentage change, total market capitalization, cumulative total transaction count, total unique address count, today's transaction volume, average block time in seconds, and three-tier real-time gas prices (slow, standard, fast) expressed in Gwei — all sourced from Blockscout's official API.

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

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "data": {
   "how_to_read": "gas 低=链上冷清(适合撸空投/批量交互成本低)；gas 高=行情或 mint 火爆。transactions_today 与 network_utilization 反映真实链上活跃度。",
   "total_blocks": "25750563",
   "gas_fast_gwei": 0.87,
   "gas_slow_gwei": 0.06,
   "coin_price_usd": 1880.41,
   "gas_updated_at": "2026-08-14T05:29:33.785128Z",
   "gas_used_today": "216408055899",
   "market_cap_usd": 226931588587.7783,
   "total_addresses": "706587735",
   "gas_average_gwei": 0.12,
   "total_transactions": "3682031222",
   "transactions_today": "2690548",
   "average_block_time_ms": 12121,
   "network_utilization_pct": 50.37168691796396,
   "coin_price_change_24h_pct": -0.26
  },
  "note": "Blockscout 公共实例，免费无 key",
  "type": "区块链",
  "source": "blockscout",
  "product_id": "eth-chain-stats",
  "collected_at": "2026-08-14T05:30:01Z"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/eth-chain-stats-053924f7/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agentdatum.com](https://www.zero.xyz/host/agentdatum.com/llms.txt)
