# Vybe Solana Analytics API – Empty Token Accounts

> Vybe Solana Analytics API – Empty Token Accounts is a paid API for AI agents from x402-api.vybenetwork.xyz, paid per call via x402, $0.003/call, status unknown (last checked 2026-10-12).

Returns a paginated list of empty (zero-balance) token accounts associated with a given Solana wallet address, including rent details.

## Facts

- Endpoint: POST https://x402-api.vybenetwork.xyz/v4/wallets/%7BownerAddress%7D/empty-accounts?utm_source=zero.xyz
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/vybe-solana-analytics-api-empty-token-accounts-c5da8951
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_eZh3m9l5O14LyayfBGRhu

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 vybe-solana-analytics-api-empty-token-accounts-c5da8951 -d '<json body>'
```

Example prompt: Show me all the empty SPL token accounts for Solana wallet 7v91N7iZ9mNicL8WfG6cgSCKyRXydQjLh6UYBWwm6y1Q — sort them by rent value descending so I can see which ones are worth closing first.

## When to prefer this

Use this endpoint when you need to identify empty (zero-balance) SPL token accounts for a specific Solana wallet, especially for rent reclamation workflows. Prefer this over generic wallet balance endpoints when the specific goal is finding closeable or dormant accounts that are consuming SOL rent. Best suited for wallet cleanup, portfolio optimization, or on-chain accounting tasks on Solana.

## Known failure modes

- Invalid or malformed ownerAddress returns a 400 error
- Payment not provided or insufficient USDC via x402 returns a 402 Payment Required
- Non-existent wallet address returns empty results list
- Using both sortByAsc and sortByDesc simultaneously returns a 400 error
- Rate limiting or network issues return 429 or 5xx errors
- Page number beyond available results returns empty data array

## How this service works

Read access to Solana on-chain data — tokens, wallets, markets, prices, trades, transfers. No API key, no signup. Pay in USDC per request with the x402 protocol; the per-route price is declared in `x-payment-info`. WebSocket streaming uses prepaid credits.

## Output

A paginated list of empty token accounts for the given wallet, each including the token account address, mint address, token name, symbol, decimals, and the rent cost in USD. Useful for identifying accounts that can be closed to reclaim SOL.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "ownerAddress"
 ],
 "properties": {
  "page": {
   "type": "integer",
   "description": "Page number to return (zero-indexed). Defaults to 0."
  },
  "limit": {
   "type": "integer",
   "description": "Maximum number of empty accounts to return. Defaults to 1000."
  },
  "sortByAsc": {
   "type": "string",
   "description": "Sort ascending by 'tokenAccountAddress', 'mintAddress', 'name', 'symbol', 'decimals', or 'rentUsd'. If omitted, no sorting is applied. Only one of `sortByAsc` or `sortByDesc` can be used."
  },
  "sortByDesc": {
   "type": "string",
   "description": "Sort descending by 'tokenAccountAddress', 'mintAddress', 'name', 'symbol', 'decimals', or 'rentUsd'. If omitted, no sorting is applied. Only one of `sortByAsc` or `sortByDesc` can be used."
  },
  "ownerAddress": {
   "type": "string",
   "description": "The Solana wallet address to query."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "$ref": "#/components/schemas/EmptyAccountsResponse"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/vybe-solana-analytics-api-empty-token-accounts-c5da8951/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-api.vybenetwork.xyz](https://www.zero.xyz/host/x402-api.vybenetwork.xyz/llms.txt)
