# Phantom API — Sonic Token Balances

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

Returns token balances for a given wallet address on the Sonic blockchain network, optionally filtered by specific contract addresses

## Facts

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

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-sonic-token-balances-d086e663 -d '<json body>'
```

Example prompt: What tokens does the Sonic wallet 0xAbc123...def456 hold? Also check balances specifically for the contracts 0xToken1... and 0xToken2....

## When to prefer this

Use this endpoint when you need fast, pay-per-call token balance lookups specifically on the Sonic blockchain network without requiring a subscription. Ideal for agents that infrequently query balances and want to avoid rate limits or API key management. Prefer over generic RPC calls when you want structured balance data returned directly without parsing raw blockchain responses.

## Known failure modes

- Invalid or malformed owner address returns an error or empty result
- Non-existent contract addresses return zero balances or are omitted
- Sonic network node downtime may cause timeout or 5xx error
- Missing required owner field returns a 400 bad request
- Payment not processed via x402 protocol returns 402 Payment Required

## 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 balances associated with the specified owner wallet on the Sonic network, each entry including the token contract address and corresponding balance amount, optionally scoped to the provided contract addresses.

## 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-sonic-token-balances-d086e663/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)
