curl --request GET \
--url 'https://uk.raze.sh/api/sol/platform/pnl-summary?apiKey='{
"success": true,
"period": "daily",
"platform": "<string>",
"totalProfitableWallets": 123,
"totalPnlSol": 123,
"totalPnlUsd": 123,
"avgPnlSol": 123,
"avgPnlUsd": 123,
"medianPnlSol": 123,
"medianPnlUsd": 123,
"p90PnlSol": 123,
"p90PnlUsd": 123,
"p99PnlSol": 123,
"p99PnlUsd": 123,
"maxPnlSol": 123,
"maxPnlUsd": 123,
"solPriceUsd": 123,
"timestamp": "2023-11-07T05:31:56Z"
}Returns aggregate statistics for profitable wallets: total count, total/average/median PnL, 90th and 99th percentile thresholds, and maximum PnL. All values in both SOL and USD. Optionally filter by DEX platform.
curl --request GET \
--url 'https://uk.raze.sh/api/sol/platform/pnl-summary?apiKey='{
"success": true,
"period": "daily",
"platform": "<string>",
"totalProfitableWallets": 123,
"totalPnlSol": 123,
"totalPnlUsd": 123,
"avgPnlSol": 123,
"avgPnlUsd": 123,
"medianPnlSol": 123,
"medianPnlUsd": 123,
"p90PnlSol": 123,
"p90PnlUsd": 123,
"p99PnlSol": 123,
"p99PnlUsd": 123,
"maxPnlSol": 123,
"maxPnlUsd": 123,
"solPriceUsd": 123,
"timestamp": "2023-11-07T05:31:56Z"
}Time period to aggregate over
daily, weekly, monthly Optional DEX platform filter (e.g. pumpfun, raydiumv4, orca, meteoradlmm, pumpswap). Omit for global stats.
Success
daily, weekly, monthly DEX platform filter applied, or "all" if unfiltered
Total number of wallets with positive PnL
90th percentile PnL threshold in SOL
99th percentile PnL threshold in SOL