Skip to main content
GET
Python (SDK)

Authorizations

x-api-key
string
header
required

Your Compass API Key. Get your key here.

Query Parameters

chain
enum<string>
default:base
required
Available options:
arbitrum,
base,
bsc,
ethereum,
hyperevm,
tempo
owner
string
default:0x06A9aF046187895AcFc7258450B15397CAc67400
required

The address of the owner of the credit account to get positions for.

Response

Successful Response

Credit account positions response with per-reserve positions and account summary.

account_summary
AccountSummary · object
required

Aave account-level summary (health factor, LTV, etc.).

Example:
collateral_positions
CollateralPosition · object[]

All collateral positions, one per reserve.

Example:
debt_positions
DebtPosition · object[]

All debt positions, one per reserve.

Example:
euler_account_summaries
AccountSummary · object[]

Euler account-level summaries — ONE PER ACTIVE EVC SUB-ACCOUNT (Euler health is per-sub-account, so an owner with positions on sub-accounts 0 and 3 gets two entries, each carrying its sub_account_id and independent health factor). Empty for accounts with no Euler positions. Supersedes the singular euler_account_summary.

euler_account_summary
AccountSummary · object | null

DEPRECATED (use euler_account_summaries): the sub-account-0 Euler account-level summary, kept for one release for backwards compatibility. Present only when the account holds Euler positions; for a multi-sub-account owner it reflects only sub-account 0 (or the first active sub-account if 0 is empty). Null for Aave-only accounts.

euler_borrowable_tokens
BorrowableToken · object[]

Euler-only: additional borrowable amounts given the account's current Euler controller (i.e. borrow more of the controller's asset). Empty for accounts with no Euler borrow position — use /credit/euler_markets to discover a new market to borrow from.

borrowable_tokens
BorrowableToken · object[]

All tokens available for borrowing with max amounts based on current collateral.

Example:
total_usd_value
string | null

Net position value in USD (total collateral - total debt). Null if prices unavailable.

Example:

"1250.0000000000"