POST/data/v2/pools

Claude ↗ChatGPT ↗
Auth X-Hub-Key from API_HUB_KEYExecute POST /run/uniswap/data/v2/poolsCache executed live on every call — a read-only POST answer is never cachedCost free · weight 0 · standard rate classSource billing free

List and rank Uniswap v2, v3 and v4 pools by TVL, volume, or APR with chain, token, fee, and hook filters.

Try this endpoint

Reads the credential from API_HUB_KEY; it never appears in the URL.

curl -sX POST "https://openapihub.dev/run/uniswap/data/v2/pools" \
  -H "X-Hub-Key: $API_HUB_KEY" -H "Content-Type: application/json" \
  -d '{"chainIds": [1], "sort": {"orderBy": "POOLS_ORDER_BY_TVL", "ascending": false}, "filter": {"protocolVersions": ["PROTOCOL_VERSION_V2", "PROTOCOL_VERSION_V3", "PROTOCOL_VERSION_V4"]}, "page": {"pageSize": 5}}'

Parameters

nameintypedescription
chainIdsbodylist[int]requiredList of numeric chain IDs (or chain names such as 'ethereum', 'base', 'arbitrum', 'unichain').
example: [1]
sortbodydictoptionalSort object {orderBy: POOLS_ORDER_BY_TVL|POOLS_ORDER_BY_VOLUME_1D|POOLS_ORDER_BY_VOLUME_30D|POOLS_ORDER_BY_APR|POOLS_ORDER_BY_VOLUME_1D_TVL_RATIO, ascending: bool}.
example: {"orderBy":"POOLS_ORDER_BY_TVL","ascending":false}
filterbodydictoptionalFilter object: protocolVersions, tokenFilter ({tokens, logicalOperator}), hooks, categoryIds, rewardsOnly, searchQuery, includeSpam.
example: {"protocolVersions":["PROTOCOL_VERSION_V2","PROTOCOL_VERSION_V3","PROTOCOL_VERSION_V4"]}
pagebodydictoptionalCursor pagination object: {pageSize: int, pageToken?: str}.
example: {"pageSize":5}

Response

type: object
data key: pools
cursor key: page
pagination: cursor
sample: {
  "pools": "array[5]",
  "page": {
    "nextPageToken": "str"
  }
}