# RagRadar PnL Lookup

> RagRadar PnL Lookup is a paid API for AI agents from backup.ragradar.space, 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 network

## Facts

- Endpoint: GET https://backup.ragradar.space/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-by-chain-and-address-22d41a9b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_pNPhQ9ceq8H_VMwg0YVft

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-by-chain-and-address-22d41a9b
```

Example prompt: What's the on-chain profit and loss for wallet 0xAbC123...def on Base — pull the full PnL breakdown from RagRadar.

## When to prefer this

Use this endpoint when you need on-chain profit and loss data for a specific wallet address on Base, Arbitrum, or Solana. Prefer this over general portfolio APIs when you need blockchain-native PnL computed from raw on-chain data rather than centralized exchange data.

## Known failure modes

- Invalid or malformed wallet address returns an error response
- Unsupported chain identifier results in a 400 or 404 error
- Payment failure via x402 micropayment results in a 402 Payment Required response
- Address with no on-chain activity may return empty or zero PnL data
- Network timeout or upstream RPC failure may return a 503 or error response

## How this service works

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

## Output

Returns a JSON object with on-chain PnL data for the specified wallet address on the given chain, including realized and unrealized gains/losses and related 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-pnl-lookup-by-chain-and-address-22d41a9b/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from backup.ragradar.space](https://www.zero.xyz/host/backup.ragradar.space/llms.txt)
