# Axiom Works Pending Block Snapshot

> Axiom Works Pending Block Snapshot 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-15).

Returns pending and latest block data from an EVM chain via eth_getBlockByNumber, including block number, hash, parent hash, timestamp, gas, base fee, tx count, miner, and head age

## Facts

- Endpoint: GET https://api.axiomworks.co.uk/chain/pending?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: down
- Last checked: 2026-11-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/axiom-works-pending-block-snapshot-f8236bee
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Nwbqw91-FTC8mBogoD4B5

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 axiom-works-pending-block-snapshot-f8236bee
```

Example prompt: What does the current pending block on Base look like — give me the block number, base fee, transaction count, and how old the latest head is.

## When to prefer this

Use this endpoint when you need a quick, pay-per-call snapshot of EVM pending block data without running your own node or subscribing to a full RPC provider. Ideal for agents that occasionally need to check gas conditions, block freshness, or pending tx volume on Base, Ethereum, Arbitrum, Optimism, or Polygon. Prefer this over full node subscriptions for lightweight, infrequent polling at $0.001 per call.

## Known failure modes

- 502 error when public RPC does not expose the pending block for the requested chain
- Invalid or unsupported chain name returns an error
- Network timeout if the upstream RPC is slow or unavailable
- Missing chain parameter defaults to base, which may not be the intended chain

## How this service works

Pending + latest block snapshot via eth_getBlockByNumber: pending number/hash/parentHash/timestamp/gas/baseFee/tx count/miner vs latest head age. Public RPCs may omit pending — then 502. Example: {chain:"base"}. $0.001.

## Output

Returns a JSON object with two sections: the pending block (number, hash, parentHash, timestamp, gasLimit, baseFeePerGas, transaction count, miner) and the latest block head age in seconds or milliseconds, allowing comparison between pending state and the current chain tip. If the public RPC omits the pending block, returns a 502 error.

## 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
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/axiom-works-pending-block-snapshot-f8236bee/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)
