# Phantom API — Linea Token Transfers

> Phantom API — Linea Token Transfers 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 token transfer history for a given address or contract on the Linea blockchain network, with pagination and block range filtering.

## Facts

- Endpoint: POST https://phantom-api-omega.vercel.app/api/linea/token/transfers?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-linea-token-transfers-0f2e2c6e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ZpJOotZPIa1KSx-1pRqP-

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-linea-token-transfers-0f2e2c6e -d '<json body>'
```

Example prompt: Show me all token transfers for wallet 0xAbC123... on the Linea network, sorted newest first, limited to 25 results starting from block 5000000 to block 6000000.

## When to prefer this

Choose this endpoint when you need token transfer history specifically on the Linea L2 network. It is ideal when you need block-range filtering, pagination over large datasets, or filtering transfers by specific token contracts. Prefer this over generic block explorers when you need structured JSON output suitable for programmatic processing.

## Known failure modes

- Invalid wallet or contract address format returns an error or empty result
- fromBlock greater than toBlock causes a bad request error
- Invalid pageKey leads to pagination failure or empty response
- maxCount exceeding API limits returns an error
- Linea network outage or indexer lag causes stale or failed responses
- Missing required owner or contractAddresses field returns a validation error

## 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 list of token transfer events for the queried address or contract on the Linea network, including sender, recipient, token contract, amount, block number, transaction hash, and a pagination key for fetching subsequent pages.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "order": {
   "enum": [
    "asc",
    "desc"
   ],
   "type": "string"
  },
  "owner": {
   "type": "string"
  },
  "pageKey": {
   "type": "string"
  },
  "toBlock": {
   "type": "string"
  },
  "maxCount": {
   "type": "number"
  },
  "fromBlock": {
   "type": "string"
  },
  "contractAddresses": {
   "type": "array",
   "items": {
    "type": "string"
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/phantom-api-linea-token-transfers-0f2e2c6e/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)
