# Solana Wallet Balance Checker

> Solana Wallet Balance Checker is a paid API for AI agents from agent-data-tools.revmesh2074.workers.dev, paid per call via x402, $0.002/call, status unknown (last checked 2026-11-19).

Returns the live SOL balance (in lamports and SOL) of a Solana mainnet wallet address, plus its SPL token accounts with mint, symbol, decimals, and amount.

## Facts

- Endpoint: GET https://agent-data-tools.revmesh2074.workers.dev/solana/balance?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-19
- Activations on Zero: 0
- Provider: agent-data-tools.revmesh2074.workers.dev
- Website: https://agent-data-tools.revmesh2074.workers.dev
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agent-data-tools-revmesh2074-workers-dev-solana-wallet-balance-checker-65823b5b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_5_yBbgyUONSOiPICeX9vg

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 agent-data-tools-revmesh2074-workers-dev-solana-wallet-balance-checker-65823b5b
```

Example prompt: What's the current SOL balance and token holdings for Solana wallet 9WzDXwBbmkg8ZTbNMqUxvQRAyrZzDsGYdLVL9zYtAWWM?

## When to prefer this

Use this endpoint when you need a quick, live read of a Solana wallet's SOL balance and SPL token holdings before executing a payment or verifying funds, especially when you don't want to maintain your own Solana RPC connection. It returns both lamports and human-readable SOL in one call. Prefer this over generic blockchain explorers when you need structured, machine-readable output for an agent workflow. Not suitable for historical balance queries or off-mainnet (devnet/testnet) addresses.

## Known failure modes

- 400 Bad Request (uncharged) — address is not valid 32-byte base58
- Public RPC node unavailable — tokens field returns null with a note instead of array
- Rate-limited by public Solana RPC — may return error or degraded token data
- Network timeout contacting Solana mainnet — slow response or failure

## How this service works

SOL balance of a Solana wallet, read live from mainnet in lamports and SOL, plus its SPL token accounts (mint, symbol for well-known tokens, decimals, amount) when the public node serves them; otherwise tokens is null with a note. Use to check a Solana wallet before a payment. An address that is not 32-byte base58 is 400, uncharged.

## Output

A JSON object containing the wallet's SOL balance as a formatted string, its raw lamports value, the current Solana slot number, the wallet address echoed back, the count of SPL token accounts, and an array of token account details (mint, symbol for well-known tokens, decimals, raw amount, formatted amount, and program). If the public node cannot serve token data, the tokens field is null with an explanatory note.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "address"
 ],
 "properties": {
  "address": {
   "type": "string",
   "description": "Solana wallet address (base58)"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "sol": {
   "type": "string"
  },
  "slot": {
   "type": "number"
  },
  "tokens": {
   "type": "array",
   "items": {
    "type": "object",
    "properties": {
     "raw": {
      "type": "string"
     },
     "mint": {
      "type": "string"
     },
     "amount": {
      "type": "string"
     },
     "symbol": {
      "type": "string"
     },
     "program": {
      "type": "string"
     },
     "decimals": {
      "type": "number"
     }
    }
   }
  },
  "address": {
   "type": "string"
  },
  "lamports": {
   "type": "string"
  },
  "tokenCount": {
   "type": "number"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agent-data-tools-revmesh2074-workers-dev-solana-wallet-balance-checker-65823b5b/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agent-data-tools.revmesh2074.workers.dev](https://www.zero.xyz/host/agent-data-tools.revmesh2074.workers.dev/llms.txt)
