Skip to main content

GET /portfolio

Returns live portfolio data for a given Safe address. Requires ZERION_API_KEY to be set in server/.env.

Query Parameters

ParamTypeRequiredDescription
addressstringYesSafe smart account address

Response

{
  "address": "0xYourSafeAddress",
  "totalValue": "1250.42",
  "change24h": "+2.3%",
  "tokens": [
    {
      "symbol": "USDC",
      "balance": "1000.00",
      "value": "1000.00",
      "price": "1.00",
      "change24h": "0.0%"
    },
    {
      "symbol": "BNB",
      "balance": "0.83",
      "value": "250.42",
      "price": "301.71",
      "change24h": "+1.8%"
    }
  ]
}
Portfolio data is sourced from the Zerion API. If ZERION_API_KEY is not configured, this endpoint returns an error.