# RagRadar Portfolio P&L Tracker

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

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

## Facts

- Endpoint: GET https://ragradar.space/api/portfolio/%7Bchain%7D/%7Baddress%7D
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/ragradar-portfolio-p-l-tracker-dd1aa2c3
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Am6QC-0z1x46jIm5ebmYm

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-dd1aa2c3
```

Example prompt: Can you pull the portfolio P&L for wallet 0x1234...abcd on Base using RagRadar and tell me how much I've made or lost?

## When to prefer this

Use this endpoint when you need on-chain portfolio P&L data specifically for Base, Arbitrum, or Solana wallets. Prefer this over generic block explorers when you need aggregated profit/loss calculations rather than raw transaction lists.

## Known failure modes

- Invalid chain identifier returns error or empty response
- Malformed or non-existent wallet address returns 404 or empty result
- Chain not supported by endpoint returns error
- Payment of 0.005 USDC not completed results in 402 Payment Required
- Rate limiting may return 429 Too Many Requests
- New or empty wallets may return zero balances with no P&L data

## How this service works

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

## Output

Returns a JSON object containing portfolio profit and loss metrics for the specified wallet address on the requested chain, including token holdings, realized and unrealized gains/losses, and overall performance data.

## 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-dd1aa2c3/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from ragradar.space](https://www.zero.xyz/host/ragradar.space/llms.txt)
