cURL
curl --request GET \ --url https://api.deframe.io/wallets/{wallet} \ --header 'x-api-key: <api-key>'
{ "positions": [ { "spotPosition": { "currentPosition": "1000000", "underlyingBalanceUSD": 10.05, "apy": 0.0417, "avgApy": 0.0412, "inceptionApy": 0.0385 }, "strategy": { "_id": "507f1f77bcf86cd799439011", "name": "Aave USDC Lending", "slug": "aave-usdc-lending", "protocol": "Aave", "network": "ethereum", "asset": { "symbol": "USDC", "contract": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48", "decimals": 6 }, "paused": false, "apy": 5.25, "tvl": "1000000000" } } ], "summary": { "totalUnderlyingBalanceUSD": 10.05 } }
Retrieve all DeFi positions for a wallet address
API key for authentication. Obtain from your Deframe dashboard.
Wallet address
"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48"
Wallet positions retrieved
Show child attributes
Was this page helpful?