GET /dex/dex/v1/swap/list

Auth X-Hub-Key from API_HUB_KEYExecute GET /run/cmc/dex/dex/v1/swap/listCache cached 1s, never served stale past that windowCost per_row · weight 2 · heavy rate classSource billing free

Recent swaps for a token (swaps rows with abbreviated fields such as ts, amounts, and exchange name).

name=dex_swaps. platform=solana. lastId is a response cursor and is not a registered request param.

Parameters

nameintypedescription
addressquerystrrequiredToken address. Wrapped SOL So11111111111111111111111111111111111111111 is the verified sample.
example: So11111111111111111111111111111111111111111
platformquerystrrequiredLowercase. Verified value solana.
example: solana
limitqueryintoptionalMaximum rows to return.
example: 50
sortByquerystroptionalSort field.
sortTypequerystroptionalSort direction.

Response

type: object
data key: swaps
cursor key: lastId
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/swap/list?address=So11111111111111111111111111111111111111111&platform=solana&limit=50"