curl --request GET \
--url 'https://uk.raze.sh/api/sol/platform/pnl-distribution?apiKey='{
"success": true,
"period": "daily",
"platform": "<string>",
"bins": [
{
"fromUsd": 123,
"toUsd": 123,
"count": 123
}
],
"belowMin": 123,
"aboveMax": 123,
"totalProfitableWallets": 123,
"solPriceUsd": 123,
"timestamp": "2023-11-07T05:31:56Z"
}Returns a customizable histogram of profitable wallets by PnL range. Specify the number of buckets and the USD min/max range to build your own distribution chart. Includes counts for wallets below min and above max. Optionally filter by DEX platform.
curl --request GET \
--url 'https://uk.raze.sh/api/sol/platform/pnl-distribution?apiKey='{
"success": true,
"period": "daily",
"platform": "<string>",
"bins": [
{
"fromUsd": 123,
"toUsd": 123,
"count": 123
}
],
"belowMin": 123,
"aboveMax": 123,
"totalProfitableWallets": 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.
Number of histogram bins
2 <= x <= 100Minimum PnL in USD for the histogram range
Maximum PnL in USD for the histogram range
Success
daily, weekly, monthly DEX platform filter applied, or "all" if unfiltered
Histogram bins with wallet counts
Show child attributes
Wallets with PnL below the requested min
Wallets with PnL above the requested max