Who bought and sold a token: top DEX buyers and sellers
No account. Pay by card from $1 and your key appears right after payment. Get a key by card
Who bought and who sold a token lately: the wallets that took the most of an ERC-20 from DEX pools and routers (buyers) or sent the most to them (sellers) over recent blocks, from its live Transfer logs on Base (default), Ethereum, Arbitrum, Optimism or Polygon, with bought, sold, net and transfers. Contracts are left out. Use to see who accumulates or dumps a token before you trade it.
Inputs
| Name | Type | Description |
|---|---|---|
token (required) | string | Token: 0x ERC-20 address, or a ticker such as AERO, DEGEN or USDC |
chain | string | base (default), ethereum, arbitrum, optimism or polygon |
blocks | integer | How many recent blocks to read, 100 to 10000 (default 1800: about 6 hours on Ethereum); on Base, which makes a block every 0.2 s, ten times that (default 18000, about an hour, up to 100000) |
limit | integer | Buyers and sellers to return each, 1 to 20 (default 10) |
Request
Over HTTP, with a card key from /credits:
curl -H "Authorization: Bearer adt_…" "https://glyphtools.com/token/who-bought-sold?token=0x940181a94A35A4569E4529A3CDfB74e38FD98631"
Node.js
const r = await fetch("https://glyphtools.com/token/who-bought-sold?token=0x940181a94A35A4569E4529A3CDfB74e38FD98631", {
headers: { Authorization: "Bearer adt_…" },
});
const data = await r.json(); // 402 until the key is in the header
Python
import requests
r = requests.get("https://glyphtools.com/token/who-bought-sold?token=0x940181a94A35A4569E4529A3CDfB74e38FD98631", headers={"Authorization": "Bearer adt_…"}, timeout=60)
data = r.json()
Or one of your 3 free calls, no key — the same request with &trial=1 on the end:
curl "https://glyphtools.com/token/who-bought-sold?token=0x940181a94A35A4569E4529A3CDfB74e38FD98631&trial=1"
Without a key, the same URL answers 402 Payment Required with x402 and MPP terms, so an agent with a wallet pays per call in USDC (Base, Polygon, Arbitrum or Solana over x402; Base or Tempo over MPP) and retries.
Example result
{
"chain": "Base",
"token": {
"address": "0x940181a94A35A4569E4529A3CDfB74e38FD98631",
"symbol": "AERO",
"decimals": 18
},
"fromBlock": 37001200,
"toBlock": 37002999,
"transfersRead": 1840,
"truncated": false,
"dexContractsSeen": 12,
"buyers": [
{
"address": "0x3333333333333333333333333333333333333333",
"bought": "15230.5",
"sold": "0",
"netViaDex": "15230.5",
"netAll": "15230.5",
"transfers": 4
}
],
"sellers": [
{
"address": "0x4444444444444444444444444444444444444444",
"bought": "0",
"sold": "8800",
"netViaDex": "-8800",
"netAll": "-8800",
"transfers": 2
}
],
"note": "Bought and sold count transfers from and to DEX pools, routers and other busy contracts; netAll includes plain wallet-to-wallet moves. Contracts are left out of the lists."
}
From an AI agent (MCP)
Add the MCP server to Claude, Cursor or any MCP client. This tool is token_who_bought_sold, and the first 10 successful calls are free:
https://glyphtools.com/mcp