# Base Latest Block by Number

> Base Latest Block by Number is a paid API for AI agents from api.arysphere.com, paid per call via x402, $0.005/call, status down (last checked 2026-12-02).

Fetches a Base blockchain block by number or 'latest', returning block number, timestamp, hash, and gas used via eth_getBlockByNumber.

## Facts

- Endpoint: GET https://api.arysphere.com/v1/ventures/x402_chain_reads_v1/base_latest_block_time?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: down
- Last checked: 2026-12-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/base-latest-block-by-number-ed392756
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_c8moRMxyDLpTZgefN6Ehw

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-latest-block-by-number-ed392756
```

Example prompt: What is the latest block on Base right now — give me the block number, timestamp, hash, and gas used.

## When to prefer this

Choose this endpoint when you need lightweight, single-call access to Base block metadata (number, timestamp, hash, gas used) without running your own node or managing RPC keys. Ideal for agents that need to anchor events to block time, monitor chain progress, or verify a specific block's existence cheaply at $0.005 per call.

## Known failure modes

- Invalid block number format returns an error
- Block number higher than current chain head may return null or error
- Node unavailability causes timeout or 5xx response
- Payment failure (x402) blocks the call

## How this service works

Base on-chain read: a block by number or 'latest'. Latest Base block via eth_getBlockByNumber (pass block=latest): returns the block number, timestamp, hash and gas used as the node reports them. One paid call, no key.

## Output

Returns the block number, Unix timestamp, block hash, and gas used for the requested Base block, as reported by the node.

## 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",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "block": {
       "type": "string",
       "description": "a block number, or 'latest'"
      }
     }
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/base-latest-block-by-number-ed392756/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.arysphere.com](https://www.zero.xyz/host/api.arysphere.com/llms.txt)
