GET /pf/api/v1/wallet/{chain}/{wallet}/token_stat
Auth X-Hub-Key from API_HUB_KEYExecute
GET /run/gmgn/pf/api/v1/wallet/{chain}/{wallet}/token_statCache cached 1s, never served stale past that windowCost per_call · weight 1 · standard rate classSource billing freeWallet lifetime trade totals, bought cost, sold income, and realized profit for one token
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 |
token_address | query | string | required | Token address default: DezXAZ8z7PnrnRJjz3wXBoRgixCa6xjnB7YaB1pPB263example: DezXAZ8z7PnrnRJjz3wXBoRgixCa6xjnB7YaB1pPB263 |
Response
type: object
pagination: none
sample: {
"realized_profit": "0",
"total_buys": 0,
"bought_cost": "0",
"total_sells": 0,
"sold_income": "0",
"total_transfer_ins": 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/pf/api/v1/wallet/sol/Dr8rkEcrZyQyJRqC8kBc5g6ZPUN59mSSTo8u1wR5gePH/token_stat?token_address=DezXAZ8z7PnrnRJjz3wXBoRgixCa6xjnB7YaB1pPB263"