# RagRadar PnL Lookup

> RagRadar PnL Lookup is a paid API for AI agents from ragdar.vercel.app, paid per call via x402, $0.05/call, status unknown (last checked 2026-09-14).

Returns on-chain profit and loss data for a given wallet address on a specified blockchain (Base, Arbitrum, or Solana)

## Facts

- Endpoint: GET https://ragdar.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-pnl-lookup-88d56b8d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap__Zvbw5V-I3ldvZpMZMyVq

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-pnl-lookup-88d56b8d
```

Example prompt: What's the on-chain profit and loss for wallet 0xAbC123...456 on Base? Pull it from RagRadar.

## When to prefer this

Use this endpoint when you need on-chain PnL data for a specific wallet address on Base, Arbitrum, or Solana and want a ready-made API rather than querying raw blockchain RPCs or indexers. Ideal for AI agents that need trading performance signals without building custom indexing infrastructure.

## Known failure modes

- Invalid or malformed wallet address returns an error or empty result
- Unsupported chain identifier causes a bad request response
- Address with no on-chain activity may return empty or zero PnL data
- Network or RPC issues on the underlying chain may cause timeout or partial data
- x402 micropayment failure blocks the request from being fulfilled

## How this service works

On-chain intelligence for AI agents. 70+ endpoints across Base, Arbitrum, Solana. x402 micropayments.

## Output

A JSON object containing profit and loss metrics for the specified wallet address on the given chain, including financial performance data such as realized/unrealized gains, net returns, and related on-chain trading statistics.

## 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-pnl-lookup-88d56b8d/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from ragdar.vercel.app](https://www.zero.xyz/host/ragdar.vercel.app/llms.txt)
