GET /vas/api/v1/token_trades/{chain}/{address}

Auth X-Hub-Key from API_HUB_KEYExecute GET /run/gmgn/vas/api/v1/token_trades/{chain}/{address}Cache cached 1s, never served stale past that windowCost per_row · weight 2 · heavy rate classSource billing free

Recent DEX swap trades (v1) for a token

Parameters

nameintypedescription
chainpathstringrequiredBlockchain slug: sol, eth, base, bsc, tron
default: sol
example: sol
addresspathstringrequiredToken contract or mint address
default: DezXAZ8z7PnrnRJjz3wXBoRgixCa6xjnB7YaB1pPB263
example: DezXAZ8z7PnrnRJjz3wXBoRgixCa6xjnB7YaB1pPB263
limitqueryintegeroptionalMax trade records
default: 20
example: 20

Response

type: object
pagination: none
sample: {
  "history": "list(50)",
  "next": "NDczODMzMzk3MDAwNDUwMDg="
}

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/vas/api/v1/token_trades/sol/DezXAZ8z7PnrnRJjz3wXBoRgixCa6xjnB7YaB1pPB263?limit=20"