# Phantom API – Unichain Transaction History

> Phantom API – Unichain 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-10-20).

Retrieves paginated transaction history for addresses on the Unichain network, filtered by block range, category, and direction.

## Facts

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

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

Example prompt: Pull the last 25 transactions sent from wallet 0xAbC...123 on Unichain, sorted newest first, and include metadata — I want to see ERC-20 and external transfers only.

## When to prefer this

Choose this endpoint when you need historical on-chain transaction data specifically for the Unichain network, want fine-grained filtering by address direction, block range, and asset category, and need pagination support for large result sets. Prefer it over generic block explorers when you need structured JSON output suitable for programmatic processing by an AI agent.

## Known failure modes

- Invalid address format returns a 400 or empty result
- Block range too large may timeout or return partial results
- Unknown pageKey causes pagination to restart or error
- Unsupported category string silently ignored or errors
- Rate limiting or payment failure (x402) blocks the request
- Unichain node unavailability causes 503 or timeout

## 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 paginated list of transactions on Unichain matching the specified filters, including transaction hashes, block numbers, from/to addresses, asset categories, values, and optional metadata. A pageKey is included for fetching subsequent pages.

## 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-unichain-transaction-history-fb37b02b/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)
