# BlockRun dFlow Wallet Realized PnL History

> BlockRun dFlow Wallet Realized PnL History is a paid API for AI agents from blockrun.ai, paid per call via x402, $0.0095/call, status unknown (last checked 2026-09-14).

Fetches realized profit and loss history for a given dFlow wallet on Solana

## Facts

- Endpoint: GET https://blockrun.ai/api/v1/pm/dflow/wallet/pnl/:solana_address
- Price: $0.0095/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/blockrun-dflow-wallet-realized-pnl-history-3d7dc3bf
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_5hFv7YD2MP8UsXe6rsDIj

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 blockrun-dflow-wallet-realized-pnl-history-3d7dc3bf
```

Example prompt: Can you pull the realized profit and loss history for the dFlow wallet at Solana address 7xKXtg2CW87d97TXJSDpbD5jBkheTqA83TZRuJosgAsU?

## When to prefer this

Use this endpoint when you specifically need realized PnL history for a wallet that has traded on the dFlow decentralized exchange on Solana. Prefer this over generic wallet analytics when you need trade-level profit/loss data specific to dFlow activity, or when building dashboards for dFlow trader performance.

## Known failure modes

- Invalid or malformed Solana address returns an error response
- Wallet address not found on dFlow returns empty or null data
- Network timeout or service unavailability returns a 503 or connection error
- Insufficient USDC balance to cover $0.005 per-call fee results in payment failure
- Non-dFlow wallet address may return empty results with no PnL history

## How this service works

Fetch realized profit and loss history for a dFlow wallet

## Output

Returns realized profit and loss history data for the specified dFlow wallet, including time-series PnL data and trade outcomes structured as a JSON object.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "input": {
   "type": "object",
   "properties": {
    "body": {
     "type": "object",
     "required": [],
     "properties": {}
    }
   }
  },
  "output": {
   "type": "object",
   "properties": {
    "example": {
     "type": "object",
     "properties": {
      "data": {
       "type": "object"
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/blockrun-dflow-wallet-realized-pnl-history-3d7dc3bf/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from blockrun.ai](https://www.zero.xyz/host/blockrun.ai/llms.txt)
