# Vybe Solana Wallet PnL Timeseries

> Vybe Solana Wallet PnL Timeseries is a paid API for AI agents from x402-api.vybenetwork.xyz, paid per call via x402, $0.003/call, status unknown (last checked 2026-09-28).

Returns a time-bucketed profit-and-loss timeseries for a Solana wallet address over a specified date range and resolution

## Facts

- Endpoint: POST https://x402-api.vybenetwork.xyz/v4/wallets/%7BownerAddress%7D/pnl-ts?utm_source=zero.xyz
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-28
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/vybe-solana-wallet-pnl-timeseries-82dabe84
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_iSxJLSp3fs0Uwpc7qx9FC

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 vybe-solana-wallet-pnl-timeseries-82dabe84 -d '<json body>'
```

Example prompt: Pull the daily profit-and-loss timeseries from Vybe for Solana wallet 7xKXtg2CW87d97TXJSDpbD5jBkheTqA83TZRuJosgAsU over the last 30 days — I want to see how the portfolio performed day by day.

## When to prefer this

Use this endpoint when you need to visualize or analyze the profit-and-loss performance of a specific Solana wallet over time, bucketed by day, week, or month. Ideal for portfolio tracking, trader analytics, or performance reporting dashboards where temporal PnL trends matter. Prefer over raw trade/transfer endpoints when you need pre-aggregated time-bucketed PnL rather than individual transaction data.

## Known failure modes

- Invalid or malformed Solana wallet address returns a 400 error
- Payment not attached or insufficient USDC via x402 returns 402 Payment Required
- timeStart after timeEnd results in an empty or error response
- Unsupported resolution value causes a validation error
- No on-chain data found for the address returns empty timeseries
- Rate limiting or credit exhaustion returns 429 or payment-related error

## How this service works

Read access to Solana on-chain data — tokens, wallets, markets, prices, trades, transfers. No API key, no signup. Pay in USDC per request with the x402 protocol; the per-route price is declared in `x-payment-info`. WebSocket streaming uses prepaid credits.

## Output

A timeseries array of PnL data points for the specified wallet, bucketed by the chosen resolution (daily, weekly, or monthly), covering the requested time window. Each data point represents realized and/or unrealized profit-and-loss for that period.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "ownerAddress"
 ],
 "properties": {
  "timeEnd": {
   "type": "integer",
   "description": "End of the time range (unix timestamp, seconds). Defaults to the end of the latest complete period."
  },
  "timeStart": {
   "type": "integer",
   "description": "Start of the time range (unix timestamp, seconds). Defaults to the earliest complete period for the chosen resolution: 30 days ago for '1d', 12 weeks ago for '1w', or 12 months ago for '1mo'."
  },
  "resolution": {
   "type": "string",
   "description": "Time bucket size for each data point. Possible values: '1d' (daily), '1w' (weekly), '1mo' (monthly). Defaults to '1d'."
  },
  "ownerAddress": {
   "type": "string",
   "description": "The Solana wallet address to query."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "$ref": "#/components/schemas/PnlTimeseriesResponse"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/vybe-solana-wallet-pnl-timeseries-82dabe84/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-api.vybenetwork.xyz](https://www.zero.xyz/host/x402-api.vybenetwork.xyz/llms.txt)
