API Reference v1
Get API Key API Key

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

FieldTypeRequiredDescription
chainenum ("solana" | "bsc" | "robinhood")✓Chain on which the wallets are ranked.
typeenum ("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.

FieldTypeRequiredConstraintsDescription
dataobject✓Response payload.
data.chainenum ("solana" | "bsc" | "robinhood")✓Chain on which the wallets are ranked.
data.typeenum ("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.versioninteger | null✓Daily version. Null with empty items means this ranking has never been published on this chain.
data.data_daystring | null✓Last UTC data day included in the daily ranking, or null before publication.
data.as_ofstring | null✓UTC cutoff time of the daily ranking, or null before publication.
data.metrics_as_ofstring | null✓UTC cutoff time for the refreshed metrics, or null if unavailable.
data.itemsarray<object>✓All ranked wallets in rank order, up to 100 rows in one response without pagination.
data.items[].rankinteger✓Position in the published ranking, starting at 1.
data.items[].addressstring✓Wallet address on the selected chain.
data.items[].reason_tagsarray<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[].followersinteger | 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_mediannumber | 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_sharenumber | 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_usdstring✓pattern: ^-?\d+(\.\d+)?$Realized profit or loss over 30 days, in USD as a decimal string.
data.items[].win_ratenumber | null✓Fraction of closed token positions with positive realized profit, or null if unavailable.
data.items[].pnl_usd_7dstring | null✓pattern: ^-?\d+(\.\d+)?$Seven-day profit or loss including unrealized PnL, in USD as a decimal string, or null.
data.items[].pnl_usd_30dstring | null✓pattern: ^-?\d+(\.\d+)?$30-day profit or loss including unrealized PnL, in USD as a decimal string, or null.
data.items[].pnl_ratio_7dnumber | null✓Seven-day profit or loss divided by buy cost, or null.
data.items[].pnl_ratio_30dnumber | null✓30-day profit or loss divided by buy cost, or null.
data.items[].tradesinteger✓Number of trades over 30 days.
data.items[].tokens_tradedinteger✓Number of distinct tokens traded over 30 days.
data.items[].trades_per_daynumber | null✓Average buys per day over the covered part of the last 30 days, or null.
data.items[].avg_buy_usdstring | null✓pattern: ^-?\d+(\.\d+)?$Average buy size over 30 days, in USD as a decimal string, or null.
data.items[].median_hold_minutesnumber | null✓Estimated median holding time in minutes, or null.
data.items[].sample_sizeinteger✓Number of confirmed copy-trading wallets with measurable returns for hot, or closed token positions for other rankings.
data.items[].suggested_feestring | 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.
metaobject✓Request id, plus paging fields when this operation is a list.
meta.request_idstring✓Id of this request. Also sent as the X-Request-Id response header.

400 — validation_error

FieldTypeRequiredDescription
errorobject✓Why the request failed.
error.codestring✓Stable machine-readable error code.
error.messagestring✓Human-readable explanation of the error.
error.totalnumberNumber of distinct blacklisted wallets the account would have on this chain after saving.
error.limitnumberMaximum distinct blacklisted wallets per account on this chain.
error.detailsarray<object>Only present when at least one field-level validation issue exists.
error.details[].fieldstring✓Request field this issue refers to, or a dotted path such as buy.amount.
error.details[].reasonstring✓Why that field was rejected.
error.details[].codestringStable 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.
metaobject✓Request id for this failure.
meta.request_idstring✓Id of this request. Also sent as the X-Request-Id response header.

401 — unauthorized (missing/invalid/revoked/expired Bearer token)

FieldTypeRequiredDescription
errorobject✓Why the request failed.
error.codestring✓Stable machine-readable error code.
error.messagestring✓Human-readable explanation of the error.
error.totalnumberNumber of distinct blacklisted wallets the account would have on this chain after saving.
error.limitnumberMaximum distinct blacklisted wallets per account on this chain.
error.detailsarray<object>Only present when at least one field-level validation issue exists.
error.details[].fieldstring✓Request field this issue refers to, or a dotted path such as buy.amount.
error.details[].reasonstring✓Why that field was rejected.
error.details[].codestringStable 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.
metaobject✓Request id for this failure.
meta.request_idstring✓Id of this request. Also sent as the X-Request-Id response header.

403 — insufficient_scope / ip_not_allowed

FieldTypeRequiredDescription
errorobject✓Why the request failed.
error.codestring✓Stable machine-readable error code.
error.messagestring✓Human-readable explanation of the error.
error.totalnumberNumber of distinct blacklisted wallets the account would have on this chain after saving.
error.limitnumberMaximum distinct blacklisted wallets per account on this chain.
error.detailsarray<object>Only present when at least one field-level validation issue exists.
error.details[].fieldstring✓Request field this issue refers to, or a dotted path such as buy.amount.
error.details[].reasonstring✓Why that field was rejected.
error.details[].codestringStable 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.
metaobject✓Request id for this failure.
meta.request_idstring✓Id of this request. Also sent as the X-Request-Id response header.

429 — rate_limited (Retry-After response header set)

FieldTypeRequiredDescription
errorobject✓Why the request failed.
error.codestring✓Stable machine-readable error code.
error.messagestring✓Human-readable explanation of the error.
error.totalnumberNumber of distinct blacklisted wallets the account would have on this chain after saving.
error.limitnumberMaximum distinct blacklisted wallets per account on this chain.
error.detailsarray<object>Only present when at least one field-level validation issue exists.
error.details[].fieldstring✓Request field this issue refers to, or a dotted path such as buy.amount.
error.details[].reasonstring✓Why that field was rejected.
error.details[].codestringStable 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.
metaobject✓Request id for this failure.
meta.request_idstring✓Id of this request. Also sent as the X-Request-Id response header.

500 — internal_error

FieldTypeRequiredDescription
errorobject✓Why the request failed.
error.codestring✓Stable machine-readable error code.
error.messagestring✓Human-readable explanation of the error.
error.totalnumberNumber of distinct blacklisted wallets the account would have on this chain after saving.
error.limitnumberMaximum distinct blacklisted wallets per account on this chain.
error.detailsarray<object>Only present when at least one field-level validation issue exists.
error.details[].fieldstring✓Request field this issue refers to, or a dotted path such as buy.amount.
error.details[].reasonstring✓Why that field was rejected.
error.details[].codestringStable 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.
metaobject✓Request id for this failure.
meta.request_idstring✓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.

FieldTypeRequiredDescription
errorobject✓Why the request failed.
error.codestring✓Stable machine-readable error code.
error.messagestring✓Human-readable explanation of the error.
error.totalnumberNumber of distinct blacklisted wallets the account would have on this chain after saving.
error.limitnumberMaximum distinct blacklisted wallets per account on this chain.
error.detailsarray<object>Only present when at least one field-level validation issue exists.
error.details[].fieldstring✓Request field this issue refers to, or a dotted path such as buy.amount.
error.details[].reasonstring✓Why that field was rejected.
error.details[].codestringStable 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.
metaobject✓Request id for this failure.
meta.request_idstring✓Id of this request. Also sent as the X-Request-Id response header.
Example request
curl -X GET "https://api.apm.fun/v1/wallet-rankings" \
  -H "Authorization: Bearer apm_live_<prefix>.<secret>"
Example response 200
{
  "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"
  }
}