# Phantom API — BNB Latest Block

> Phantom API — BNB 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-20).

Fetches the most recent block data from the BNB (Binance Smart) Chain via a pay-per-call Web3 infrastructure endpoint.

## Facts

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

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-bnb-latest-block-b40646a9 -d '<json body>'
```

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

## When to prefer this

Choose this endpoint when you need real-time, pay-per-call access to the latest BNB Smart Chain block without managing your own RPC node or API key subscription. It is ideal for lightweight agents that make occasional queries and want to avoid monthly subscription costs, leveraging x402 micropayments for on-demand blockchain data access across BNB specifically.

## Known failure modes

- Payment not received (402 response if x402 payment header is missing or invalid)
- Network congestion may cause momentary delays in data freshness
- BNB chain RPC node downtime returns 5xx errors
- Rate limiting if too many calls made in short succession
- Empty or malformed response if the chain is undergoing a halt or fork

## 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 metadata for the most recently produced block on the BNB Smart Chain, including block number, block hash, timestamp, gas used, miner/validator address, and the list of transactions included in that block.

## 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-bnb-latest-block-b40646a9/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)
