# Axiomworks EVM Block Number & Chain Tip

> Axiomworks EVM Block Number & Chain Tip is a paid API for AI agents from api.axiomworks.co.uk, paid per call via x402, $0.001/call, status down (last checked 2026-11-16).

Returns the latest, safe, and finalized block heights plus head age in seconds for Base, Ethereum, Arbitrum, Optimism, or Polygon via eth_blockNumber/eth_getBlockByNumber.

## Facts

- Endpoint: GET https://api.axiomworks.co.uk/chain/block-number?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: down
- Last checked: 2026-11-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/axiomworks-evm-block-number-chain-tip-d6ef0a68
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_FtLzqDC-nSbjvtwtyB-Tp

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 axiomworks-evm-block-number-chain-tip-d6ef0a68
```

Example prompt: What's the current block height on Base, and how fresh is the chain tip — is it up to date?

## When to prefer this

Use this endpoint when you need a lightweight, real-time snapshot of the current EVM chain tip — specifically the latest, safe, and finalized block heights along with head age — without needing full node infrastructure. Prefer it over a full network-info call when you only need block height data and want to minimize cost. It is ideal for pre-transaction checks, liveness monitoring, and block-indexed queries across Base, Ethereum, Arbitrum, Optimism, or Polygon.

## Known failure modes

- Unsupported chain value returns an error — only base, ethereum, arbitrum, optimism, polygon are accepted
- Network or RPC node outage may cause timeout or 5xx error
- Payment of $0.001 USDC required; missing or invalid x402 payment returns 402

## How this service works

Latest block height (chain tip) plus safe/finalized heights and head age in seconds, via eth_blockNumber/eth_getBlockByNumber. Base/Ethereum/Arbitrum/Optimism/Polygon. Example: {chain:"base"}. $0.001.

## Output

A JSON object containing the latest block number, safe block number, finalized block number, chain ID, chain name, the data source (eth_getBlockByNumber), the block timestamp in ISO 8601, and head_age_s (how many seconds have elapsed since the latest block was produced).

## 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"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "chain": {
       "enum": [
        "base",
        "ethereum",
        "arbitrum",
        "optimism",
        "polygon"
       ],
       "type": "string",
       "description": "EVM chain (default base)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "safe": {
       "type": [
        "number",
        "null"
       ]
      },
      "block": {
       "type": "number"
      },
      "finalized": {
       "type": [
        "number",
        "null"
       ]
      },
      "head_age_s": {
       "type": "number"
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "safe": 53552055,
  "block": 53552082,
  "chain": "base",
  "source": "eth_getBlockByNumber",
  "chain_id": 8453,
  "finalized": 53551667,
  "timestamp": "2026-11-05T15:45:11.000Z",
  "head_age_s": 0
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/axiomworks-evm-block-number-chain-tip-d6ef0a68/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.axiomworks.co.uk](https://www.zero.xyz/host/api.axiomworks.co.uk/llms.txt)
