GET /portfolio/project_ids
Auth X-Hub-Key from API_HUB_KEYExecute
GET /run/debank/portfolio/project_idsCache cached 1s, never served stale past that windowCost free · weight 0 · standard rate classSource billing freeList of DeFi protocol ids in which an address has or had positions
Parameters
| name | in | type | description | |
|---|---|---|---|---|
user_addr | query | str | required | EVM address (0x…) example: 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045 |
Response
type: object
data key: project_ids
pagination: none
sample: {
"project_ids": "array[6293]"
}
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/project_ids?user_addr=0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045"