# centralcity.ai Base Block Info

> centralcity.ai Base Block Info 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 the number, hash, and timestamp of a Base blockchain block by block number, or the latest block if no number is given.

## Facts

- Endpoint: POST https://centralcity.ai/api/public/x402/off_4dyneaegmq3mipil?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-info-286f01d0
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_oC59Ugu8adc_NT0Bu8MlR

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-info-286f01d0 -d '<json body>'
```

Example prompt: What are the number, hash, and timestamp of the latest block on the Base blockchain?

## When to prefer this

Use this endpoint when you need on-chain block metadata (number, hash, timestamp) from the Base blockchain, especially for verifying transaction finality, anchoring timestamps, or monitoring chain progress. Prefer it over general Ethereum RPC calls when you want a simple, pay-per-use HTTP API without managing your own node or RPC credentials.

## Known failure modes

- Block number exceeds the current chain height — returns an error or null result
- Block number is negative or non-integer — rejected by input validation
- Network or RPC node unavailable — returns a 5xx error
- No block found for the given number (e.g. future block) — empty or error response

## How this service works

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

## Output

Returns the block number, block hash (hex string), and block timestamp (Unix time or ISO datetime) for the requested Base block, or for the most recent block if no number was provided.

## 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-info-286f01d0/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)
