# Phantom API — Berachain Transaction History

> Phantom API — Berachain Transaction History 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).

Retrieves paginated transaction history for addresses on the Berachain network, with filtering by block range, category, and address.

## Facts

- Endpoint: POST https://phantom-api-omega.vercel.app/api/berachain/tx/history
- 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-berachain-transaction-history-edd0d31c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_FWcTmygoZMJiBqcJzK9wS

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-transaction-history-edd0d31c -d '<json body>'
```

Example prompt: Pull the last 50 transactions for Berachain address 0xAbC...123, ordered from newest to oldest, including metadata and excluding zero-value transfers.

## When to prefer this

Use this endpoint when you need historical transaction data specifically on the Berachain network, with support for filtering by address, block range, transaction category, and ordering. Prefer this over generic blockchain explorers when you need programmatic, paginated, pay-per-call access without requiring an API key subscription.

## Known failure modes

- Invalid or malformed address returns an error or empty result
- Block range too large may result in timeout or truncated results
- Invalid pageKey causes pagination failure
- Unsupported category values may be silently ignored or return an error
- Network unavailability returns a 5xx error
- Payment failure (x402) blocks access to the endpoint

## 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

A paginated list of transactions matching the query filters, including transaction hashes, block numbers, addresses, asset transfers, optional metadata, and a pageKey for fetching the next page of results.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "order": {
   "enum": [
    "asc",
    "desc"
   ],
   "type": "string"
  },
  "pageKey": {
   "type": "string"
  },
  "toBlock": {
   "type": "string"
  },
  "category": {
   "type": "array",
   "items": {
    "type": "string"
   }
  },
  "maxCount": {
   "type": "number"
  },
  "fromBlock": {
   "type": "string"
  },
  "toAddress": {
   "type": "string"
  },
  "fromAddress": {
   "type": "string"
  },
  "withMetadata": {
   "type": "boolean"
  },
  "excludeZeroValue": {
   "type": "boolean"
  }
 }
}
```

## More

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