# centralcity.ai Base Block Lookup

> centralcity.ai Base Block 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 specified Base blockchain block, or the latest block if no number is provided.

## Facts

- Endpoint: POST https://centralcity.ai/api/public/x402/off_rc3fdapiv5he2koq?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/centralcity-ai-base-block-lookup-af180377
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_mQfYRi-MciWNy9xl7-uAR

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 centralcity-ai-base-block-lookup-af180377 -d '<json body>'
```

Example prompt: What are the number, hash, and timestamp of Base block 25000000?

## When to prefer this

Use this endpoint when you need quick, structured block metadata (number, hash, timestamp) from the Base blockchain without setting up your own RPC node. Prefer it over raw Ethereum JSON-RPC calls when you want a simple REST interface with predictable pricing. It is ideal for agents that need to anchor events to a block time, verify a block hash, or poll the latest block number.

## Known failure modes

- Block number exceeds the current chain tip — returns an error indicating the block does not yet exist
- Block number is negative or non-integer — rejected by input validation
- Network or RPC node unavailability — may return a 500 or timeout
- Requesting a very recent block that hasn't been finalized — may return stale or missing data

## How this service works

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

## Output

Returns an object containing the block's number (integer), hash (hex string), and timestamp (Unix time or ISO datetime) for the requested Base blockchain block. If no block number is provided, returns the same fields for the latest mined 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/centralcity-ai-base-block-lookup-af180377/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)
