GET /protocol/pools

Auth X-Hub-Key from API_HUB_KEYExecute GET /run/debank/protocol/poolsCache cached 1s, never served stale past that windowCost free · weight 0 · standard rate classSource billing free

Liquidity pools of one protocol

Parameters

nameintypedescription
idquerystrrequiredProtocol id (see /protocol/list)
example: uniswap
namequerystroptionalPool name filter
startqueryintoptionalOffset for pagination
default: 0
example: 0
limitqueryintoptionalPage size
default: 20
example: 20

Response

type: object
data key: pools
count key: total_count
pagination: offset
sample: {
  "pools": "array[20]",
  "total_count": "int"
}

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/debank/protocol/pools?id=uniswap&start=0&limit=20"