# Phantom API — Latest Block (Degen)

> Phantom API — Latest Block (Degen) 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 a blockchain network via the degen endpoint

## Facts

- Endpoint: POST https://phantom-api-omega.vercel.app/api/degen/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-latest-block-degen-8bba711b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_0ciw_oxVPZ-bs3qn23OB5

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-latest-block-degen-8bba711b -d '<json body>'
```

Example prompt: What's the latest block on the blockchain right now? Use Phantom API's degen endpoint to grab the current block number and hash.

## When to prefer this

Choose this endpoint when you need a lightweight, pay-per-call way to retrieve the current block height or latest block metadata without managing an RPC node. It is ideal for agents that occasionally need on-chain block data across many chains without committing to a subscription, especially when working across 57+ networks via a single unified interface.

## Known failure modes

- Network or chain temporarily unavailable — returns error or empty response
- Payment not processed (x402 payment required, $0.01 USDC) — returns 402 Payment Required
- Malformed POST body — returns 400 Bad Request
- Rate limiting or infrastructure downtime on Vercel deployment
- Unsupported chain identifier — returns error for unrecognized network

## 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 the latest block's metadata including block number (height), block hash, timestamp, and potentially parent hash and transaction count depending on the chain queried across 57+ supported networks.

## 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-latest-block-degen-8bba711b/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)
