# Phantom API — Citrea Latest Block

> Phantom API — Citrea 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-16).

Fetches the most recent block data from the Citrea blockchain network

## Facts

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

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-citrea-latest-block-393344f1 -d '<json body>'
```

Example prompt: What's the latest block on the Citrea network right now? I need the block number, hash, and timestamp.

## When to prefer this

Use this endpoint when you specifically need the latest block from the Citrea network (a Bitcoin Layer 2 / ZK rollup chain). Prefer this over generic RPC calls when you want a pay-per-call model without managing API keys, and when Citrea-specific data is required rather than Ethereum mainnet or other EVM chains.

## Known failure modes

- Network or RPC node unavailability returns an error response
- Citrea network downtime or reorganization may return stale or unexpected data
- Payment failure (insufficient USDC balance via x402) returns 402 Payment Required
- Malformed request body returns 400 Bad Request
- Cold-start latency on serverless deployment may cause timeouts

## 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 data from the Citrea blockchain, expected to include block number (height), block hash, timestamp, and potentially transaction count or other block header fields typical of EVM-compatible chains.

## 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-citrea-latest-block-393344f1/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)
