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 freeLiquidity pools of one protocol
Parameters
| name | in | type | description | |
|---|---|---|---|---|
id | query | str | required | Protocol id (see /protocol/list) example: uniswap |
name | query | str | optional | Pool name filter |
start | query | int | optional | Offset for pagination default: 0example: 0 |
limit | query | int | optional | Page size default: 20example: 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"