# Phantom API — ApeChain Token Balances

> Phantom API — ApeChain 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 ERC-20 token balances for a given wallet address on the ApeChain network, optionally filtered to specific contract addresses.

## Facts

- Endpoint: POST https://phantom-api-omega.vercel.app/api/apechain/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-apechain-token-balances-9e7f50d5
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_kmjscSD0CqKB0aXq7DsQp

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-apechain-token-balances-9e7f50d5 -d '<json body>'
```

Example prompt: What ERC-20 token balances does the wallet 0xAbC123...789 hold on ApeChain? Also check its balance for the token contracts 0xToken1 and 0xToken2.

## When to prefer this

Use this endpoint when you specifically need token balance data on the ApeChain (APE ecosystem) network. It supports pay-per-call via x402, making it suitable for low-volume or sporadic queries without a subscription. Prefer this over generic multi-chain balance APIs when ApeChain is the target network and you want fast, lightweight lookup without managing RPC infrastructure.

## Known failure modes

- Invalid or malformed wallet address returns an error or empty result
- Unrecognized contract address returns no balance entry for that token
- ApeChain RPC node downtime may cause timeouts or 503 errors
- Missing 'owner' field in request body causes a 400 validation error
- Network-specific unavailability if ApeChain is congested or undergoing maintenance

## 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 balance entries for the specified wallet on ApeChain, each including the token contract address, token symbol/name, raw balance, and decimal-adjusted balance. When contract addresses are provided, results are filtered to only those tokens.

## 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-apechain-token-balances-9e7f50d5/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)
