# RagRadar Portfolio P&L Tracker

> RagRadar Portfolio P&L Tracker is a paid API for AI agents from ragradar.vercel.app, paid per call via x402, $0.05/call, status unknown (last checked 2026-09-14).

Returns profit and loss analytics for a wallet address on a specified blockchain (Base, Arbitrum, or Solana)

## Facts

- Endpoint: GET https://ragradar.vercel.app/api/pnl/%7Bchain%7D/%7Baddress%7D
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/ragradar-portfolio-p-l-tracker-3a0bad25
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_1aN3lvgeKvhkyIIDDGLg5

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 ragradar-portfolio-p-l-tracker-3a0bad25
```

Example prompt: What's the full profit and loss breakdown for my wallet 0x1234...abcd on Base — show me realized and unrealized gains across all my positions.

## When to prefer this

Use this endpoint when you need on-chain portfolio profit and loss data for a specific wallet across Base, Arbitrum, or Solana. Prefer this over generic blockchain explorers when you need computed P&L metrics rather than raw transaction data.

## Known failure modes

- Invalid wallet address format returns error
- Unsupported chain identifier returns 400 or empty result
- Wallet with no transaction history may return empty P&L
- Payment not provided or invalid returns 402
- Wallet not indexed or data unavailable returns error or empty status

## How this service works

AI-powered on-chain analytics across Base, Arbitrum, and Solana. 82 REST endpoints including Portfolio P&L tracker, smart money tracking, whale alerts, token intelligence, DeFi yields, Solana degen tools, social signals, gas tracker, approvals scanner, block checker.

## Output

A JSON object containing portfolio P&L data for the specified wallet on the given chain, including realized and unrealized gains/losses, token positions, and trading performance metrics.

## 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/ragradar-portfolio-p-l-tracker-3a0bad25/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from ragradar.vercel.app](https://www.zero.xyz/host/ragradar.vercel.app/llms.txt)
