# Phantom API — Token Balances Lookup

> Phantom API — Token Balances Lookup 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-12).

Fetches on-chain token balances for a given wallet address across specified ERC-20 or native contract addresses

## Facts

- Endpoint: POST https://phantom-api-omega.vercel.app/api/tempo/token/balances?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/phantom-api-token-balances-lookup-19145b1d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_3NMmBzOlTB4caWHSBTuJQ

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-token-balances-lookup-19145b1d -d '<json body>'
```

Example prompt: What are the token balances for wallet 0xAbc123...def for these contracts: 0xToken1... and 0xToken2...? Use the Phantom API to pull the live on-chain data.

## When to prefer this

Use this endpoint when you need fast, pay-per-call on-chain token balance lookups for a specific wallet and set of ERC-20 or token contracts, without needing a full node subscription. Ideal for spot checks, airdrop verification, DeFi portfolio queries, or treasury audits where you need current holdings data across multiple token contracts in a single call.

## Known failure modes

- Invalid or malformed wallet address returns an error or empty result
- Invalid contract address causes a failed or null balance lookup
- Network not supported returns an error or no data
- Rate limit or payment failure results in a 402 or 429 error
- Empty contractAddresses array may return no results or a generic balance

## 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 on-chain token balance data for the specified wallet owner across one or more contract addresses, including balance amounts for each token contract queried.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "owner": {
   "type": "string"
  },
  "contractAddresses": {
   "type": "array",
   "items": {
    "type": "string"
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/phantom-api-token-balances-lookup-19145b1d/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)
