# Phantom API — Polygon Token Balances

> Phantom API — Polygon 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).

Fetches ERC-20 token balances for a wallet address on the Polygon network, optionally filtered by specific contract addresses

## Facts

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

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-polygon-token-balances-fdbf7157 -d '<json body>'
```

Example prompt: What are all the ERC-20 token balances for the Polygon wallet 0xAbC123...? Also check the balances for contract addresses 0xTokenA... and 0xTokenB... specifically.

## When to prefer this

Use this endpoint when you need fast, pay-per-call ERC-20 token balance data specifically on the Polygon network without committing to a subscription. Ideal for agents that need occasional wallet lookups, portfolio checks, or token verification on Polygon. Prefer over full node RPC calls when you want a simple REST interface with predictable per-call costs via USDC micropayments.

## Known failure modes

- Invalid or malformed wallet address returns an error
- Non-existent or invalid contract address may return zero balance or error
- Rate limits or payment failures via x402 protocol return 402 Payment Required
- Polygon network outage or RPC issues may cause timeouts or incomplete data
- 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

Returns a list of ERC-20 token balances for the specified wallet owner on the Polygon network, including token amounts and contract details, optionally scoped to specific contract addresses provided in the request.

## 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-polygon-token-balances-fdbf7157/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)
