# EVM Block Number Lookup — Base, Ethereum, Arbitrum

> EVM Block Number Lookup — Base, Ethereum, Arbitrum is a paid API for AI agents from ai-data-marketplace-1042299154756.us-central1.run.app, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-15).

Returns the current latest block number for a specified EVM chain (Base, Ethereum, or Arbitrum), including decimal and hex representations.

## Facts

- Endpoint: GET https://ai-data-marketplace-1042299154756.us-central1.run.app/api/v1/evm_block_number
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/evm-block-number-lookup-base-ethereum-arbitrum-313b2ab1
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap__5dDO-K325so9glDs56oo

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-number-lookup-base-ethereum-arbitrum-313b2ab1
```

Example prompt: What's the current block number on Base right now? Give me both the decimal and hex values.

## When to prefer this

Choose this endpoint when you need a quick, real-time block number lookup for Base, Ethereum, or Arbitrum without setting up your own RPC node. It's ideal for agents that need to anchor events to block heights, verify chain progress, or synchronize on-chain logic. At $0.001 USDC per call via x402, it's cost-effective for sporadic or automated polling use cases.

## Known failure modes

- Unsupported chain name returns an error or defaults to Base
- Network timeout if the RPC provider is temporarily unavailable
- Missing or malformed query param may cause a 400 or default behavior
- Rate limiting or payment failure (x402) returns 402 Payment Required

## How this service works

Read the current block height directly from a supported Base, Ethereum, or Arbitrum public JSON-RPC provider.

## Output

A JSON object containing: success (boolean), network (chain name string), chain_id (integer), block_number (latest block as a decimal string), and block_number_hex (latest block in hexadecimal). Example: {"network":"base","success":true,"chain_id":8453,"block_number":"33752215","block_number_hex":"0x2030877"}.

## 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",
     "properties": {
      "chain": {
       "type": "string",
       "description": "base, ethereum, or arbitrum; defaults to base."
      }
     },
     "additionalProperties": true
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "required": [
      "success",
      "network",
      "chain_id",
      "block_number",
      "block_number_hex"
     ],
     "properties": {
      "network": {
       "type": "string"
      },
      "success": {
       "type": "boolean"
      },
      "chain_id": {
       "type": "integer"
      },
      "block_number": {
       "type": "string"
      },
      "block_number_hex": {
       "type": "string"
      }
     },
     "additionalProperties": true
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "network": "base",
  "success": true,
  "chain_id": 8453,
  "block_number": "33752215",
  "block_number_hex": "0x2030877"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/evm-block-number-lookup-base-ethereum-arbitrum-313b2ab1/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from ai-data-marketplace-1042299154756.us-central1.run.app](https://www.zero.xyz/host/ai-data-marketplace-1042299154756.us-central1.run.app/llms.txt)
