# Phantom API — Ethereum Latest Block

> Phantom API — Ethereum Latest Block is a paid API for AI agents from phantom-api-omega.vercel.app, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-14).

Fetches the most recent block data from the Ethereum blockchain in real time

## Facts

- Endpoint: POST https://phantom-api-omega.vercel.app/api/ethereum/block/latest
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/phantom-api-ethereum-latest-block-e985b7a7
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_n6xqgVSesTTyMrAzlQEbD

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 phantom-api-ethereum-latest-block-e985b7a7 -d '<json body>'
```

Example prompt: What's the very latest Ethereum block — give me the block number, timestamp, and hash right now.

## When to prefer this

Choose this endpoint when you need real-time Ethereum block data with pay-per-call pricing and no API key subscription overhead. Ideal for agents that only occasionally need block lookups and want to avoid committing to a monthly RPC plan. Prefer this over hosted node providers when using x402 micropayment rails.

## Known failure modes

- Node or RPC backend unavailable — returns 5xx error
- Payment not completed via x402 — returns 402 Payment Required
- Rate limiting or quota exceeded — returns 429 Too Many Requests
- Network congestion causing stale or delayed block data
- Malformed request body — returns 400 Bad Request

## How this service works

Lightning-fast access to blockchain data, smart contract insights, and Web3 infrastructure across 57+ networks. Pay-per-call via x402.

## Output

Returns structured data about the most recently mined Ethereum block, including block number, block hash, parent hash, timestamp, miner address, gas limit, gas used, transaction count, and other standard block header fields.

## 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",
     "$schema": "https://json-schema.org/draft/2020-12/schema",
     "properties": {},
     "additionalProperties": false
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST",
      "PUT",
      "PATCH"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/phantom-api-ethereum-latest-block-e985b7a7/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from phantom-api-omega.vercel.app](https://www.zero.xyz/host/phantom-api-omega.vercel.app/llms.txt)
