defi-fundamentals

v1.0.0
io.github.abangdwie/defi-fundamentals Checked 2 days ago Published 7 days ago

DeFi fundamentals: protocol TVL, top yields, stablecoin pegs.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

defi_protocol

Get a DeFi protocol's TVL with 1d/7d change and per-chain split (top 10 chains with share). Costs $0.002 USDC per call, paid via x402 on Base.

ParameterTypeDescription
slug *stringDefiLlama protocol slug, e.g. aave, uniswap, lido

defi_yields

Get top yield pools filtered by chain and minimum APY, sorted by highest APY. Costs $0.005 USDC per call, paid via x402 on Base.

ParameterTypeDescription
chainstringDefiLlama chain name, e.g. base, ethereum, arbitrum (empty = all chains)
limitintegerNumber of pools, highest APY first (1-20)
min_apynumberMinimum APY in percent

stablecoins_peg

Get stablecoins priced more than 0.5% off their $1 peg, with circulating supply, sorted by largest deviation. Costs $0.005 USDC per call, paid via x402 on Base.

ParameterTypeDescription
limitintegerNumber of stablecoins, largest deviation first (1-50)

health

Check that the server is alive. Free, no payment required.

catalog

List all tools with their prices in USDC. Free, no payment required.