# Wallet Balance (EVM + Solana)

> Wallet Balance (EVM + Solana) is a paid API for AI agents from x402-seller-pmlm.onrender.com, paid per call via x402, $0.003/call, status unknown (last checked 2026-10-12).

Returns native coin and token balances with live USD values for any EVM or Solana wallet address, supporting ENS names and multi-chain queries in a single call.

## Facts

- Endpoint: GET https://x402-seller-pmlm.onrender.com/balance?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/wallet-balance-evm-solana-1e662b21
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_l1cfA748V1vSN0HURWM1R

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 wallet-balance-evm-solana-1e662b21
```

Example prompt: What are the current token balances and total USD portfolio value for vitalik.eth across all EVM chains — include Ethereum, Base, Arbitrum, and Polygon?

## When to prefer this

Use this endpoint when you need live, multi-chain wallet balances with USD pricing in a single API call, especially when the wallet might be identified by an ENS name or spans multiple EVM chains. It is ideal for portfolio dashboards, DeFi agents, and any workflow needing aggregated USD value across Ethereum, Base, Arbitrum, Polygon, and/or Solana without making separate chain-specific calls.

## Known failure modes

- 400 Bad Request: address parameter is missing, malformed, or exceeds 64 characters
- 422 Unprocessable Entity: address found nothing on-chain or the target chain is unreachable
- 503 Service Unavailable: the service is temporarily busy; retry after a short delay
- ENS resolution failure if the ENS name does not resolve to a valid address
- Token contracts/mints not found on the specified chain return zero balances or are omitted

## How this service works

Wallet balance: token balances and USD portfolio value for any wallet, read live onchain. EVM (Ethereum, Base, Arbitrum, Polygon in one call; ENS names work) or Solana (SOL + SPL tokens). Use to check a wallet before paying, trading or airdrops. Pass address, optional chain and tokens. Returns per-chain native + ERC-20/SPL balances, prices and total USD. 0.003 USDC/call; failed calls are free.

## Output

Returns a JSON object with the queried wallet address, optional ENS name, a per-chain breakdown (each with native coin balance and an array of token balances including symbol, amount, and USD value), and a totalUsd figure summing all holdings. Also includes a generatedAt timestamp.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "address"
     ],
     "properties": {
      "chain": {
       "enum": [
        "all",
        "ethereum",
        "base",
        "arbitrum",
        "polygon",
        "solana"
       ],
       "type": "string",
       "description": "EVM: one chain or all (default). Solana addresses are detected automatically"
      },
      "tokens": {
       "type": "string",
       "description": "Optional extra token contracts (EVM, single chain) or SPL mints, comma-separated, max 20"
      },
      "address": {
       "type": "string",
       "maxLength": 64,
       "minLength": 3,
       "description": "0x EVM address, ENS name (name.eth) or Solana address"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "required": [
      "address",
      "chains",
      "totalUsd"
     ],
     "properties": {
      "ens": {
       "type": "string"
      },
      "chains": {
       "type": "array",
       "items": {
        "type": "object",
        "properties": {
         "chain": {
          "type": "string"
         },
         "native": {
          "type": "object"
         },
         "tokens": {
          "type": "array",
          "items": {
           "type": "object"
          }
         },
         "totalUsd": {
          "type": "number"
         }
        }
       }
      },
      "address": {
       "type": "string"
      },
      "totalUsd": {
       "type": "number"
      },
      "generatedAt": {
       "type": "string"
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/wallet-balance-evm-solana-1e662b21/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-seller-pmlm.onrender.com](https://www.zero.xyz/host/x402-seller-pmlm.onrender.com/llms.txt)
