Skip to main content
GET
/
wallets
/
{wallet}
Get wallet positions
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
  }
}

Authorizations

x-api-key
string
header
required

API key for authentication. Obtain from your Deframe dashboard.

Path Parameters

wallet
string
required

Wallet address

Example:

"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48"

Response

200 - application/json

Wallet positions retrieved

positions
object[]
required
summary
object
required