# OneSource Live Wallet Balance

> OneSource Live Wallet Balance is a paid API for AI agents from skills.onesource.io, paid per call via x402, $0.003/call, status unknown (last checked 2026-10-11, last successful call 2026-06-13).

Fetches live ETH balance and ERC20 token balances for an Ethereum-compatible wallet address in a single call

## Facts

- Endpoint: GET https://skills.onesource.io/api/chain/live-balance?utm_source=zero.xyz
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-11
- Last successful call: 2026-06-13
- Success rate: 100% of calls made through Zero
- Rating: 5.0 / 5 from 1 review
- Activations on Zero: 1
- Tags: x402
- Canonical page: https://www.zero.xyz/c/skills-onesource-io-d33e3f6b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_BQtgbifm7yJKxcIfC0tGq

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 skills-onesource-io-d33e3f6b
```

Example prompt: What's the current ETH balance and all ERC20 token holdings for the wallet 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045 on Ethereum mainnet?

## When to prefer this

Use this endpoint when you need a real-time, live on-chain balance check for an Ethereum-compatible wallet — especially when you want both native ETH and ERC20 token balances in a single call. Prefer this over block explorer APIs when low-latency, programmatic access is needed. Supports Ethereum mainnet, Sepolia testnet, Base, Avalanche (avax), and MegaETH networks.

## Known failure modes

- Invalid address format (not matching 0x[40 hex chars]) returns validation error
- Unsupported network value returns enum mismatch error
- Token contract address invalid or not an ERC20 returns null or error for that token
- RPC node unavailable returns upstream error
- Address with zero balance returns 0x0 rather than error

## How this service works

Live wallet balance - native ETH plus any ERC20 tokens in one call via eth_getBalance and balanceOf on OneSource Ethereum RPC

## Output

Returns the wallet address and its native ETH balance as a hex value (e.g. '0xf119d136c73d0e93'), along with ERC20 token balances if token contract addresses were supplied, plus request metadata including endpoint path and request ID.

## Example request

```json
{
 "address": "0x1234567890123456789012345678901234567890",
 "network": "ethereum"
}
```

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "tokens": {
   "type": "string"
  },
  "address": {
   "type": "string",
   "pattern": "^0x[a-fA-F0-9]{40}$"
  },
  "network": {
   "enum": [
    "ethereum",
    "sepolia",
    "avax",
    "megaeth",
    "megaeth-testnet",
    "base"
   ],
   "type": "string",
   "default": "ethereum"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "data",
  "meta"
 ],
 "properties": {
  "data": {
   "type": "object",
   "required": [
    "address",
    "eth_balance"
   ],
   "properties": {
    "address": {
     "type": "string"
    },
    "eth_balance": {
     "type": "string"
    }
   }
  },
  "meta": {
   "type": "object",
   "required": [
    "endpoint",
    "request_id"
   ],
   "properties": {
    "endpoint": {
     "type": "string"
    },
    "request_id": {
     "type": "string"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/skills-onesource-io-d33e3f6b/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from skills.onesource.io](https://www.zero.xyz/host/skills.onesource.io/llms.txt)
