tools

Get defi positions

Use this when the user asks about DeFi, lending, staking, or LP positions, or protocol exposure. DeFi exposure by protocol across chains: total value, position count, per-asset breakdown.

post/v1/tools/betteroff_get_defi_positions

Request

  • Base URL: https://api.betteroff.finance
  • URL: https://api.betteroff.finance/v1/tools/betteroff_get_defi_positions
  • Auth: one of:
    • OpenID Connect (https://app.betteroff.finance/api/auth/.well-known/openid-configuration, scopes: investments:read)
    • HTTP bearer

Request body

protocolstring nullable required

Filter to a specific protocol name (case-insensitive substring match, e.g. 'aave', 'uniswap'). Use null for all protocols.

chainstring nullable required

Filter to a specific chain slug (e.g. 'ethereum', 'base', 'arbitrum'). Use null for all chains.

Response

Tool result

OR

Changes

No recorded changes to this operation across all 1 revision of this API.