DEV Community

diogenicious
diogenicious

Posted on Fully Autonomous

Track where Solana smart money goes in 24 hours with a free API, in Python

"Smart money is buying X" is one of the most repeated lines in crypto, and most of the time it means one wallet bought a lot. One wallet is not a signal. It can be a market maker, a treasury moving funds, or someone exiting a different position.

This post pulls the coins tracked Solana traders bought most in the last 24 hours, splits real crowds from single wallets, then ranks the hot coins by how many top traders are still holding. It uses a free API with no key and under 40 lines of Python.

Disclosure: I am the founder of copy.top. copy.top is independent and not affiliated with pumpfun or fomo.

Setup

python3 -m venv .venv
.venv/bin/pip install copytop
Enter fullscreen mode Exit fullscreen mode

The copytop package is standard library only and needs no key. I tested with copytop 0.1.1 on Python 3.14.5. Everything here is read-only.

Two endpoints, two questions

  • money_flow(side="buy", window="24h") answers "where did the most dollars go?". Each coin comes with usd (dollars bought by tracked traders) and traders (how many of them bought). Windows: 1h, 6h, 24h or 7d, up to 10 coins.
  • hot_coins(window="24h") answers "what are top traders piling into, and are they still in?". Each coin comes with boughtUsd, soldUsd, topTraders (top ranked traders who bought) and topStillIn (how many of those still hold).

Step 1: a crowd, not a whale

from copytop import Client, coin_url

MIN_TRADERS = 3   # one whale is not a crowd


def biggest_buys(client):
    """Coins with the most dollars bought: split crowds from single wallets."""
    coins = client.money_flow(side="buy", window="24h", limit=10)["coins"]
    sol = [c for c in coins if c["chain"] == "solana"]
    crowd = [c for c in sol if c["traders"] >= MIN_TRADERS]
    solo = [c for c in sol if c["traders"] < MIN_TRADERS]
    return crowd, solo
Enter fullscreen mode Exit fullscreen mode

Sorting by dollars alone puts the biggest single wallet on top. Keeping the coins bought by at least three traders is the cheapest filter against that, and printing what was left out keeps you honest about what the filter removed.

Step 2: who is still holding

def conviction(client):
    """Hot coins: net dollars in, and how many top traders still hold."""
    rows = []
    for c in client.hot_coins(window="24h", limit=15)["coins"]:
        if c["chain"] != "solana" or not c.get("topTraders"):
            continue
        rows.append({
            "symbol": c["symbol"],
            "net": (c.get("boughtUsd") or 0) - (c.get("soldUsd") or 0),
            "still_in": c.get("topStillIn") or 0,
            "top": c["topTraders"],
            "url": coin_url("solana", c["token"]),
        })
    return sorted(rows, key=lambda r: (-r["still_in"] / r["top"], -r["net"]))
Enter fullscreen mode Exit fullscreen mode

Buying is cheap to fake and easy to misread; holding is not. A coin where 8 of 9 top buyers still hold says something different from a coin where 2 of 9 do, even if both saw the same dollars come in. Ties are broken by net dollars in.

Run it

def main():
    client = Client()
    crowd, solo = biggest_buys(client)
    print(f"biggest buys, 24 h: {len(crowd)} coins bought by {MIN_TRADERS}+ traders, {len(solo)} by one or two")
    for c in crowd[:5]:
        print(f"  {c['symbol']:<8} {c['token'][:4]}…  ${c['usd']:>9,.0f} from {c['traders']} traders")
    for c in solo[:2]:
        print(f"  left out: {c['symbol']} {c['token'][:4]}…  ${c['usd']:,.0f} from {c['traders']} trader(s)")

    print("\nhot coins, ranked by the share of top traders still holding:")
    for r in conviction(client)[:6]:
        print(f"  {r['symbol']:<8} {r['still_in']:>2}/{r['top']:<2} still in   net ${r['net']:>9,.0f}")


if __name__ == "__main__":
    main()
Enter fullscreen mode Exit fullscreen mode

On November 26, 2026 it printed:

biggest buys, 24 h: 9 coins bought by 3+ traders, 1 by one or two
  Zero     DTSk…  $  234,406 from 131 traders
  MONEY    6sA2…  $  127,008 from 21 traders
  MONEY    DeAC…  $  122,643 from 32 traders
  ATX      Ya9P…  $  118,184 from 4 traders
  ANSEM    9cRC…  $  114,636 from 17 traders
  left out: JUP JUPy…  $248,235 from 1 trader(s)

hot coins, ranked by the share of top traders still holding:
  WBTC      6/6  still in   net $   60,026
  XMR       8/9  still in   net $    5,856
  DJT       8/9  still in   net $    3,881
  mihao     7/8  still in   net $   34,423
  VVV       6/7  still in   net $    5,746
  DOGE      6/7  still in   net $    3,430
Enter fullscreen mode Exit fullscreen mode

Two things in that output are worth a second look.

  • Two different coins are called MONEY. Symbols are not unique on Solana: anyone can launch a token with any ticker. Always key your data by the mint address (token), never by the symbol, and show a few characters of the mint when two symbols collide.
  • The single largest buy of the day came from one trader and was left out. That is the filter doing its job.

Limits worth knowing

  • Without a key the API allows about 20 calls a minute per IP, and answers can be cached for up to 30 seconds. Polling every minute is plenty for a 24 hour window.
  • "Tracked traders" are the traders copy.top ranks, not every wallet on Solana. That is the point: the signal is what ranked traders do, not total volume.

Going further

If you are choosing a data source for this kind of work, I compared the options in a Solana Tracker API alternative and a Nansen API and MCP alternative: what needs a key, what is free, and what each one returns.

The package is on PyPI as copytop. Figures are data, not advice: a coin that top traders hold can still go to zero, and past performance does not predict results.

Top comments (0)