GET /defi/quotation/v1/rank/{chain}/swaps/{interval}
Auth X-Hub-Key from API_HUB_KEYExecute
GET /run/gmgn/defi/quotation/v1/rank/{chain}/swaps/{interval}Cache cached 1s, never served stale past that windowCost per_row · weight 2 · heavy rate classSource billing freeTrending tokens ranked by swap activity, volume, or smart money count across chains
Parameters
| name | in | type | description | |
|---|---|---|---|---|
chain | path | string | required | Blockchain slug: sol, eth, base, bsc, tron default: solexample: sol |
interval | path | string | required | Time window: 1m, 5m, 1h, 6h, 24h default: 1hexample: 1h |
orderby | query | string | optional | Sort column: swaps, volume, marketcap, liquidity, holder_count, smart_degen_count default: swapsexample: swaps |
direction | query | string | optional | Sort order: desc or asc default: descexample: desc |
Response
type: object
pagination: none
sample: {
"rank": "list(100)"
}
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/defi/quotation/v1/rank/sol/swaps/1h?orderby=swaps&direction=desc"