# Base Block Info Lookup

> Base Block Info Lookup is a paid API for AI agents from centralcity.ai, paid per call via x402, $0.05/call, status unknown (last checked 2026-11-19).

Returns the block number, hash, and timestamp for a given Base blockchain block (or the latest block if no number is specified).

## Facts

- Endpoint: POST https://centralcity.ai/api/public/x402/off_2lp2cwhxyc2bm3ce?utm_source=zero.xyz
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-19
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/base-block-info-lookup-c6c02554
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_CExp20Y5Aw31V3y9n-Nj6

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 base-block-info-lookup-c6c02554 -d '<json body>'
```

Example prompt: What are the number, hash, and timestamp for Base block 18500000?

## When to prefer this

Use this endpoint when you need quick, cheap on-chain block metadata (number, hash, timestamp) from the Base L2 network without running your own node or setting up an RPC provider. Ideal for lightweight agents that need to verify block finality, anchor timestamps, or confirm block existence by number. Prefer over raw RPC calls when you want a simple REST interface with predictable pricing.

## Known failure modes

- Block number exceeds maximum safe integer — returns validation error
- Block number is in the future (not yet produced) — returns not-found or error
- Network/RPC unavailability — returns 5xx or timeout
- Malformed input type (non-integer block number) — returns schema validation error

## How this service works

A Base block's number, hash and time; the latest block when no number is given.

## Output

Returns a JSON object containing the block number (integer), block hash (hex string), and block timestamp (Unix time or ISO datetime) for the requested Base block. If no block number is provided, returns data for the most recently produced block.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "number": {
   "type": "integer",
   "maximum": 9007199254740991,
   "minimum": 0,
   "description": "The block number."
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/base-block-info-lookup-c6c02554/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from centralcity.ai](https://www.zero.xyz/host/centralcity.ai/llms.txt)
