# Crest Block Info — Latest Block by Chain

> Crest Block Info — Latest Block by Chain is a paid API for AI agents from data.crestsystems.ai, paid per call via x402, $0.002/call, status down (last checked 2026-09-15).

Returns the latest block details (number, timestamp, hash, TX count, gas used) for a specified EVM-compatible blockchain.

## Facts

- Endpoint: GET https://data.crestsystems.ai/data/block/:chain
- Price: $0.002/call
- Payment: x402
- Status: down
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/data-crestsystems-ai-903a93e1
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_3THE-uhHO5JnXP7Y0r30e

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 data-crestsystems-ai-903a93e1
```

Example prompt: What's the latest block on Base right now — give me the block number, timestamp, transaction count, and gas used?

## When to prefer this

Use this endpoint when you need a quick snapshot of the current chain head — block number, timestamp, hash, TX count, gas used — for Base, Ethereum, Arbitrum, or Polygon without needing full node access. Ideal for agents that need to anchor time-sensitive on-chain queries, verify block progression, or check network liveness.

## Known failure modes

- Unsupported chain value returns an error — only 'base', 'ethereum', 'arbitrum', 'polygon' are valid
- Missing 'chain' query parameter causes a 400 bad request
- Node or data provider downtime may return a 503 or timeout
- Payment failure (x402) blocks the request if USDC balance is insufficient

## How this service works

Crest · block_data — Fetch latest block data for any supported chain. Returns block number, timestamp, hash, transaction count, and gas used. Supports Base, Ethereum, Arbitrum.m, Polygon.

## Output

Returns the most recent block details for the specified chain, including block number, Unix timestamp, block hash, number of transactions in the block, and gas used.

## Example request

```json
{
 "input": {
  "type": "http",
  "method": "GET",
  "queryParams": {
   "chain": "base"
  }
 }
}
```

## 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"
     ],
     "type": "string"
    },
    "pathParams": {
     "type": "object"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "chain"
     ],
     "properties": {
      "chain": {
       "type": "string",
       "description": "Chain: base, ethereum, arbitrum, polygon"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/data-crestsystems-ai-903a93e1/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from data.crestsystems.ai](https://www.zero.xyz/host/data.crestsystems.ai/llms.txt)
