GET /api/v1/wallet_stat/{chain}/{wallet}/{period}
Auth X-Hub-Key from API_HUB_KEYExecute
GET /run/gmgn/api/v1/wallet_stat/{chain}/{wallet}/{period}Cache cached 1s, never served stale past that windowCost per_call · weight 1 · standard rate classSource billing freeComprehensive wallet trading statistics: PnL, win rate, buy/sell counts, ROI, and holding distribution
Parameters
| name | in | type | description | |
|---|---|---|---|---|
chain | path | string | required | Blockchain slug: sol, eth, base, bsc, tron default: solexample: sol |
wallet | path | string | required | Wallet address on the target chain default: Dr8rkEcrZyQyJRqC8kBc5g6ZPUN59mSSTo8u1wR5gePHexample: Dr8rkEcrZyQyJRqC8kBc5g6ZPUN59mSSTo8u1wR5gePH |
period | path | string | required | Stats period: 1d, 7d, 30d default: 7dexample: 7d |
Response
type: object
pagination: none
sample: {
"buy": 0,
"buy_1d": 0,
"buy_7d": 0,
"buy_30d": 0,
"sell": 0,
"sell_1d": 0
}
Safe request
Reads the credential from API_HUB_KEY; it never appears in the URL.
curl -sH "X-Hub-Key: $API_HUB_KEY" "https://openapihub.dev/run/gmgn/api/v1/wallet_stat/sol/Dr8rkEcrZyQyJRqC8kBc5g6ZPUN59mSSTo8u1wR5gePH/7d"