# EVM Block Data Lookup

> EVM Block Data Lookup is a paid API for AI agents from 138-197-15-135.sslip.io, paid per call via x402, $0.003/call, status unknown (last checked 2026-10-31).

Fetches block metadata (hash, timestamp, gas, tx count, base fee) for one or more EVM chain blocks by number, or returns the latest block

## Facts

- Endpoint: GET https://138-197-15-135.sslip.io/v1/evm/blocks?utm_source=zero.xyz
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-31
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/evm-block-data-lookup-b2c9e9b0
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_jqb3QaeVi8keG-NBYuDtK

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 evm-block-data-lookup-b2c9e9b0
```

Example prompt: What were the gas used, transaction count, and base fee for blocks 21000000 and 21000001 on Base?

## When to prefer this

Use this endpoint when you need lightweight block-level metadata (timestamps, gas, tx count, base fee) for Base, Ethereum, Arbitrum, or Optimism without running a full node. It accepts up to 10 block numbers per call and is pay-per-use via x402/USDC, making it ideal for agent workflows that need occasional onchain lookups without a long-term API subscription.

## Known failure modes

- More than 10 block numbers requested — API enforces max 10 per call
- Invalid or unsupported chain name — defaults to Base or returns error
- Block number not yet mined — returns null or missing block entry
- Payment failure via x402 — 402 response requiring USDC payment on Base
- Malformed block number input (non-numeric or bad comma separation)

## How this service works

Batch block lookup: latest block plus up to 10 block numbers (comma-separated) on Base, Ethereum, Arbitrum or Optimism in one paid call. Same fields as /v1/evm/block (number, hash, timestamp, tx count, gas, base fee). Costs less than 10 single calls. Deterministic, no LLM.

## Output

Returns a JSON object with the chain name, latest block number, and an array of block objects each containing block number, ISO timestamp, Unix timestamp, block hash, gas used, gas limit, transaction count, and base fee in gwei.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "queryParams"
   ],
   "properties": {
    "queryParams": {
     "type": "object",
     "required": [],
     "properties": {
      "chain": {
       "type": "string",
       "description": "Chain: base (default), ethereum, arbitrum, optimism"
      },
      "numbers": {
       "type": "string",
       "description": "Comma-separated block numbers (max 10). Omit for latest only."
      }
     }
    }
   }
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "json"
    },
    "example": {
     "type": "object",
     "required": [],
     "properties": {
      "chain": {
       "type": [
        "string",
        "null"
       ]
      },
      "blocks": {
       "type": [
        "array",
        "null"
       ]
      },
      "latest": {
       "type": [
        "integer",
        "null"
       ]
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "chain": "base",
  "blocks": [
   {
    "iso": "2026-01-01T00:00:00.000Z",
    "hash": "0x…",
    "number": 1,
    "gasUsed": "1",
    "txCount": 100,
    "gasLimit": "1",
    "timestamp": 1700000000,
    "baseFeeGwei": "0.01"
   }
  ],
  "latest": 1
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/evm-block-data-lookup-b2c9e9b0/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from 138-197-15-135.sslip.io](https://www.zero.xyz/host/138-197-15-135.sslip.io/llms.txt)
