GET /v1/wallet-rankings/merged
Read the merged wallet ranking
One ranking per chain: every wallet on the day's hot, rising, stable_profit and long_hold rankings, listed once and tagged with the rankings it is on, ordered by realized PnL over the last 48 hours. Returns all rows without pagination. Reads are cached for five minutes. USD amounts are decimal strings, ratios are fractions and unavailable metrics are null. Use the ranking for display and individual wallet selection only. A ranking must never be used as an automatic copy-trading list. Requires the copytrade:read scope.
Required scope:copytrade:read Query parameters
| Field | Type | Required | Description |
|---|---|---|---|
chain | enum ("solana" | "bsc" | "robinhood") | ✓ | Chain on which the wallets are ranked. |
Responses
200 — Merged ranking, or data_day null with empty items if no daily ranking has been published on this chain.
| Field | Type | Required | Constraints | Description |
|---|---|---|---|---|
data | object | ✓ | Response payload. | |
data.chain | enum ("solana" | "bsc" | "robinhood") | ✓ | Chain on which the wallets are ranked. | |
data.data_day | string | null | ✓ | Latest UTC data day among the merged daily rankings, or null when none has been published on this chain. | |
data.as_of | string | null | ✓ | Latest UTC cutoff time among the merged daily rankings, or null before publication. | |
data.metrics_as_of | string | null | ✓ | Latest UTC cutoff time for the refreshed metrics, or null if unavailable. | |
data.items | array<object> | ✓ | Every wallet on today's hot, rising, stable_profit and long_hold rankings once, ordered by pnl_usd_48h from high to low, then by address; wallets without pnl_usd_48h come last. Filter by types to keep the same order for one ranking. Up to 400 rows without pagination. | |
data.items[].rank | integer | ✓ | Position in the merged ranking, starting at 1. | |
data.items[].address | string | ✓ | Wallet address on the selected chain. | |
data.items[].reason_tags | array<string> | ✓ | Union of the wallet's reason tags across its rankings. Ignore unknown tags as new values may be added. multi_followed means at least 5 wallets that copy-trade often have followed this wallet over the last 30 days. new_wallet means the wallet is on rising as a newly observed wallet. | |
data.items[].followers | integer | null | ✓ | Number of distinct wallets that followed this wallet over the last 30 days, or null if unavailable. For a wallet on hot, only confirmed copy-trading wallets are counted, matching follower_ret_median and follower_profitable_share. | |
data.items[].follower_ret_median | number | null | ✓ | Median 30-day return of confirmed copy-trading wallets with measurable returns on the tokens they followed, as a fraction. Only available for wallets on hot. | |
data.items[].follower_profitable_share | number | null | ✓ | Fraction of confirmed copy-trading wallets with measurable returns that made a profit on the tokens they followed. Only available for wallets on hot. | |
data.items[].realized_pnl_usd | string | ✓ | pattern: ^-?\d+(\.\d+)?$ | Realized profit or loss over 30 days, in USD as a decimal string. |
data.items[].win_rate | number | null | ✓ | Fraction of closed token positions with positive realized profit, or null if unavailable. | |
data.items[].pnl_usd_7d | string | null | ✓ | pattern: ^-?\d+(\.\d+)?$ | Seven-day profit or loss including unrealized PnL, in USD as a decimal string, or null. |
data.items[].pnl_usd_30d | string | null | ✓ | pattern: ^-?\d+(\.\d+)?$ | 30-day profit or loss including unrealized PnL, in USD as a decimal string, or null. |
data.items[].pnl_ratio_7d | number | null | ✓ | Seven-day profit or loss divided by buy cost, or null. | |
data.items[].pnl_ratio_30d | number | null | ✓ | 30-day profit or loss divided by buy cost, or null. | |
data.items[].trades | integer | ✓ | Number of trades over 30 days. | |
data.items[].tokens_traded | integer | ✓ | Number of distinct tokens traded over 30 days. | |
data.items[].trades_per_day | number | null | ✓ | Average buys per day over the covered part of the last 30 days, or null. | |
data.items[].avg_buy_usd | string | null | ✓ | pattern: ^-?\d+(\.\d+)?$ | Average buy size over 30 days, in USD as a decimal string, or null. |
data.items[].median_hold_minutes | number | null | ✓ | Estimated median holding time in minutes, or null. | |
data.items[].sample_size | integer | ✓ | Number of closed token positions; for a wallet only on hot, the number of confirmed copy-trading wallets with measurable returns. | |
data.items[].suggested_fee | string | null | ✓ | pattern: ^-?\d+(\.\d+)?$ | Suggested buy fee for copy-trading this wallet, priority fee plus landing fee, in SOL as a decimal string. A hint only; tasks accept any fee. Null when there is no suggestion; always null on bsc and robinhood. |
data.items[].types | array<enum ("hot" | "rising" | "stable_profit" | "long_hold")> | ✓ | minItems: 1 | Daily rankings this wallet is on: hot, rising, stable_profit or long_hold, in that order. A wallet on several rankings appears once with every type. Ignore unknown values as new ones may be added. |
data.items[].pnl_usd_48h | string | null | ✓ | pattern: ^-?\d+(\.\d+)?$ | Realized profit or loss over data_day and the day before (UTC), in USD as a decimal string. The merged ranking is ordered by it. Null when the wallet had no trades or transfers on those two days, and for wallets from a daily version published before this metric existed. "0.00" means activity without realized profit or loss. |
meta | object | ✓ | Request id, plus paging fields when this operation is a list. | |
meta.request_id | string | ✓ | Id of this request. Also sent as the X-Request-Id response header. |
400 — validation_error
| Field | Type | Required | Description |
|---|---|---|---|
error | object | ✓ | Why the request failed. |
error.code | string | ✓ | Stable machine-readable error code. |
error.message | string | ✓ | Human-readable explanation of the error. |
error.total | number | Number of distinct blacklisted wallets the account would have on this chain after saving. | |
error.limit | number | Maximum distinct blacklisted wallets per account on this chain. | |
error.details | array<object> | Only present when at least one field-level validation issue exists. | |
error.details[].field | string | ✓ | Request field this issue refers to, or a dotted path such as buy.amount. |
error.details[].reason | string | ✓ | Why that field was rejected. |
error.details[].code | string | Stable machine-readable reason for a strategy spec issue, for example unsupported_leaf or pump_callers_required. Present only on strategy spec validation errors; reason may change. | |
meta | object | ✓ | Request id for this failure. |
meta.request_id | string | ✓ | Id of this request. Also sent as the X-Request-Id response header. |
401 — unauthorized (missing/invalid/revoked/expired Bearer token)
| Field | Type | Required | Description |
|---|---|---|---|
error | object | ✓ | Why the request failed. |
error.code | string | ✓ | Stable machine-readable error code. |
error.message | string | ✓ | Human-readable explanation of the error. |
error.total | number | Number of distinct blacklisted wallets the account would have on this chain after saving. | |
error.limit | number | Maximum distinct blacklisted wallets per account on this chain. | |
error.details | array<object> | Only present when at least one field-level validation issue exists. | |
error.details[].field | string | ✓ | Request field this issue refers to, or a dotted path such as buy.amount. |
error.details[].reason | string | ✓ | Why that field was rejected. |
error.details[].code | string | Stable machine-readable reason for a strategy spec issue, for example unsupported_leaf or pump_callers_required. Present only on strategy spec validation errors; reason may change. | |
meta | object | ✓ | Request id for this failure. |
meta.request_id | string | ✓ | Id of this request. Also sent as the X-Request-Id response header. |
403 — insufficient_scope / ip_not_allowed
| Field | Type | Required | Description |
|---|---|---|---|
error | object | ✓ | Why the request failed. |
error.code | string | ✓ | Stable machine-readable error code. |
error.message | string | ✓ | Human-readable explanation of the error. |
error.total | number | Number of distinct blacklisted wallets the account would have on this chain after saving. | |
error.limit | number | Maximum distinct blacklisted wallets per account on this chain. | |
error.details | array<object> | Only present when at least one field-level validation issue exists. | |
error.details[].field | string | ✓ | Request field this issue refers to, or a dotted path such as buy.amount. |
error.details[].reason | string | ✓ | Why that field was rejected. |
error.details[].code | string | Stable machine-readable reason for a strategy spec issue, for example unsupported_leaf or pump_callers_required. Present only on strategy spec validation errors; reason may change. | |
meta | object | ✓ | Request id for this failure. |
meta.request_id | string | ✓ | Id of this request. Also sent as the X-Request-Id response header. |
429 — rate_limited (Retry-After response header set)
| Field | Type | Required | Description |
|---|---|---|---|
error | object | ✓ | Why the request failed. |
error.code | string | ✓ | Stable machine-readable error code. |
error.message | string | ✓ | Human-readable explanation of the error. |
error.total | number | Number of distinct blacklisted wallets the account would have on this chain after saving. | |
error.limit | number | Maximum distinct blacklisted wallets per account on this chain. | |
error.details | array<object> | Only present when at least one field-level validation issue exists. | |
error.details[].field | string | ✓ | Request field this issue refers to, or a dotted path such as buy.amount. |
error.details[].reason | string | ✓ | Why that field was rejected. |
error.details[].code | string | Stable machine-readable reason for a strategy spec issue, for example unsupported_leaf or pump_callers_required. Present only on strategy spec validation errors; reason may change. | |
meta | object | ✓ | Request id for this failure. |
meta.request_id | string | ✓ | Id of this request. Also sent as the X-Request-Id response header. |
500 — internal_error
| Field | Type | Required | Description |
|---|---|---|---|
error | object | ✓ | Why the request failed. |
error.code | string | ✓ | Stable machine-readable error code. |
error.message | string | ✓ | Human-readable explanation of the error. |
error.total | number | Number of distinct blacklisted wallets the account would have on this chain after saving. | |
error.limit | number | Maximum distinct blacklisted wallets per account on this chain. | |
error.details | array<object> | Only present when at least one field-level validation issue exists. | |
error.details[].field | string | ✓ | Request field this issue refers to, or a dotted path such as buy.amount. |
error.details[].reason | string | ✓ | Why that field was rejected. |
error.details[].code | string | Stable machine-readable reason for a strategy spec issue, for example unsupported_leaf or pump_callers_required. Present only on strategy spec validation errors; reason may change. | |
meta | object | ✓ | Request id for this failure. |
meta.request_id | string | ✓ | Id of this request. Also sent as the X-Request-Id response header. |
503 — wallet_rankings_unavailable: no cached result is available and a daily ranking could not be read.
| Field | Type | Required | Description |
|---|---|---|---|
error | object | ✓ | Why the request failed. |
error.code | string | ✓ | Stable machine-readable error code. |
error.message | string | ✓ | Human-readable explanation of the error. |
error.total | number | Number of distinct blacklisted wallets the account would have on this chain after saving. | |
error.limit | number | Maximum distinct blacklisted wallets per account on this chain. | |
error.details | array<object> | Only present when at least one field-level validation issue exists. | |
error.details[].field | string | ✓ | Request field this issue refers to, or a dotted path such as buy.amount. |
error.details[].reason | string | ✓ | Why that field was rejected. |
error.details[].code | string | Stable machine-readable reason for a strategy spec issue, for example unsupported_leaf or pump_callers_required. Present only on strategy spec validation errors; reason may change. | |
meta | object | ✓ | Request id for this failure. |
meta.request_id | string | ✓ | Id of this request. Also sent as the X-Request-Id response header. |
curl -X GET "https://api.apm.fun/v1/wallet-rankings/merged" \
-H "Authorization: Bearer apm_live_<prefix>.<secret>" {
"data": {
"chain": "solana",
"data_day": null,
"as_of": null,
"metrics_as_of": null,
"items": [
{
"rank": 0,
"address": "0x8f2a1c9bde34567890abcdef1234567890abcdef",
"reason_tags": [
"string"
],
"followers": null,
"follower_ret_median": null,
"follower_profitable_share": null,
"realized_pnl_usd": "string",
"win_rate": null,
"pnl_usd_7d": null,
"pnl_usd_30d": null,
"pnl_ratio_7d": null,
"pnl_ratio_30d": null,
"trades": 0,
"tokens_traded": 0,
"trades_per_day": null,
"avg_buy_usd": null,
"median_hold_minutes": null,
"sample_size": 0,
"suggested_fee": null,
"types": [
"hot"
],
"pnl_usd_48h": null
}
]
},
"meta": {
"request_id": "cfg_8f2a1c9b"
}
}