# Phantom API — Ink Network Transaction History

> Phantom API — Ink Network 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-16).

Retrieves paginated on-chain transaction history for a given address on the Ink blockchain network, with filtering by block range, category, and zero-value exclusion.

## Facts

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

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-ink-network-transaction-history-75364f84 -d '<json body>'
```

Example prompt: Pull the last 25 transactions sent from wallet 0xABC...123 on the Ink network, sorted newest first, and include full metadata — skip any zero-value transfers.

## When to prefer this

Use this endpoint when you need historical transaction data specifically on the Ink blockchain network, with support for block-range filtering, category-based filtering, pagination, and optional metadata enrichment. Prefer this over generic block explorers when you need structured, machine-readable output suitable for agent workflows and programmatic analysis at $0.01 per call.

## Known failure modes

- Invalid or missing address fields return an error with no results
- Block range out of bounds or malformed block strings cause query failure
- Unsupported category types may return empty results silently
- Expired or invalid pageKey causes pagination restart or error
- Payment failure via x402 protocol results in 402 response before data is returned
- Network congestion or Ink node unavailability may cause timeouts

## 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 query filters, including transaction hashes, block numbers, sender/receiver addresses, value, category labels, and optional metadata. A pageKey is included when additional results are available for continued pagination.

## 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-ink-network-transaction-history-75364f84/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)
