# Phantom API — Avalanche Transaction History

> Phantom API — Avalanche 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-13).

Retrieves paginated transaction history for Avalanche blockchain addresses, filtered by block range, category, and direction.

## Facts

- Endpoint: POST https://phantom-api-omega.vercel.app/api/avalanche/tx/history?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/phantom-api-avalanche-transaction-history-b75a6f63
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_mUIR9SVjbqXulPpLpsB5p

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

Example prompt: Pull the last 25 transaction history entries on the Avalanche network for wallet 0xAbC123... sorted newest first, including metadata, and skip any zero-value transfers.

## When to prefer this

Choose this endpoint when you need structured, paginated Avalanche transaction history with fine-grained filtering by address, block range, and asset category. Prefer over raw RPC calls when you need metadata enrichment or multi-category filtering in a single request.

## Known failure modes

- Invalid address format returns a 400 error
- Block range too large may result in timeout or truncated results
- Unknown category values may be silently ignored or cause a 400
- Missing both fromAddress and toAddress may return an error or empty result
- pageKey expiry can cause pagination gaps if not used promptly
- Payment failure via x402 returns 402 before any 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 paginated list of Avalanche transactions matching the specified filters, including transaction hashes, block numbers, from/to addresses, asset categories, and optional metadata. A pageKey is returned when more results are available for subsequent pagination calls.

## 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-avalanche-transaction-history-b75a6f63/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)
