DefiLlama TVL, yield pools and bridge volume API workflow

Agent-ready

Equip DeFi risk monitors and on-chain research agents with 40+ live DefiLlama protocol, bridge, yield, and stablecoin endpoints via REST or MCP.

Why teams consolidate this workflow

DeFi analysts tracking capital flows across chains need consistent JSON endpoints for protocol TVL, bridge volume, stablecoin backing, and pool APYs alongside token price and gas metrics.

Implementation sequence

  1. Query protocol TVL and stablecoins. Call public-records/defi-tvl and public-records/stablecoins to snapshot chain-level liquidity and peg composition.
  2. Screen yield pools and bridge flows. Inspect public-records/yield-pools and defillama/bridges-bridges under /providers/defillama to filter APYs and cross-chain volume.
  3. Set spend bounds on batch runs. Use fixed per-call tools or attach max_cost_usd on variable endpoints so automated notebooks stay within budget.

Example request

curl https://keepbal.com/apis/v1/public-records/defi-tvl \
  -H "Authorization: Bearer $KEEPBAL_API_KEY" \
  -H "Content-Type: application/json" \
  --data '{}'

Pricing and spend controls

Explore 220 live endpoints in /tools/category/crypto-and-defi and 40+ operations on /providers/defillama before scheduling recurring jobs.

Related catalog surfaces

Frequently asked questions

Are CoinGecko and gas-oracle tools also available on the same key?

Yes. /providers/coingecko, /tools/public-records/token-price, and /tools/public-records/gas-oracle share the same KeepBal key and balance.

Do failed or 503 upstream responses deduct credit?

No. Unsuccessful upstream calls settle at $0.

All use cases · Cost calculator · MCP config generator