Ethereum block

$0.003 per call · failed calls are never charged · no account or API key needed

Fetch a block on Ethereum by decimal number, or the latest one when omitted: 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.

Run it free (25 free calls) Buy credits by card (from $5) Example result (JSON)

Inputs

NameTypeDescription
numberstringBlock number, or 'latest' (default)

Request

Over HTTP, with a card key from /credits:

curl -H "Authorization: Bearer adt_…" "https://agent-data-tools.revmesh2074.workers.dev/eth/block?number=latest"

Or one of your 25 free calls, no key:

curl "https://agent-data-tools.revmesh2074.workers.dev/eth/block?number=latest&trial=1"

Without a key, the same URL answers 402 Payment Required with x402 and MPP terms, so an agent with a wallet pays per call in USDC (Base, Polygon, Arbitrum, Monad, World Chain or Tempo) and retries.

Example result

{
  "chain": "Ethereum",
  "chainId": 1,
  "number": 123456789,
  "hash": "0xabc…",
  "timestamp": "2026-10-18T12:00:00.000Z",
  "transactions": 154,
  "gasUsed": "21000000",
  "gasLimit": "30000000",
  "baseFeeGwei": "0.012",
  "miner": "0x…"
}

From an AI agent (MCP)

Add the MCP server to Claude, Cursor or any MCP client. This tool is eth_block, and the first 25 successful calls are free:

https://agent-data-tools.revmesh2074.workers.dev/mcp

Related tools