# Agent Data Tools – Wallet Portfolio

> Agent Data Tools – Wallet Portfolio is a paid API for AI agents from agent-data-tools.revmesh2074.workers.dev, paid per call via x402, $0.005/call, status unknown (last checked 2026-10-30).

Returns the token holdings and USD values for a given wallet address on Base, Ethereum, Arbitrum, or Optimism, priced via Uniswap v3 spot prices.

## Facts

- Endpoint: GET https://agent-data-tools.revmesh2074.workers.dev/wallet/portfolio?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-30
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agent-data-tools-wallet-portfolio-7a4308e8
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_un7WnVcnXzOWrLiJlMe2u

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-wallet-portfolio-7a4308e8
```

Example prompt: What's the current portfolio value and token breakdown for wallet 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045 on Base — including any USDC and ETH holdings?

## When to prefer this

Use this endpoint when you need a real-time USD valuation of a wallet's on-chain token holdings across Base, Ethereum, Arbitrum, or Optimism, priced at live Uniswap v3 spot rates, without needing an API key or account. Prefer this over centralized portfolio APIs when you need decentralized, on-chain accuracy and pay-per-call pricing with no subscription commitment.

## Known failure modes

- Invalid or malformed wallet address returns an error
- Unsupported chain value returns a validation error
- Token not traded on Uniswap v3 against USDC or WETH appears in 'unpriced' array
- Network or RPC timeout may result in a failed call (not charged)
- More than 20 extra tokens passed in the 'tokens' param may be rejected

## How this service works

USD value of a wallet on Base, Ethereum, Arbitrum or Optimism: native ETH plus major tokens (USDC and WETH everywhere, the common Base tokens on Base) and up to 20 tokens you add, each priced from its deepest Uniswap v3 pool, read live from the chain. Returns holdings, total and anything that could not be priced. Not a full token inventory. Use to check what a wallet is worth before trading, lending or paying.

## Output

A JSON object containing the wallet address, chain name and ID, current block number, ETH/USD rate, an array of holdings (each with token address, symbol, balance, USD price, quote source, and USD value), the total portfolio USD value, a list of unpriced tokens, and the count of tokens checked.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "address"
 ],
 "properties": {
  "chain": {
   "enum": [
    "base",
    "eth",
    "arb",
    "op"
   ],
   "type": "string",
   "description": "Network: base (default), eth, arb or op"
  },
  "tokens": {
   "type": "string",
   "description": "Optional extra comma-separated 0x token addresses (up to 20)"
  },
  "address": {
   "type": "string",
   "description": "0x wallet address"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "note": {
   "type": "string"
  },
  "block": {
   "type": "number"
  },
  "chain": {
   "type": "string"
  },
  "ethUsd": {
   "type": "number"
  },
  "method": {
   "type": "string"
  },
  "address": {
   "type": "string"
  },
  "chainId": {
   "type": "number"
  },
  "holdings": {
   "type": "array",
   "items": {
    "type": "object",
    "properties": {
     "token": {
      "type": "string"
     },
     "symbol": {
      "type": "string"
     },
     "balance": {
      "type": "string"
     },
     "priceUsd": {
      "type": "number"
     },
     "quotedIn": {
      "type": "string"
     },
     "valueUsd": {
      "type": "number"
     }
    }
   }
  },
  "totalUsd": {
   "type": "number"
  },
  "unpriced": {
   "type": "array",
   "items": {}
  },
  "tokensChecked": {
   "type": "number"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agent-data-tools-wallet-portfolio-7a4308e8/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)
