API Reference v1
Get API Key API Key

Read wallet rankings

Use a token with the copytrade:read scope to display a ranking or let someone choose a wallet to copy. The user decides whether to create a copy task. Do not use a ranking as an automatic copy list.

  • GET /v1/wallet-rankings/merged returns one ranking per chain: every wallet on the day’s hot, rising, stable_profit and long_hold rankings once, tagged in types and ordered by realized P&L over the last 48 hours. This is the ranking shown on the APM website. The read-only MCP tool is getMergedWalletRanking.
  • GET /v1/wallet-rankings returns a single ranking by chain and type, with the same content and order as before. The read-only MCP tool is getWalletRankings.

The MCP tools take the same fields as REST under query.

Merged ranking

chain is the only parameter and is required: solana, bsc or robinhood. All wallets are returned at once without a cursor.

curl 'https://api.apm.fun/v1/wallet-rankings/merged?chain=solana' \
  -H "Authorization: Bearer $APM_API_TOKEN"

data carries chain, data_day, as_of, metrics_as_of and items, without type or version. Each timestamp is the latest among the four rankings; all three are null with empty items when none has been published. Each row has two fields on top of the single-ranking fields:

  • types: the rankings the wallet is on, in the order hot, rising, stable_profit, long_hold, for example ["hot", "stable_profit"]. New values may be added; ignore unknown ones.
  • pnl_usd_48h: realized profit or loss over the data day and the day before (UTC), as a USD decimal string. null when the wallet had no trades or transfers on those two days, and for daily versions published before this metric existed; "0.00" means activity without realized profit or loss.

items are ordered by pnl_usd_48h from high to low, then by address, with null last, and rank counts from 1 without gaps. Filter by types to keep the same order for one ranking. For a wallet on several rankings, reason_tags is the union across them. For a wallet tagged hot, followers, follower_ret_median and follower_profitable_share all come from hot, so followers counts confirmed copy-trading wallets only; the other two are null for wallets not on hot. sample_size is the number of closed token positions, or the number of copy-trading wallets with measurable returns for a wallet only on hot.

Single ranking

Both query parameters are required. Set chain to solana, bsc or robinhood. Set type to hot, rising, stable_profit or long_hold. Each pair has one daily version and returns all rows in rank order, up to 100 in a single request, without a cursor.

curl 'https://api.apm.fun/v1/wallet-rankings?chain=solana&type=hot' \
  -H "Authorization: Bearer $APM_API_TOKEN"

Read the response

The values below are illustrative. <address> stands for a fictional wallet.

{
  "data": {
    "chain": "solana",
    "type": "hot",
    "version": 7,
    "data_day": "2026-11-20",
    "as_of": "2026-11-21T00:00:00Z",
    "metrics_as_of": "2026-11-21T03:00:00Z",
    "items": [
      {
        "rank": 1,
        "address": "<address>",
        "reason_tags": ["multi_followed"],
        "followers": 24,
        "follower_ret_median": 0.08,
        "follower_profitable_share": 0.6,
        "realized_pnl_usd": "325.50",
        "win_rate": 0.5,
        "pnl_usd_7d": "-25.00",
        "pnl_usd_30d": "350.00",
        "pnl_ratio_7d": -0.05,
        "pnl_ratio_30d": 0.07,
        "trades": 48,
        "tokens_traded": 12,
        "trades_per_day": 0.8,
        "avg_buy_usd": "208.33",
        "median_hold_minutes": null,
        "sample_size": 20,
        "suggested_fee": "0.18"
      }
    ]
  },
  "meta": { "request_id": "req_example" }
}

data_day is the last UTC day in the ranking. as_of is its cutoff time and metrics_as_of is the cutoff for refreshed metrics. USD amounts are decimal strings. Ratios are fractions, so 0.08 represents 8%. An unavailable metric is null. Only hot provides the two follower return metrics. On hot, followers, follower_ret_median, follower_profitable_share and sample_size cover confirmed copy-trading wallets only: followers is their count and the primary sort key, and sample_size is how many of them have measurable returns. On other rankings, followers counts all followers and sample_size is the number of closed token positions.

suggested_fee is the suggested buy fee for a copy task on this wallet, priority fee plus landing fee, as a decimal string in SOL. It is a hint only; tasks accept any fee. It is null without a suggestion and always null on BSC and Robinhood.

Ignore unknown reason_tags and keep the row. multi_followed means at least five addresses that frequently copy-trade followed the wallet over the last 30 days. new_wallet appears only on rising. See Wallet Rankings for the screen shared by all rankings, each ranking’s selection and the column definitions.

Empty rankings and read failures

  • A single ranking with 200, version: null and items: [] means this chain has never published that ranking; for the merged ranking it is data_day: null with items: []. A numbered version with an empty list means that edition has no ranked wallets. Hot is paused on BSC and Robinhood, so type=hot returns an empty list there, and no merged row carries hot, until confirmed copy-trading wallets are observed.
  • Reads are cached for five minutes per chain and ranking type. If a refresh fails, the API can serve the previous result. Use the timestamps to show how recent it is.
  • 503 with wallet_rankings_unavailable means the API could not read the ranking, or one of the four rankings behind the merged ranking, and has no cached result to serve. Display a temporary error and retry later. Preserve any previous ranking in your application.