API 参考文档 v1
获取 API Key 获取 Key

GET /v1/wallet-rankings/merged

读取合并后的钱包榜单

需要 copytrade:read 权限。每条链一个榜:当天热门、新秀、稳定盈利、长持四个榜的钱包各出现一次,用 types 标出所在榜单,按近 48 小时已实现收益从高到低排序。每次返回全部名次,不分页。读取缓存 5 分钟。金额使用美元十进制字符串,比例使用小数,无法计算的指标为 null。供查看和自主选择跟单目标使用,请勿直接用作自动跟单名单。

所需 Scope: copytrade:read

查询参数

字段类型必填说明
chainenum ("solana" | "bsc" | "robinhood")✓Chain on which the wallets are ranked.

响应

200 — Merged ranking, or data_day null with empty items if no daily ranking has been published on this chain.

字段类型必填约束说明
dataobject✓Response payload.
data.chainenum ("solana" | "bsc" | "robinhood")✓Chain on which the wallets are ranked.
data.data_daystring | null✓Latest UTC data day among the merged daily rankings, or null when none has been published on this chain.
data.as_ofstring | null✓Latest UTC cutoff time among the merged daily rankings, or null before publication.
data.metrics_as_ofstring | null✓Latest UTC cutoff time for the refreshed metrics, or null if unavailable.
data.itemsarray<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[].rankinteger✓Position in the merged ranking, starting at 1.
data.items[].addressstring✓Wallet address on the selected chain.
data.items[].reason_tagsarray<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[].followersinteger | 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_mediannumber | 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_sharenumber | 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_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 closed token positions; for a wallet only on hot, the number of confirmed copy-trading wallets with measurable returns.
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.
data.items[].typesarray<enum ("hot" | "rising" | "stable_profit" | "long_hold")>✓minItems: 1Daily 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_48hstring | 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.
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

字段类型必填说明
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)

字段类型必填说明
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

字段类型必填说明
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)

字段类型必填说明
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

字段类型必填说明
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 a daily ranking could not be read.

字段类型必填说明
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.
请求示例
curl -X GET "https://api.apm.fun/v1/wallet-rankings/merged" \
  -H "Authorization: Bearer apm_live_<prefix>.<secret>"
响应示例 200
{
  "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"
  }
}