# AUN Base Block Lookup

> AUN Base Block Lookup is a paid API for AI agents from a-upgradenet.com, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-22).

Returns the latest confirmed block data from the Base (Ethereum L2) blockchain, including block number, gas usage, transaction count, and base fee.

## Facts

- Endpoint: POST https://a-upgradenet.com/x402/base-block?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-22
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/aun-base-block-lookup-2db1a9e2
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Kit_hSWFGU-h8SWQ6TvbV

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 aun-base-block-lookup-2db1a9e2 -d '<json body>'
```

Example prompt: What does the latest confirmed block on Base look like — give me the block number, transaction count, gas used, and current base fee in gwei.

## When to prefer this

Choose this endpoint when you need lightweight, low-cost, real-time Base blockchain block metadata — specifically block number, gas, transaction count, and base fee — without running your own node or paying for a heavy RPC subscription. At $0.001 USDC per call it is well-suited for frequent polling or monitoring tasks. Prefer a full RPC provider if you need transaction-level detail, historical data, or access to other EVM chains.

## Known failure modes

- Network or RPC node unavailability returns an error status
- Malformed or missing request body may return a 400 or 422 error
- Payment failure (x402) returns a 402 Payment Required before data is served
- Base chain reorganization may cause briefly inconsistent block data
- Rate limiting or quota exhaustion may result in 429 responses

## How this service works

Base Latest Block: current Base mainnet block number, timestamp, base fee and gas used. $0.001 per call.

## Output

Returns a JSON object containing the chain name ('base'), chain ID (8453), current block number, number of transactions in that block, total gas used, base fee in gwei, Unix timestamp, and ISO 8601 formatted time, along with a status field indicating the query completed successfully.

## 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",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "type": "object",
     "properties": {}
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "chain": "base",
  "status": "completed",
  "chain_id": 8453,
  "gas_used": "12000000",
  "iso_time": "2026-10-13T00:00:00.000Z",
  "tx_count": 180,
  "timestamp": 1760000000,
  "block_number": "21000000",
  "base_fee_gwei": "0.004"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/aun-base-block-lookup-2db1a9e2/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from a-upgradenet.com](https://www.zero.xyz/host/a-upgradenet.com/llms.txt)
