# Phantom API — Avalanche Latest Block

> Phantom API — Avalanche 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-10-17).

Fetches the most recent block data from the Avalanche blockchain network

## Facts

- Endpoint: POST https://phantom-api-omega.vercel.app/api/avalanche/block/latest?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-17
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/phantom-api-avalanche-latest-block-ce3848a3
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_qDqBkChIuibVU-TZZX4DO

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-avalanche-latest-block-ce3848a3 -d '<json body>'
```

Example prompt: What's the latest block on the Avalanche network right now — give me the block number, hash, and timestamp?

## When to prefer this

Choose this endpoint when you need real-time access to the latest Avalanche block without managing your own RPC node or API key subscription. It is especially useful for pay-per-call scenarios where you only need occasional Avalanche block lookups and do not want ongoing infrastructure costs. Prefer this over self-hosted solutions when lightweight, on-demand blockchain data retrieval is sufficient.

## Known failure modes

- Network or RPC node unavailability returns a 5xx error
- Payment of $0.01 USDC not provided or invalid returns a 402 Payment Required
- Avalanche network congestion may cause delayed or stale block data
- Malformed request body returns a 400 validation error

## 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 produced block on the Avalanche network, including block number/height, block hash, parent hash, timestamp, transaction count, and other block-level metadata.

## 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-avalanche-latest-block-ce3848a3/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)
