# Phantom API — Base Token Balances

> Phantom API — Base 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-09-14).

Returns ERC-20 token balances on the Base network for a given wallet address, optionally filtered by specific contract addresses

## Facts

- Endpoint: POST https://phantom-api-omega.vercel.app/api/base/token/balances
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/phantom-api-base-token-balances-efeaf958
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_h3DbNMUEMm6YSgj2gWwOm

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-base-token-balances-efeaf958 -d '<json body>'
```

Example prompt: What ERC-20 token balances does wallet 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045 hold on Base? Check specifically for USDC (0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913) and DAI (0x50c5725949A6F0c72E6C4a641F24049A917DB0Cb).

## When to prefer this

Use this endpoint when you need fast, pay-per-call ERC-20 token balance lookups specifically on the Base network without setting up your own RPC node or indexer. Ideal for agents that need lightweight, on-demand balance checks for one or more token contracts for a given wallet, especially when cost-per-query matters more than a subscription model.

## Known failure modes

- Invalid or malformed wallet address returns an error or empty result
- Unknown or invalid contract address returns zero balance or an error
- Network unavailability or RPC outage causes a timeout or 5xx error
- Payment failure via x402 returns a 402 Payment Required response
- Empty contractAddresses array may return all tokens or require at least one entry depending on implementation

## 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

A list of token balances for the specified owner wallet on the Base network, including token amounts for each ERC-20 contract address provided (or all held tokens if no contracts are specified).

## 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-base-token-balances-efeaf958/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)
