# MadeOnSol KOL PnL API

> MadeOnSol KOL PnL API is a paid API for AI agents from api.relai.fi, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-15).

Returns trade-by-trade and per-token realised/unrealised PnL for a single Key Opinion Leader (KOL) wallet over a configurable time period.

## Facts

- Endpoint: GET https://api.relai.fi/relay/1780517153303/kol/{wallet}/pnl
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/madeonsol-kol-pnl-api-c582adf4
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_-bEdBEluOJdo_YMxYFDXm

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 madeonsol-kol-pnl-api-c582adf4
```

Example prompt: Pull the realised and unrealised PnL for KOL wallet 9xQeWvG816bUx9EPjHmaT23yvVM2ZWbrrpZb1PkjNmXF on MadeOnSol, broken down trade-by-trade and per token, for the last 30 days.

## When to prefer this

Use this endpoint when you need granular, trade-level and token-level PnL data for a specific Solana KOL wallet, including both realised and unrealised components. Prefer this over generic blockchain explorers when you need pre-computed PnL metrics rather than raw transaction data.

## Known failure modes

- Invalid or unrecognized wallet address returns an error
- Wallet has no trading activity in the requested period returns empty results
- Malformed time period parameters cause a 400 error
- Payment of 0.01 USDC not fulfilled causes a 402 Payment Required response
- Network or upstream data unavailability causes a 503 error

## How this service works

Trade-by-trade and per-token realised/unrealised PnL for a single KOL over a configurable period.

## Output

A structured breakdown of realised and unrealised profit/loss for each trade and each token held by the specified KOL wallet over the requested period, enabling performance analysis of a Solana crypto influencer's trading activity.

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/madeonsol-kol-pnl-api-c582adf4/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.relai.fi](https://www.zero.xyz/host/api.relai.fi/llms.txt)
