GET /portfolio/list
Auth X-Hub-Key from API_HUB_KEYExecute
GET /run/debank/portfolio/listCache cached 1s, never served stale past that windowCost free · weight 0 · standard rate classSource billing freeDetailed DeFi positions of an address in one specific protocol
Parameters
| name | in | type | description | |
|---|---|---|---|---|
user_addr | query | str | required | EVM address (0x…) example: 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045 |
project_id | query | str | required | Protocol id (e.g. aave3, lido, uniswap3) example: aave3 |
Response
type: object
data key: portfolio_list
pagination: none
sample: {
"portfolio_list": "array[0]",
"project": "object"
}
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/portfolio/list?user_addr=0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045&project_id=aave3"