# Losbeto Chain Balance — On-Chain Wallet Portfolio Lookup

> Losbeto Chain Balance — On-Chain Wallet Portfolio Lookup is a paid API for AI agents from markets.losbeto.xyz, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-18).

Returns native ETH balance, ERC-20 token balances, transaction nonce, wallet class heuristic, and reverse ENS for any Base address

## Facts

- Endpoint: GET https://markets.losbeto.xyz/chain-balance?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-18
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/losbeto-chain-balance-on-chain-wallet-portfolio-lookup-96055a5c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_SgZQtO9Z0VKwZ7GAH8OfD

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 losbeto-chain-balance-on-chain-wallet-portfolio-lookup-96055a5c
```

Example prompt: What are the ETH, USDC, WETH, and cbBTC balances for wallet 0x742d35Cc6634C0532925a3b844Bc454e4438f44e on Base, and tell me if it looks like a whale or a newcomer?

## When to prefer this

Choose this endpoint when you need a fast, keyless, pay-per-call wallet balance snapshot on Base with built-in wallet classification and ENS resolution — especially useful for AI agents that need on-chain context without managing API subscriptions. Prefer over alternatives when you want batched multi-token balances plus intelligence metadata (wallet class, nonce, ENS) in a single call, and when paying with USDC via x402 is acceptable.

## Known failure modes

- Invalid or malformed wallet address returns an error
- Unsupported chain or Solana address may not resolve on Base
- Token list exceeding 20 tokens may be truncated or rejected
- Wallet with no on-chain activity returns zero balances and ghost classification
- Payment failure via x402 results in 402 response before data is returned
- ENS not set returns null for reverse ENS field

## How this service works

OpenAI-compatible LLM gateway at $0.005/call — change base_url, pay in USDC. Plus pay-per-call market data: multi-oracle price consensus, sentiment, forex, equities, commodities, Brazil macro (BCB/B3) and crypto. No API keys, no accounts. USDC on Base, Solana, Algorand and Polygon via x402.

## Output

Returns a JSON object containing native ETH balance, up to 20 ERC-20 token balances (defaults to USDC, WETH, cbBTC), transaction count (nonce), a heuristic wallet_class label (ghost/newcomer/steady/degen/whale), and reverse ENS name if set — all fetched via batched eth_call on Base.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "properties": {
    "queryParams": {
     "type": "object",
     "required": [
      "address",
      "tokens"
     ],
     "properties": {
      "tokens": {
       "type": "string",
       "description": "tokens parameter"
      },
      "address": {
       "type": "string",
       "description": "Wallet address — Solana base58 or EVM 0x"
      }
     }
    }
   }
  },
  "output": {
   "type": "object",
   "properties": {
    "example": {
     "type": "object",
     "description": "Native ETH balance + ERC-20 balances (batched eth_call, up to 20 tokens; defaults to USDC/WETH/cbBTC) for any address on Base, plus tx-count nonce, a heuristic wallet_class (ghost/newcomer/steady/degen/whale) and reverse ENS when set. OneSource-level data, with the intelligence layer they lack."
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/losbeto-chain-balance-on-chain-wallet-portfolio-lookup-96055a5c/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from markets.losbeto.xyz](https://www.zero.xyz/host/markets.losbeto.xyz/llms.txt)
