# Phantom API — Pharos Token Balances

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

Fetches token balances for a given wallet owner address across specified ERC-20 or native token contract addresses on the Pharos network

## Facts

- Endpoint: POST https://phantom-api-omega.vercel.app/api/pharos/token/balances?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-pharos-token-balances-87640f61
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_on9UeexgHUXZ48qvlKpsV

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-pharos-token-balances-87640f61 -d '<json body>'
```

Example prompt: What are the token balances for wallet 0xAbC123...def on Pharos, specifically for the contracts 0xToken1... and 0xToken2...?

## When to prefer this

Use this endpoint when you need fast, pay-per-call token balance lookups on the Pharos network for one or more ERC-20 or compatible token contracts without setting up your own RPC infrastructure. Prefer it over generic blockchain explorers when you need structured, machine-readable balance data directly in an agent workflow at low cost ($0.01/call).

## Known failure modes

- Invalid or malformed owner address returns an error or empty result
- Invalid contract address in the array causes partial or full failure
- Address with no token holdings returns zero balances
- Network congestion or RPC timeout causes delayed or failed response
- Unsupported token standard on Pharos network may return no data

## 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 mapping of token contract addresses to their respective balances held by the specified owner address, providing a real-time snapshot of on-chain token holdings on the Pharos network.

## 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-pharos-token-balances-87640f61/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)
