Pagination cursor (pass the next value from the previous response)
--type <type>
Repeatable: buy / sell / add / remove / transfer
The activity response includes a next field. Pass it to --cursor to fetch the next page.
Stats Options
Option
Description
--period <period>
Stats period: 7d / 30d (default 7d)
Follow-Wallet Options
Option
Description
--chain
Required. sol / bsc / base / eth
--wallet <address>
Filter by wallet address
--base-token <address>
Filter by base token address
--page-token <cursor>
Pagination cursor
--limit <n>
Page size (1–200, default 100)
--side <side>
Trade direction filter
--cost <cost>
Cost filter
--filter <tag...>
Repeatable filter conditions
--with-balance
Include balance in response
--with-security
Include security info in response
--min-amount-usd <n>
Minimum trade amount (USD)
--max-amount-usd <n>
Maximum trade amount (USD)
--is-gray
Gray mode filter
KOL / Smart Money Options
Option
Description
--limit <n>
Page size (1–200, default 100)
Both kol and smartmoney return SOL chain data only — no --chain flag needed.
# Follow-wallet trades filtered by wallet
gmgn-cli portfolio follow-wallet --chain sol --wallet <wallet_address>
# Follow-wallet with balance info
gmgn-cli portfolio follow-wallet --chain sol --with-balance --limit 20# KOL trade records
gmgn-cli portfolio kol --limit 10 --raw
# Smart Money trade records
gmgn-cli portfolio smartmoney --limit 10 --raw
Notes
All portfolio commands use normal auth (API Key only, no signature required)
portfolio stats supports multiple --wallet flags for batch queries
Use --raw to get single-line JSON for further processing
Input validation — Wallet and token addresses are validated against the expected chain format at runtime (sol: base58 32–44 chars; bsc/base/eth: 0x + 40 hex digits). The CLI exits with an error on invalid input.