# LensCrypt Portfolio Analytics — Wallet Portfolio by Chain

> LensCrypt Portfolio Analytics — Wallet Portfolio by Chain is a paid API for AI agents from tolens.vercel.app, paid per call via x402, $0.05/call, status unknown (last checked 2026-09-09).

Returns the full crypto portfolio breakdown for a wallet address on a specified blockchain chain

## Facts

- Endpoint: GET https://tolens.vercel.app/api/portfolio/%7Bchain%7D/%7Baddress%7D
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-09
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/lenscrypt-portfolio-analytics-wallet-portfolio-by-chain-f06007cc
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_VlChUdiKdqzK1-SF_-PBP

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 lenscrypt-portfolio-analytics-wallet-portfolio-by-chain-f06007cc
```

Example prompt: What tokens and balances does the wallet 0xAbc123...def456 hold on Ethereum — give me a full portfolio breakdown with asset values.

## When to prefer this

Use this endpoint when you need a comprehensive on-chain portfolio snapshot for a specific wallet address on a particular blockchain. Prefer this over generic block explorers when you want structured, aggregated portfolio data with token values ready for further analysis. Ideal for DeFi dashboards, smart money tracking, or when building wallet intelligence features.

## Known failure modes

- Invalid or malformed wallet address returns error response
- Unsupported chain identifier returns error or empty result
- Wallet with no on-chain activity may return empty portfolio
- Payment failure via x402 protocol results in 402 Payment Required before data is returned
- Rate limiting or server errors may return 5xx responses
- Unindexed or very new wallets may have incomplete data

## How this service works

81 paid REST endpoints covering wallet analytics, DeFi yields, token safety, smart money tracking, whale alerts, sniper detection, GMX perps, Solana tools, protocol stats, gas tracking, DEX quotes, NFT analytics, social signals, and 8 AI-powered endpoints (MiMo V2.5). Pay USDC via x402 protocol on Base.

## Output

A JSON object containing the wallet's portfolio on the specified chain, including token balances, token names/symbols, and likely USD values or asset breakdowns, with a status field indicating success.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "properties": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "status": "ok"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/lenscrypt-portfolio-analytics-wallet-portfolio-by-chain-f06007cc/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from tolens.vercel.app](https://www.zero.xyz/host/tolens.vercel.app/llms.txt)
