GET /dex/dex/v1/tokens/gainer-loser/list
Auth X-Hub-Key from API_HUB_KEYExecute
GET /run/cmc/dex/dex/v1/tokens/gainer-loser/listCache cached 1s, never served stale past that windowCost per_row · weight 2 · heavy rate classSource billing freeDEX gainer/loser leaderboard (abbreviated token rows), total, and a next-page index.
name=dex_gainers_losers. Cursor format is <number>::<address>. Not interchangeable with the other DEX cursors.
Parameters
| name | in | type | description | |
|---|---|---|---|---|
interval | query | str | required | Bucket size. Accepted tokens differ by route; use this route's verified example. default: 24hexample: 24h |
pageSize | query | int | required | Page size. default: 20example: 20 |
nextPageIndex | query | str | optional | Format <number>::<address>. No full cursor was copied into the docs. |
Response
type: object
data key: leaderboardList
count key: total
cursor key: nextPageIndex
pagination: cursor
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/cmc/dex/dex/v1/tokens/gainer-loser/list?interval=24h&pageSize=20"