curl --request POST \
--url https://refract.prismapi.io/v1/solana/dex/wallets/search-profiles \
--header 'Content-Type: application/json' \
--header 'X-Api-Key: <api-key>' \
--data '
{
"filter": [
{
"field": "time_windows.14d.avg_daily_roi",
"min": 10,
"max": 200
},
{
"field": "time_windows.7d.pnl",
"min": 1000
},
{
"field": "time_windows.30d.max_drawdown",
"max": 20
},
{
"field": "time_windows.7d.sortino_ratio",
"eq": 1.5
}
],
"sort": {
"field": "time_windows.7d.pnl",
"direction": "desc"
},
"time_windows": [
"30d",
"14d",
"7d"
]
}
'{
"page": 123,
"cursor": "<string>",
"results": [
{
"wallet_address": "<string>",
"last_trade_at": 123,
"time_windows": {
"30d": {
"risk_score": 123,
"consistency_score": 123,
"largest_win": 123,
"largest_loss": 123,
"max_consecutive_wins": 123,
"max_consecutive_losses": 123,
"avg_buy_size": 123,
"avg_sell_size": 123,
"avg_buy_mcap": 123,
"avg_sell_mcap": 123,
"avg_daily_pnl": 123,
"avg_daily_roi": 123,
"avg_daily_trade_count": 123,
"avg_daily_traded_tokens": 123,
"avg_daily_volume": 123,
"avg_holding_duration": 123,
"avg_trade_delta": 123,
"avg_pnl": 123,
"avg_roi": 123,
"avg_token_pnl": 123,
"avg_token_roi": 123,
"token_roi_distribution": {
"gt_500": 123,
"200_500": 123,
"0_200": 123,
"neg50_0": 123,
"lt_neg50_0": 123
},
"trade_count": 123,
"buy_count": 123,
"sell_count": 123,
"position_count": 123,
"win_count": 123,
"loss_count": 123,
"pnl": 123,
"win_pnl": 123,
"loss_pnl": 123,
"volume": 123,
"buy_volume": 123,
"sell_volume": 123,
"winrate": 123,
"volume_weighted_winrate": 123,
"roi": 123,
"volume_weighted_roi": 123,
"time_weighted_roi": 123,
"pnl_volume_ratio": 123,
"token_hit_ratio": 123,
"win_loss_size_ratio": 123,
"profit_factor": 123,
"profit_expectancy": 123,
"recovery_factor": 123,
"winrate_stability": 123,
"winrate_volatility": 123,
"pnl_stability": 123,
"pnl_volatility": 123,
"roi_stability": 123,
"roi_volatility": 123,
"sharpe_ratio": 123,
"sortino_ratio": 123,
"max_drawdown": 123,
"risk_of_ruin": 123,
"turnover": 123
},
"14d": {
"risk_score": 123,
"consistency_score": 123,
"largest_win": 123,
"largest_loss": 123,
"max_consecutive_wins": 123,
"max_consecutive_losses": 123,
"avg_buy_size": 123,
"avg_sell_size": 123,
"avg_buy_mcap": 123,
"avg_sell_mcap": 123,
"avg_daily_pnl": 123,
"avg_daily_roi": 123,
"avg_daily_trade_count": 123,
"avg_daily_traded_tokens": 123,
"avg_daily_volume": 123,
"avg_holding_duration": 123,
"avg_trade_delta": 123,
"avg_pnl": 123,
"avg_roi": 123,
"avg_token_pnl": 123,
"avg_token_roi": 123,
"token_roi_distribution": {
"gt_500": 123,
"200_500": 123,
"0_200": 123,
"neg50_0": 123,
"lt_neg50_0": 123
},
"trade_count": 123,
"buy_count": 123,
"sell_count": 123,
"position_count": 123,
"win_count": 123,
"loss_count": 123,
"pnl": 123,
"win_pnl": 123,
"loss_pnl": 123,
"volume": 123,
"buy_volume": 123,
"sell_volume": 123,
"winrate": 123,
"volume_weighted_winrate": 123,
"roi": 123,
"volume_weighted_roi": 123,
"time_weighted_roi": 123,
"pnl_volume_ratio": 123,
"token_hit_ratio": 123,
"win_loss_size_ratio": 123,
"profit_factor": 123,
"profit_expectancy": 123,
"recovery_factor": 123,
"winrate_stability": 123,
"winrate_volatility": 123,
"pnl_stability": 123,
"pnl_volatility": 123,
"roi_stability": 123,
"roi_volatility": 123,
"sharpe_ratio": 123,
"sortino_ratio": 123,
"max_drawdown": 123,
"risk_of_ruin": 123,
"turnover": 123
},
"7d": {
"risk_score": 123,
"consistency_score": 123,
"largest_win": 123,
"largest_loss": 123,
"max_consecutive_wins": 123,
"max_consecutive_losses": 123,
"avg_buy_size": 123,
"avg_sell_size": 123,
"avg_buy_mcap": 123,
"avg_sell_mcap": 123,
"avg_daily_pnl": 123,
"avg_daily_roi": 123,
"avg_daily_trade_count": 123,
"avg_daily_traded_tokens": 123,
"avg_daily_volume": 123,
"avg_holding_duration": 123,
"avg_trade_delta": 123,
"avg_pnl": 123,
"avg_roi": 123,
"avg_token_pnl": 123,
"avg_token_roi": 123,
"token_roi_distribution": {
"gt_500": 123,
"200_500": 123,
"0_200": 123,
"neg50_0": 123,
"lt_neg50_0": 123
},
"trade_count": 123,
"buy_count": 123,
"sell_count": 123,
"position_count": 123,
"win_count": 123,
"loss_count": 123,
"pnl": 123,
"win_pnl": 123,
"loss_pnl": 123,
"volume": 123,
"buy_volume": 123,
"sell_volume": 123,
"winrate": 123,
"volume_weighted_winrate": 123,
"roi": 123,
"volume_weighted_roi": 123,
"time_weighted_roi": 123,
"pnl_volume_ratio": 123,
"token_hit_ratio": 123,
"win_loss_size_ratio": 123,
"profit_factor": 123,
"profit_expectancy": 123,
"recovery_factor": 123,
"winrate_stability": 123,
"winrate_volatility": 123,
"pnl_stability": 123,
"pnl_volatility": 123,
"roi_stability": 123,
"roi_volatility": 123,
"sharpe_ratio": 123,
"sortino_ratio": 123,
"max_drawdown": 123,
"risk_of_ruin": 123,
"turnover": 123
},
"3d": {
"risk_score": 123,
"consistency_score": 123,
"largest_win": 123,
"largest_loss": 123,
"max_consecutive_wins": 123,
"max_consecutive_losses": 123,
"avg_buy_size": 123,
"avg_sell_size": 123,
"avg_buy_mcap": 123,
"avg_sell_mcap": 123,
"avg_daily_pnl": 123,
"avg_daily_roi": 123,
"avg_daily_trade_count": 123,
"avg_daily_traded_tokens": 123,
"avg_daily_volume": 123,
"avg_holding_duration": 123,
"avg_trade_delta": 123,
"avg_pnl": 123,
"avg_roi": 123,
"avg_token_pnl": 123,
"avg_token_roi": 123,
"token_roi_distribution": {
"gt_500": 123,
"200_500": 123,
"0_200": 123,
"neg50_0": 123,
"lt_neg50_0": 123
},
"trade_count": 123,
"buy_count": 123,
"sell_count": 123,
"position_count": 123,
"win_count": 123,
"loss_count": 123,
"pnl": 123,
"win_pnl": 123,
"loss_pnl": 123,
"volume": 123,
"buy_volume": 123,
"sell_volume": 123,
"winrate": 123,
"volume_weighted_winrate": 123,
"roi": 123,
"volume_weighted_roi": 123,
"time_weighted_roi": 123,
"pnl_volume_ratio": 123,
"token_hit_ratio": 123,
"win_loss_size_ratio": 123,
"profit_factor": 123,
"profit_expectancy": 123,
"recovery_factor": 123,
"winrate_stability": 123,
"winrate_volatility": 123,
"pnl_stability": 123,
"pnl_volatility": 123,
"roi_stability": 123,
"roi_volatility": 123,
"sharpe_ratio": 123,
"sortino_ratio": 123,
"max_drawdown": 123,
"risk_of_ruin": 123,
"turnover": 123
},
"1d": {
"risk_score": 123,
"consistency_score": 123,
"largest_win": 123,
"largest_loss": 123,
"max_consecutive_wins": 123,
"max_consecutive_losses": 123,
"avg_buy_size": 123,
"avg_sell_size": 123,
"avg_buy_mcap": 123,
"avg_sell_mcap": 123,
"avg_daily_pnl": 123,
"avg_daily_roi": 123,
"avg_daily_trade_count": 123,
"avg_daily_traded_tokens": 123,
"avg_daily_volume": 123,
"avg_holding_duration": 123,
"avg_trade_delta": 123,
"avg_pnl": 123,
"avg_roi": 123,
"avg_token_pnl": 123,
"avg_token_roi": 123,
"token_roi_distribution": {
"gt_500": 123,
"200_500": 123,
"0_200": 123,
"neg50_0": 123,
"lt_neg50_0": 123
},
"trade_count": 123,
"buy_count": 123,
"sell_count": 123,
"position_count": 123,
"win_count": 123,
"loss_count": 123,
"pnl": 123,
"win_pnl": 123,
"loss_pnl": 123,
"volume": 123,
"buy_volume": 123,
"sell_volume": 123,
"winrate": 123,
"volume_weighted_winrate": 123,
"roi": 123,
"volume_weighted_roi": 123,
"time_weighted_roi": 123,
"pnl_volume_ratio": 123,
"token_hit_ratio": 123,
"win_loss_size_ratio": 123,
"profit_factor": 123,
"profit_expectancy": 123,
"recovery_factor": 123,
"winrate_stability": 123,
"winrate_volatility": 123,
"pnl_stability": 123,
"pnl_volatility": 123,
"roi_stability": 123,
"roi_volatility": 123,
"sharpe_ratio": 123,
"sortino_ratio": 123,
"max_drawdown": 123,
"risk_of_ruin": 123,
"turnover": 123
}
}
}
]
}Search and filter wallet profiles based on specified metrics and conditions.
curl --request POST \
--url https://refract.prismapi.io/v1/solana/dex/wallets/search-profiles \
--header 'Content-Type: application/json' \
--header 'X-Api-Key: <api-key>' \
--data '
{
"filter": [
{
"field": "time_windows.14d.avg_daily_roi",
"min": 10,
"max": 200
},
{
"field": "time_windows.7d.pnl",
"min": 1000
},
{
"field": "time_windows.30d.max_drawdown",
"max": 20
},
{
"field": "time_windows.7d.sortino_ratio",
"eq": 1.5
}
],
"sort": {
"field": "time_windows.7d.pnl",
"direction": "desc"
},
"time_windows": [
"30d",
"14d",
"7d"
]
}
'{
"page": 123,
"cursor": "<string>",
"results": [
{
"wallet_address": "<string>",
"last_trade_at": 123,
"time_windows": {
"30d": {
"risk_score": 123,
"consistency_score": 123,
"largest_win": 123,
"largest_loss": 123,
"max_consecutive_wins": 123,
"max_consecutive_losses": 123,
"avg_buy_size": 123,
"avg_sell_size": 123,
"avg_buy_mcap": 123,
"avg_sell_mcap": 123,
"avg_daily_pnl": 123,
"avg_daily_roi": 123,
"avg_daily_trade_count": 123,
"avg_daily_traded_tokens": 123,
"avg_daily_volume": 123,
"avg_holding_duration": 123,
"avg_trade_delta": 123,
"avg_pnl": 123,
"avg_roi": 123,
"avg_token_pnl": 123,
"avg_token_roi": 123,
"token_roi_distribution": {
"gt_500": 123,
"200_500": 123,
"0_200": 123,
"neg50_0": 123,
"lt_neg50_0": 123
},
"trade_count": 123,
"buy_count": 123,
"sell_count": 123,
"position_count": 123,
"win_count": 123,
"loss_count": 123,
"pnl": 123,
"win_pnl": 123,
"loss_pnl": 123,
"volume": 123,
"buy_volume": 123,
"sell_volume": 123,
"winrate": 123,
"volume_weighted_winrate": 123,
"roi": 123,
"volume_weighted_roi": 123,
"time_weighted_roi": 123,
"pnl_volume_ratio": 123,
"token_hit_ratio": 123,
"win_loss_size_ratio": 123,
"profit_factor": 123,
"profit_expectancy": 123,
"recovery_factor": 123,
"winrate_stability": 123,
"winrate_volatility": 123,
"pnl_stability": 123,
"pnl_volatility": 123,
"roi_stability": 123,
"roi_volatility": 123,
"sharpe_ratio": 123,
"sortino_ratio": 123,
"max_drawdown": 123,
"risk_of_ruin": 123,
"turnover": 123
},
"14d": {
"risk_score": 123,
"consistency_score": 123,
"largest_win": 123,
"largest_loss": 123,
"max_consecutive_wins": 123,
"max_consecutive_losses": 123,
"avg_buy_size": 123,
"avg_sell_size": 123,
"avg_buy_mcap": 123,
"avg_sell_mcap": 123,
"avg_daily_pnl": 123,
"avg_daily_roi": 123,
"avg_daily_trade_count": 123,
"avg_daily_traded_tokens": 123,
"avg_daily_volume": 123,
"avg_holding_duration": 123,
"avg_trade_delta": 123,
"avg_pnl": 123,
"avg_roi": 123,
"avg_token_pnl": 123,
"avg_token_roi": 123,
"token_roi_distribution": {
"gt_500": 123,
"200_500": 123,
"0_200": 123,
"neg50_0": 123,
"lt_neg50_0": 123
},
"trade_count": 123,
"buy_count": 123,
"sell_count": 123,
"position_count": 123,
"win_count": 123,
"loss_count": 123,
"pnl": 123,
"win_pnl": 123,
"loss_pnl": 123,
"volume": 123,
"buy_volume": 123,
"sell_volume": 123,
"winrate": 123,
"volume_weighted_winrate": 123,
"roi": 123,
"volume_weighted_roi": 123,
"time_weighted_roi": 123,
"pnl_volume_ratio": 123,
"token_hit_ratio": 123,
"win_loss_size_ratio": 123,
"profit_factor": 123,
"profit_expectancy": 123,
"recovery_factor": 123,
"winrate_stability": 123,
"winrate_volatility": 123,
"pnl_stability": 123,
"pnl_volatility": 123,
"roi_stability": 123,
"roi_volatility": 123,
"sharpe_ratio": 123,
"sortino_ratio": 123,
"max_drawdown": 123,
"risk_of_ruin": 123,
"turnover": 123
},
"7d": {
"risk_score": 123,
"consistency_score": 123,
"largest_win": 123,
"largest_loss": 123,
"max_consecutive_wins": 123,
"max_consecutive_losses": 123,
"avg_buy_size": 123,
"avg_sell_size": 123,
"avg_buy_mcap": 123,
"avg_sell_mcap": 123,
"avg_daily_pnl": 123,
"avg_daily_roi": 123,
"avg_daily_trade_count": 123,
"avg_daily_traded_tokens": 123,
"avg_daily_volume": 123,
"avg_holding_duration": 123,
"avg_trade_delta": 123,
"avg_pnl": 123,
"avg_roi": 123,
"avg_token_pnl": 123,
"avg_token_roi": 123,
"token_roi_distribution": {
"gt_500": 123,
"200_500": 123,
"0_200": 123,
"neg50_0": 123,
"lt_neg50_0": 123
},
"trade_count": 123,
"buy_count": 123,
"sell_count": 123,
"position_count": 123,
"win_count": 123,
"loss_count": 123,
"pnl": 123,
"win_pnl": 123,
"loss_pnl": 123,
"volume": 123,
"buy_volume": 123,
"sell_volume": 123,
"winrate": 123,
"volume_weighted_winrate": 123,
"roi": 123,
"volume_weighted_roi": 123,
"time_weighted_roi": 123,
"pnl_volume_ratio": 123,
"token_hit_ratio": 123,
"win_loss_size_ratio": 123,
"profit_factor": 123,
"profit_expectancy": 123,
"recovery_factor": 123,
"winrate_stability": 123,
"winrate_volatility": 123,
"pnl_stability": 123,
"pnl_volatility": 123,
"roi_stability": 123,
"roi_volatility": 123,
"sharpe_ratio": 123,
"sortino_ratio": 123,
"max_drawdown": 123,
"risk_of_ruin": 123,
"turnover": 123
},
"3d": {
"risk_score": 123,
"consistency_score": 123,
"largest_win": 123,
"largest_loss": 123,
"max_consecutive_wins": 123,
"max_consecutive_losses": 123,
"avg_buy_size": 123,
"avg_sell_size": 123,
"avg_buy_mcap": 123,
"avg_sell_mcap": 123,
"avg_daily_pnl": 123,
"avg_daily_roi": 123,
"avg_daily_trade_count": 123,
"avg_daily_traded_tokens": 123,
"avg_daily_volume": 123,
"avg_holding_duration": 123,
"avg_trade_delta": 123,
"avg_pnl": 123,
"avg_roi": 123,
"avg_token_pnl": 123,
"avg_token_roi": 123,
"token_roi_distribution": {
"gt_500": 123,
"200_500": 123,
"0_200": 123,
"neg50_0": 123,
"lt_neg50_0": 123
},
"trade_count": 123,
"buy_count": 123,
"sell_count": 123,
"position_count": 123,
"win_count": 123,
"loss_count": 123,
"pnl": 123,
"win_pnl": 123,
"loss_pnl": 123,
"volume": 123,
"buy_volume": 123,
"sell_volume": 123,
"winrate": 123,
"volume_weighted_winrate": 123,
"roi": 123,
"volume_weighted_roi": 123,
"time_weighted_roi": 123,
"pnl_volume_ratio": 123,
"token_hit_ratio": 123,
"win_loss_size_ratio": 123,
"profit_factor": 123,
"profit_expectancy": 123,
"recovery_factor": 123,
"winrate_stability": 123,
"winrate_volatility": 123,
"pnl_stability": 123,
"pnl_volatility": 123,
"roi_stability": 123,
"roi_volatility": 123,
"sharpe_ratio": 123,
"sortino_ratio": 123,
"max_drawdown": 123,
"risk_of_ruin": 123,
"turnover": 123
},
"1d": {
"risk_score": 123,
"consistency_score": 123,
"largest_win": 123,
"largest_loss": 123,
"max_consecutive_wins": 123,
"max_consecutive_losses": 123,
"avg_buy_size": 123,
"avg_sell_size": 123,
"avg_buy_mcap": 123,
"avg_sell_mcap": 123,
"avg_daily_pnl": 123,
"avg_daily_roi": 123,
"avg_daily_trade_count": 123,
"avg_daily_traded_tokens": 123,
"avg_daily_volume": 123,
"avg_holding_duration": 123,
"avg_trade_delta": 123,
"avg_pnl": 123,
"avg_roi": 123,
"avg_token_pnl": 123,
"avg_token_roi": 123,
"token_roi_distribution": {
"gt_500": 123,
"200_500": 123,
"0_200": 123,
"neg50_0": 123,
"lt_neg50_0": 123
},
"trade_count": 123,
"buy_count": 123,
"sell_count": 123,
"position_count": 123,
"win_count": 123,
"loss_count": 123,
"pnl": 123,
"win_pnl": 123,
"loss_pnl": 123,
"volume": 123,
"buy_volume": 123,
"sell_volume": 123,
"winrate": 123,
"volume_weighted_winrate": 123,
"roi": 123,
"volume_weighted_roi": 123,
"time_weighted_roi": 123,
"pnl_volume_ratio": 123,
"token_hit_ratio": 123,
"win_loss_size_ratio": 123,
"profit_factor": 123,
"profit_expectancy": 123,
"recovery_factor": 123,
"winrate_stability": 123,
"winrate_volatility": 123,
"pnl_stability": 123,
"pnl_volatility": 123,
"roi_stability": 123,
"roi_volatility": 123,
"sharpe_ratio": 123,
"sortino_ratio": 123,
"max_drawdown": 123,
"risk_of_ruin": 123,
"turnover": 123
}
}
}
]
}[
{
"field": "time_windows.7d.cumulative_pnl",
"min": 65000
},
{
"field": "time_windows.30d.token_distribution.gt500",
"min": 5
}
]
Your Prism API key. You can get one for free in the Prism Dashboard.
List of time windows to include in the profile.
30d, 14d, 7d, 3d, 1d Maximum number of results to return.
1 <= x <= 100Cursor to return the next page of results.
List of wallet profiles found from the search.
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes