# EVM Block Number Lookup

> EVM Block Number Lookup is a paid API for AI agents from built-with-productos-xszv.vercel.app, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-02).

Returns the current block number for a specified EVM-compatible blockchain network (Ethereum, Base, Arbitrum, or Polygon)

## Facts

- Endpoint: GET https://built-with-productos-xszv.vercel.app/v1/block-number?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/evm-block-number-lookup-33bdf496
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_k2_STKZ4UamkxMRlQOk_f

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-33bdf496
```

Example prompt: What is the current block number on Base right now?

## When to prefer this

Choose this endpoint when you need a quick, pay-per-call EVM block number lookup without setting up API keys or managing rate limits. Ideal for agents that need occasional chain-height checks across Ethereum, Base, Arbitrum, or Polygon without committing to a full Web3 node provider subscription. Best for lightweight monitoring, timestamp estimation, and liveness checks rather than high-frequency indexing.

## Known failure modes

- Invalid or unsupported network name returns an error — only 'ethereum', 'base', 'arbitrum', 'polygon' are accepted
- Payment not provided or insufficient USDC triggers a 402 Payment Required response
- Network RPC unavailability may cause delayed or failed responses
- Malformed query parameters result in schema validation errors

## How this service works

Global current weather, hourly forecasts, foreign-exchange rates, EVM reads, and deterministic utilities for AI agents. Pay per call with MPP or x402; no API key.

## Output

A JSON object containing the current block number as both a hex string and a decimal integer, along with the queried network name. Example: {"hex": "0x20f85d2", "network": "base", "block_number": 34567890}

## 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",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "network": {
       "enum": [
        "ethereum",
        "base",
        "arbitrum",
        "polygon"
       ],
       "type": "string"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "hex": "0x20f85d2",
  "network": "base",
  "block_number": 34567890
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/evm-block-number-lookup-33bdf496/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from built-with-productos-xszv.vercel.app](https://www.zero.xyz/host/built-with-productos-xszv.vercel.app/llms.txt)
