# Onchain Health Net Worth

> Onchain Health Net Worth is a paid API for AI agents from onchain-health.mick8511.workers.dev, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-31).

Returns total USD net worth for an EVM wallet address across Ethereum, Base, Arbitrum, Optimism, and Polygon — including native coins and ~40 major tokens priced via Chainlink oracles

## Facts

- Endpoint: POST https://onchain-health.mick8511.workers.dev/net-worth?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-31
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/onchain-health-net-worth-db51dd99
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_foLSefEvdCkBgrz7w27oQ

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 onchain-health-net-worth-db51dd99 -d '<json body>'
```

Example prompt: What's the total USD net worth of wallet 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045 across all five chains — Ethereum, Base, Arbitrum, Optimism, and Polygon?

## When to prefer this

Choose this endpoint when you need a comprehensive, live USD net worth for an EVM wallet spanning multiple chains (Ethereum, Base, Arbitrum, Optimism, Polygon) with Chainlink-verified prices. It is ideal for portfolio valuation, treasury monitoring, or any agent task requiring accurate cross-chain asset aggregation without managing separate RPC calls or oracle integrations. Prefer it over block explorer APIs when you need both multi-chain coverage and live Chainlink pricing in a single call.

## Known failure modes

- Invalid or malformed EVM address (must match 0x[40 hex chars]) returns a validation error
- Unsupported chain name in the chains parameter returns an error
- On-chain RPC timeout or Multicall3 failure for a given chain may cause partial or error response
- Stale or unavailable Chainlink feed may affect price accuracy for a specific token
- Payment not included or insufficient (requires $0.01 USDC via x402 protocol)

## How this service works

EVM wallet net worth on Ethereum, Base, Arbitrum, Optimism and Polygon: native coin plus about 40 major tokens (USDC, USDT, DAI, WETH, WBTC, cbBTC, stETH, LINK, ARB, OP and more), each balance priced with Chainlink oracle feeds, with per-chain and overall USD totals. Live on-chain reads, one Multicall3 per chain. Free sample: https://onchain-health.mick8511.workers.dev/sample

## Output

A JSON object containing per-chain breakdowns (each with per-token balances and USD values using Chainlink oracle prices) plus an aggregated overall USD total. Each token entry includes balance, token symbol, price, and USD value. Native coins (ETH, MATIC, etc.) are included alongside ~40 major ERC-20 tokens such as USDC, USDT, DAI, WETH, WBTC, cbBTC, stETH, LINK, ARB, and OP.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "chains": {
   "type": "string",
   "description": "Comma list of chains (default all 5)"
  },
  "address": {
   "type": "string",
   "pattern": "^0x[0-9a-fA-F]{40}$",
   "description": "EVM wallet address"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/onchain-health-net-worth-db51dd99/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from onchain-health.mick8511.workers.dev](https://www.zero.xyz/host/onchain-health.mick8511.workers.dev/llms.txt)
