# wallet-portfolio

> wallet-portfolio is a paid API for AI agents from chain.intel.rallylive.ca, paid per call via x402, $0.03/call, status unknown (last checked 2026-10-02).

Returns a wallet's complete portfolio: native token balance, all ERC-20 holdings with USD prices and values, total net worth, and NFT collection count — across Base, Ethereum, Arbitrum, Optimism, and Polygon.

## Facts

- Endpoint: GET https://chain.intel.rallylive.ca/wallet/portfolio?utm_source=zero.xyz
- Price: $0.03/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/wallet-portfolio-39c0146f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_1YkosdRV87WK8CDqckCU0

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-portfolio-39c0146f
```

Example prompt: What's the full portfolio for wallet 0x742d35Cc6634C0532925a3b844Bc454e4438f44e on Arbitrum — give me all ERC-20 balances with USD values, the native balance, and the total net worth?

## When to prefer this

Choose this endpoint when you need a complete, aggregated snapshot of a wallet's holdings — including ERC-20 tokens with live USD pricing, native balance, and NFT collection count — in a single call across Base, Ethereum, Arbitrum, Optimism, or Polygon. Prefer this over individual token-lookup or balance endpoints when you need total net worth or a full holdings breakdown rather than a single asset's data.

## Known failure modes

- Invalid or malformed wallet address returns an error
- Unsupported chain prefix returns an error or falls back to Base
- Wallet with no token holdings returns zero balances and zero net worth
- Network or RPC timeout may result in a partial or failed response
- Newly created wallets with no history may return empty portfolios

## How this service works

Wallet portfolio: native balance plus every ERC-20 holding with USD price and value, total net worth, NFT collection count. Default chain Base; prefix another: ethereum:, arbitrum:, optimism:, polygon:. $0.03 per call.

## Output

Returns the wallet's native token balance, a list of all ERC-20 tokens held with individual USD prices and calculated USD values, the wallet's total net worth in USD, and the count of distinct NFT collections — all for the specified chain (defaulting to Base).

## 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",
     "properties": {}
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/wallet-portfolio-39c0146f/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from chain.intel.rallylive.ca](https://www.zero.xyz/host/chain.intel.rallylive.ca/llms.txt)
