Skip to main content
GET
Account Summary
Endpoint: GET https://api.rebelfi.io/v1/accounts/:accountId/summary
The client account’s figures, from the same read the client’s RebelFi Earn portal shows: totals per token, the 30-day APY, the earn wallets with their balances, and every position. Use it to show your client the same numbers RebelFi shows them.
  • Each position row is the row List Allocations returns for it, plus its IDs, the token’s decimals and a 30-day APY.
  • totals are sums of the position rows, one entry per token.
  • asOf is the oldest refresh time among the positions. Values refresh on RebelFi’s schedule, not live.
Amounts are strings in base units: show them with tokenDecimals. APYs are decimals (0.05 = 5%). Times are ISO 8601 UTC. A profile-scoped key reads the account’s wallets in its own profile; an admin key reads all of them.

Path Parameters

Example Request

Example Response

An account with no positions returns asOf: null, apy30d: null, and empty totals and positions; its wallets are still listed.

Response Fields

TokenTotals Object

EarnWallet Object

Position Object

Errors