# SiteCheck EVM Block Lookup

> SiteCheck EVM Block Lookup is a paid API for AI agents from api.sitecheck-api.workers.dev, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-28).

Fetches block details (hash, timestamp, gas usage, transaction count, base fee) for a specified block on EVM-compatible chains like Base, Ethereum, Arbitrum, Optimism, or Polygon.

## Facts

- Endpoint: GET https://api.sitecheck-api.workers.dev/api/evm/block?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-28
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/sitecheck-evm-block-lookup-30416290
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_x3fK37M8FFXBLHfCsj89n

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 sitecheck-evm-block-lookup-30416290
```

Example prompt: What are the details of the latest block on Base — hash, timestamp, gas used, and transaction count?

## When to prefer this

Use this endpoint when you need lightweight, pay-per-call EVM block metadata (hash, gas, transaction count, base fee) across multiple chains without setting up your own RPC node. Particularly useful for agents monitoring gas conditions, verifying block timestamps, or building audit trails across Base, Ethereum, Arbitrum, Optimism, or Polygon.

## Known failure modes

- Invalid chain name returns an error (only base, ethereum, arbitrum, optimism, polygon supported)
- Non-existent block number returns an error or empty response
- Network or RPC provider unavailability may cause timeouts
- Latest block may lag by a few seconds due to RPC propagation delay

## How this service works

An EVM block by number, or the latest one: hash, time, transaction count, gas used and limit, and base fee in gwei. Read over public RPC.

## Output

Returns a JSON object containing the block hash, ISO timestamp, chain name, block number, gas used, gas limit, base fee in Gwei, transaction count, the RPC source used, and a checked-at timestamp.

## 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"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [],
     "properties": {
      "chain": {
       "type": "string",
       "description": "base (default), ethereum, arbitrum, optimism or polygon"
      },
      "number": {
       "type": "string",
       "description": "Block number, or latest (default)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "hash": "0x5dcedf991c9e3995db2c96d014395d030d829269776aebe2869c0b33cc3cc025",
  "time": "2026-10-14T04:15:47.000Z",
  "chain": "base",
  "number": 52581000,
  "source": "https://base-rpc.publicnode.com (eth_getBlockByNumber)",
  "gasUsed": 39201775,
  "gasLimit": 400000000,
  "checkedAt": "2026-10-14T04:49:18.585Z",
  "disclaimer": "Information only, not financial advice.",
  "baseFeeGwei": 0.005,
  "transactionCount": 187
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/sitecheck-evm-block-lookup-30416290/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.sitecheck-api.workers.dev](https://www.zero.xyz/host/api.sitecheck-api.workers.dev/llms.txt)
