# madeonsol.com Solana Wallet FIFO PnL

> madeonsol.com Solana Wallet FIFO PnL is a paid API for AI agents from madeonsol.com, paid per call via x402, $0.02/call, status unknown (last checked 2026-10-28).

Returns FIFO cost-basis profit and loss (realized + unrealized), daily PnL curve, and closed/open position breakdown for a Solana wallet address

## Facts

- Endpoint: POST https://madeonsol.com/api/x402/wallet/:address/pnl?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-28
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/madeonsol-com-solana-wallet-fifo-pnl-aca69ab1
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_CYcXC3gmeQ3yGFC_tvsQ6

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-com-solana-wallet-fifo-pnl-aca69ab1 -d '<json body>'
```

Example prompt: Can you pull up the full FIFO cost-basis PnL for Solana wallet 7xKXtg2CW87d97TXJSDpbD5jBkheTqA83TZRuJosgAsU — I want to see realized and unrealized gains, any open and closed positions, and the daily PnL curve?

## When to prefer this

Use this endpoint when you need FIFO-accurate cost-basis PnL for a Solana wallet — including realized gains, unrealized gains, daily PnL time series, and open/closed position breakdown. Prefer this over generic portfolio trackers when you need structured, programmatic PnL data for Solana specifically, especially for trading analysis, tax estimation, or alpha-wallet profiling.

## Known failure modes

- Invalid or malformed Solana wallet address returns an error
- Wallet with no trading history may return empty or zero PnL
- Insufficient USDC balance for the $0.02 x402 payment causes request rejection
- Network or RPC timeouts may cause delayed or failed responses
- Recently active wallets may have incomplete data if indexing is lagging

## How this service works

FIFO cost-basis PnL — realized + unrealized + daily curve + closed/open positions

## Output

Returns a structured PnL report for the given Solana wallet, including realized profit/loss, unrealized profit/loss, per-token or per-position breakdown using FIFO cost-basis accounting, a time-series daily PnL curve, and separate inventories of open (still-held) and closed (fully-exited) positions.

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/madeonsol-com-solana-wallet-fifo-pnl-aca69ab1/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from madeonsol.com](https://www.zero.xyz/host/madeonsol.com/llms.txt)
