# LensCrypt Wallet PnL Analytics

> LensCrypt Wallet PnL Analytics is a paid API for AI agents from lenscrypt.vercel.app, paid per call via x402, $0.15/call, status unknown (last checked 2026-09-08).

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

## Facts

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

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-wallet-pnl-analytics-83a7baa3
```

Example prompt: What's the profit and loss history for wallet 0xABC123... on Ethereum — I want to see how much it's made or lost trading.

## When to prefer this

Use this endpoint when you need on-chain wallet-level profit and loss analytics for a specific address across supported blockchains. Prefer this over generic portfolio trackers when you need programmatic, per-call PnL data priced in USDC via the x402 micropayment protocol.

## Known failure modes

- Invalid wallet address format returns error
- Unsupported chain identifier returns error
- Wallet with no transaction history may return empty or zero PnL
- Payment failure via x402 protocol returns 402 Payment Required
- Rate limiting or server error returns 5xx response

## 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 with profit and loss metrics for the specified wallet on the given chain, including realized and unrealized gains, trade performance data, and overall portfolio return 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-wallet-pnl-analytics-83a7baa3/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from lenscrypt.vercel.app](https://www.zero.xyz/host/lenscrypt.vercel.app/llms.txt)
