GET /v1/wallet-rankings
Read a daily wallet ranking
Each chain and ranking type has one version per day. Returns all rows (up to 100) without pagination. Reads are cached for five minutes. USD amounts are decimal strings, ratios are fractions and unavailable metrics are null. Use the rankings 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. |
type | enum ("hot" | "rising" | "stable_profit" | "long_hold") | ✓ | Daily ranking to read: hot, rising, stable_profit or long_hold. Every ranking uses the 30 days through data_day and only includes wallets that traded in the last 3 days, traded on at least 7 days, have positive realized PnL, traded at most 1,000 tokens and did not trade a token they created. Of the tokens a wallet bought, at most 20% may have its first buy within 2 blocks of the token's first trade (5 blocks on Robinhood), at most 50% within 60 seconds, and at most 50% may be sold, by at least half the amount bought, within 60 seconds of the first buy. hot lists profitable wallets followed by confirmed copy-trading wallets, ranked by the number of those wallets, then by their median return, then by address. At least 3 of them must have measurable returns and their median return must be above -30%. hot returns an empty list on bsc and robinhood until confirmed copy-trading wallets are observed there. |
Responses
200 — Published ranking, or version null with empty items if never published.
| Field | Type | Required | Constraints | Description |
|---|---|---|---|---|
data | object | ✓ | Response payload. | |
data.chain | enum ("solana" | "bsc" | "robinhood") | ✓ | Chain on which the wallets are ranked. | |
data.type | enum ("hot" | "rising" | "stable_profit" | "long_hold") | ✓ | Daily ranking to read: hot, rising, stable_profit or long_hold. Every ranking uses the 30 days through data_day and only includes wallets that traded in the last 3 days, traded on at least 7 days, have positive realized PnL, traded at most 1,000 tokens and did not trade a token they created. Of the tokens a wallet bought, at most 20% may have its first buy within 2 blocks of the token's first trade (5 blocks on Robinhood), at most 50% within 60 seconds, and at most 50% may be sold, by at least half the amount bought, within 60 seconds of the first buy. hot lists profitable wallets followed by confirmed copy-trading wallets, ranked by the number of those wallets, then by their median return, then by address. At least 3 of them must have measurable returns and their median return must be above -30%. hot returns an empty list on bsc and robinhood until confirmed copy-trading wallets are observed there. | |
data.version | integer | null | ✓ | Daily version. Null with empty items means this ranking has never been published on this chain. | |
data.data_day | string | null | ✓ | Last UTC data day included in the daily ranking, or null before publication. | |
data.as_of | string | null | ✓ | UTC cutoff time of the daily ranking, or null before publication. | |
data.metrics_as_of | string | null | ✓ | UTC cutoff time for the refreshed metrics, or null if unavailable. | |
data.items | array<object> | ✓ | All ranked wallets in rank order, up to 100 rows in one response without pagination. | |
data.items[].rank | integer | ✓ | Position in the published ranking, starting at 1. | |
data.items[].address | string | ✓ | Wallet address on the selected chain. | |
data.items[].reason_tags | array<string> | ✓ | 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 identifies a newly observed wallet on the rising ranking only. | |
data.items[].followers | integer | null | ✓ | Number of distinct wallets that followed this wallet over the last 30 days, or null if unavailable. A confirmed copy-trading wallet counts while it follows up to 20 wallets; other followers count while they follow up to 5. On hot, only confirmed copy-trading wallets are counted and this is the primary sort key. | |
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. Orders hot wallets with the same follower count. Only available 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 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 confirmed copy-trading wallets with measurable returns for hot, or closed token positions for other rankings. | |
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. |
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 the 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" \
-H "Authorization: Bearer apm_live_<prefix>.<secret>" {
"data": {
"chain": "solana",
"type": "hot",
"version": null,
"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
}
]
},
"meta": {
"request_id": "cfg_8f2a1c9b"
}
}