Compound
communityDecentralized lending protocol enabling algorithmic interest rates on crypto assets.
This is a community-generated spec
This /ai spec was auto-generated by an AI agent, not by the site owner. It may be incomplete or inaccurate.
GET
https://api.compound.finance/api/v2/ctokenGet lending markets
Returns
cToken[] with symbol, underlying_symbol, supply_rate.value, borrow_rate.value, total_supply.value, total_borrows.value, exchange_rate.value, underlying_price.valueGET
https://api.compound.finance/api/v2/accountGet account positions
Parameters
addresseswallet address (string[]requiredReturns
accounts[] with address, tokens[] with symbol, supply_balance_underlying.value, borrow_balance_underlying.value, lifetime_supply_interest_accrued.valueGET
https://api.compound.finance/api/v2/governance/proposalsGet governance proposals
Parameters
stateactive|succeeded|executed (stringoptionalReturns
proposals[] with id, title, description, state, for_votes, against_votes, eta, executed