# Phantom API – Hyperliquid Latest Block

> Phantom API – Hyperliquid 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-15).

Fetches the most recent block data from the Hyperliquid blockchain via Phantom's Web3 infrastructure layer

## Facts

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

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-hyperliquid-latest-block-3eb8d81f -d '<json body>'
```

Example prompt: What's the latest block on Hyperliquid right now? Pull the current block number, timestamp, and any available transaction data from the chain.

## When to prefer this

Choose this endpoint when you need fast, pay-per-call access to the current Hyperliquid chain head without managing your own node or RPC subscription. Ideal for lightweight agents that only need occasional block lookups without committing to a monthly RPC plan.

## Known failure modes

- Empty or malformed request body returns a 400 error
- Hyperliquid node unavailability causes a 503 or timeout
- Payment not included or invalid results in a 402 Payment Required response
- Rate limiting if too many calls are made in rapid succession
- Stale data if the Hyperliquid network is experiencing congestion or reorgs

## 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 JSON containing the latest Hyperliquid block's number, hash, timestamp, and associated transaction metadata, reflecting the current head of the Hyperliquid chain.

## 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-hyperliquid-latest-block-3eb8d81f/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)
