Wallet Performance (PnL) API

Documentation
API Reference

Everything you need to integrate Dritan's low-latency Solana market data into your trading infrastructure.

DocsAPI ReferenceWallet Performance (PnL)
API Reference

Wallet Performance (PnL)

Wallet-level performance and PnL

Returns wallet performance (PnL) metrics.

Endpoint#

GET /wallet/performance/:wallet

Query Params (optional)#

ParamTypeDescription
showHistoricPnLbooleanInclude historic PnL series where available
holdingCheckbooleanExtra holding verification checks
hideDetailsbooleanHide per-token details (summary only)

Request (curl)#

curl -H "x-api-key: YOUR_KEY" \
  "https://us-east.dritan.dev/wallet/performance/H8sHQQyx9p9gVJqdmXciYfDSeYhN7rPsrKFcYCRmVnDC?showHistoricPnL=true"

Request (TypeScript, SDK)#

import { DritanClient } from "dritan-sdk";

const client = new DritanClient({ apiKey: "YOUR_KEY" });
const res = await client.getWalletPerformance("H8sHQQyx9p9gVJqdmXciYfDSeYhN7rPsrKFcYCRmVnDC", {
  showHistoricPnL: true,
  holdingCheck: false,
  hideDetails: false
});
console.log(res);
Last updated: 2/25/2026Edit on GitHub