GET /api/v1/wallet_token_info/{chain}/{wallet}/{address}
Auth X-Hub-Key from API_HUB_KEYExecute
GET /run/gmgn/api/v1/wallet_token_info/{chain}/{wallet}/{address}Cache cached 1s, never served stale past that windowCost per_call · weight 1 · standard rate classSource billing freeSingle-token position, balance, cost basis, and PnL for one wallet
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 |
address | path | string | required | Token contract or mint address default: DezXAZ8z7PnrnRJjz3wXBoRgixCa6xjnB7YaB1pPB263example: DezXAZ8z7PnrnRJjz3wXBoRgixCa6xjnB7YaB1pPB263 |
Response
type: object
pagination: none
sample: {
"balance": "",
"total_value": 0,
"buys": 0,
"sells": 0,
"total_profit": null,
"total_profit_pnl": null
}
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_token_info/sol/Dr8rkEcrZyQyJRqC8kBc5g6ZPUN59mSSTo8u1wR5gePH/DezXAZ8z7PnrnRJjz3wXBoRgixCa6xjnB7YaB1pPB263"