DeFi Lookup logo

Catalog action Blockchain Data

Discover DeFi positions, claimable rewards, and protocol interactions for any EVM wallet via DeBank Pro API. Returns lending/borrowing, staking, LP positions with contract addresses, health factors, and reward amounts. Supports 1000+ protocols (Morpho, Aave, Compound, Uniswap, Curve) across all major EVM chains. Ideal for: finding claimable rewards, monitoring position health, protocol discovery, DeFi portfolio analysis.

At a Glance

FieldValue
Action IDdebank-defi-lookup
CategoryBlockchain Data
ConnectorNot required
Requires gasNo
Funds movementNone declared
Tagsdebank, defi, positions, rewards, lending, borrowing, staking, liquidity, protocol, portfolio, morpho, aave

Payload Schema

FieldTypeRequiredDescription
walletAddressstringYesThe EVM wallet address to query DeFi positions for. Must be a valid 42-character hex address starting with 0x.
chainIdnumberYesChain ID to query. Required to keep API costs low. Common values: 1 (Ethereum), 8453 (Base), 42161 (Arbitrum), 10 (Optimism), 137 (Polygon).
queryTypestringNoType of query: 'all' returns positions, rewards and history (15 API units). 'positions' returns only DeFi positions (10 units). 'rewards' returns only claimable rewards (10 units). 'history' returns recent protocol interactions (5 units). Default: 'all'
protocolstringNoOptional: Filter by specific protocol (e.g., 'morpho', 'aave', 'uniswap'). When specified, uses cheapest API endpoint (4 units). Protocol names are normalized automatically.
filterSpamTokensbooleanNoPost-process results through the B3OS token filter service to remove spam and low-liquidity tokens from rewards. Default: true

Result Schema

FieldTypeRequiredDescription
queryTypestringYesThe type of query that was executed
positionsarrayNoArray of DeFi positions. Each includes: protocol, protocolLogo, chainId, positionType (lending/borrowing/staking/liquidity/farming/other), contractAddress, asset symbol, balance amount, and valueUsd.
rewardsarrayNoArray of claimable rewards. Each includes: protocol, chainId, rewardToken symbol, rewardTokenAddress, amount, valueUsd, claimContract (address to call for claiming), and sourceContract (the vault generating rewards).
historyarrayNoArray of recent protocol interactions. Each includes: protocol name, chainId, action type, txHash, timestamp (ISO string), and contractAddress.
summaryobjectNoAggregate statistics including: totalPositionsUsd, totalRewardsUsd, protocolCount, positionCount.

Examples

json
{ "type": "debank-defi-lookup", "payload": { "walletAddress": "0x0000000000000000000000000000000000000000", "chainId": 8453 }, "children": []}

Payload fields can use workflow expressions such as {{$trigger.body.amount}}, {{$nodes.fetch.result.price}}, and {{$props.asset}} when the value should come from a trigger, prior node, or reusable workflow prop.

Ask a question... ⌘I