# 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-20).

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

## Facts

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

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-dbc1d2c8 -d '<json body>'
```

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

## When to prefer this

Use this endpoint when you need to look up Base blockchain block metadata (number, hash, timestamp) for a specific block or the latest block. Prefer this over raw RPC calls when you want a simple, paid REST API without managing your own node or JSON-RPC infrastructure. Ideal for agents needing block confirmation times or hashes without setting up full blockchain tooling.

## Known failure modes

- Block number exceeds the current chain tip — block not yet mined, may return an error or empty result
- Block number is negative or non-integer — rejected by input schema validation
- Network or RPC connectivity issues causing timeout or service unavailability
- Block number is 0 or genesis block may have incomplete metadata on some implementations

## How this service works

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

## Output

Returns the block's number (integer), hash (hex string), and timestamp (time of the block) for the requested Base blockchain block. If no block number is provided, the latest block's details are returned.

## 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-dbc1d2c8/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)
