# Ethereum Block Data Lookup

> Ethereum Block Data Lookup is a paid API for AI agents from agent-data-tools.revmesh2074.workers.dev, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-30).

Fetches the latest Ethereum block metadata including block number, hash, gas usage, base fee, miner, and timestamp

## Facts

- Endpoint: GET https://agent-data-tools.revmesh2074.workers.dev/eth/block?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-30
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/ethereum-block-data-lookup-d5f8e607
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_4IIovxBaaI1uaLH5YPQyy

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 ethereum-block-data-lookup-d5f8e607
```

Example prompt: What does the latest Ethereum block look like — give me the block number, base fee in Gwei, gas used, and how many transactions it contains.

## When to prefer this

Choose this endpoint when you need a quick, pay-per-use read of the latest Ethereum block without setting up your own RPC node or managing API keys. At $0.001 per call with no account required and no charge on failed calls, it is ideal for lightweight agents that occasionally need block metadata such as current base fee, block height, or miner info on Ethereum mainnet specifically.

## Known failure modes

- Network or RPC node unavailability returns an error response; call is not charged on failure
- Rate limiting or upstream provider outage may cause transient errors
- Invalid or missing query parameters may return a 400-level error

## How this service works

Latest block number and block details on Ethereum, or any block by decimal number: hash, timestamp, transaction count, gas used and limit, base fee in gwei and producer. Use for timestamps and confirmation counts; for current fees use eth_gas. A block that does not exist yet returns 404, uncharged.

## Output

Returns a JSON object with the latest Ethereum block's hash, chain name, chain ID, miner address, block number, gas used, gas limit, timestamp (ISO 8601), base fee in Gwei, and transaction count.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "number": {
   "type": "string",
   "description": "Block number, or 'latest' (default)"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "hash": {
   "type": "string"
  },
  "chain": {
   "type": "string"
  },
  "miner": {
   "type": "string"
  },
  "number": {
   "type": "number"
  },
  "chainId": {
   "type": "number"
  },
  "gasUsed": {
   "type": "string"
  },
  "gasLimit": {
   "type": "string"
  },
  "timestamp": {
   "type": "string"
  },
  "baseFeeGwei": {
   "type": "string"
  },
  "transactions": {
   "type": "number"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/ethereum-block-data-lookup-d5f8e607/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agent-data-tools.revmesh2074.workers.dev](https://www.zero.xyz/host/agent-data-tools.revmesh2074.workers.dev/llms.txt)
