# Phantom API — Berachain NFT Sales

> Phantom API — Berachain NFT Sales 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).

Retrieves historical NFT sales data on the Berachain network, filterable by block range, contract address, limit, and sort order.

## Facts

- Endpoint: POST https://phantom-api-omega.vercel.app/api/berachain/nft/sales
- 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-berachain-nft-sales-d987d285
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_MNi8zNrKhaJRVzHwfu9Mc

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-berachain-nft-sales-d987d285 -d '<json body>'
```

Example prompt: Pull the last 50 NFT sales on Berachain for contract address 0xAbC123... sorted by most recent first, from block 1000000 to 1050000.

## When to prefer this

Use this endpoint when you need historical or recent NFT sales data specifically on the Berachain network, especially when you need block-range filtering, contract-level scoping, or sorted pagination. Prefer this over generic blockchain explorers when you need structured, programmatic access to Berachain NFT sale events paid per-call without subscription overhead.

## Known failure modes

- Invalid contract address format returns an error
- fromBlock greater than toBlock returns empty results or an error
- Limit value out of acceptable range may be rejected
- Blocks too far in the past may exceed data availability
- Payment failure via x402 results in 402 response before data is returned

## 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 a list of NFT sale records on Berachain matching the specified filters, including details such as transaction hashes, block numbers, buyer/seller addresses, token IDs, and sale prices, paginated by the requested limit.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "limit": {
   "type": "number"
  },
  "order": {
   "enum": [
    "asc",
    "desc"
   ],
   "type": "string"
  },
  "toBlock": {
   "type": "number"
  },
  "fromBlock": {
   "type": "number"
  },
  "contractAddress": {
   "type": "string"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/phantom-api-berachain-nft-sales-d987d285/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)
