Get Wallet Defi
Retrieve comprehensive DeFi portfolio data, including staking, liquidity pool (LP), and yield farming activities
Multipliers
Multipliers
You will get
You will get
- Detailed breakdown of DeFi assets and protocols
- Track staked tokens, LP positions, and earned rewards
Required
Required
- address: Wallet address to query
- One of connectionId or blockchain (if both provided, connectionId is used). Single value, comma-separated list, or “all”.
Authorizations
API key required to access the endpoints. Generate one from your dashboard at https://openapi.coinstats.app and pass it in the X-API-KEY request header. Never expose your key in client-side code.
Query Parameters
The wallet address for which the DeFi data is being queried. Must be a valid string representing an EVM-compatible wallet address.
"0x1234567890abcdef1234567890abcdef12345678"
Specifies the blockchain network connection ID to query for DeFi data. Can be a single network (e.g., "ethereum") or comma-separated list of networks (e.g., "ethereum,polygon-wallet") or "all" for all networks. Either connectionId or blockchain must be provided. If both are provided, connectionId will be used.
"base-wallet"
The blockchain network identifier from /wallet/blockchains call response. Can be a single network (e.g., "ethereum") or a comma-separated list of networks (e.g., "ethereum,polygon,binance_smart"). Either connectionId or blockchain must be provided. If both are provided, connectionId will be used.
"base"