# Phantom API — Degen Transaction History

> Phantom API — Degen 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-14).

Retrieves paginated on-chain transaction history for a given address or address pair across blockchain networks, filtered by block range and category.

## Facts

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

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-degen-transaction-history-8904c12a -d '<json body>'
```

Example prompt: Pull the last 25 on-chain transactions for wallet 0xAbC...123, sorted newest first, including metadata, and skip any zero-value transfers.

## When to prefer this

Use this endpoint when you need historical on-chain transaction data for one or two specific wallet addresses, optionally filtered by block range and transaction category. It is ideal for auditing wallet activity, building portfolio trackers, or performing on-chain forensics. Prefer this over general blockchain explorers when you need programmatic, paginated, pay-per-call access without API key friction and when working across 57+ supported networks.

## Known failure modes

- Invalid or malformed address format returns an error
- Block range too large may result in timeout or truncated results
- Unknown or unsupported category value may return empty results
- Missing required address fields results in a validation error
- pageKey expiry or mismatch causes pagination failure
- Network not supported returns an error response
- Rate limiting or payment failure (x402) blocks the call

## 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 on-chain transactions matching the specified address(es), block range, and category filters. Each record includes transaction details such as block number, hash, from/to addresses, asset, value, and optionally full metadata. A pageKey is returned for cursor-based pagination through large result sets.

## 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-degen-transaction-history-8904c12a/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)
