# LensCrypt PnL Analytics — Wallet Profit & Loss by Chain

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

Returns profit and loss analytics for a given wallet address on a specified blockchain chain

## Facts

- Endpoint: GET https://tolens.vercel.app/api/pnl/%7Bchain%7D/%7Baddress%7D
- Price: $0.15/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/lenscrypt-pnl-analytics-wallet-profit-loss-by-chain-a3c64730
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_TadOKIROhhLKgeFdnfual

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-pnl-analytics-wallet-profit-loss-by-chain-a3c64730
```

Example prompt: What's the profit and loss breakdown for wallet 0xabc123...def on Ethereum — am I net positive or negative overall?

## When to prefer this

Use this endpoint when you need on-chain profit and loss data for a specific wallet address on a named blockchain. Prefer this over generic block explorers when you need computed PnL figures rather than raw transaction history. Best suited for analyzing trader performance, auditing wallet profitability, or building portfolio dashboards across multiple chains.

## Known failure modes

- Invalid or malformed wallet address returns error response
- Unsupported chain identifier results in 404 or error
- Wallet with no transaction history may return empty or zero PnL
- Payment failure via x402 protocol (insufficient USDC balance) blocks the request
- Rate limiting or server errors on tolens.vercel.app returning 5xx

## 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 response containing profit and loss data for the specified wallet on the given chain, including realized and/or unrealized gains, trading performance metrics, and overall PnL summary figures.

## 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-pnl-analytics-wallet-profit-loss-by-chain-a3c64730/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)
