← all tools

Protocol health

lendingprotocol-health·43 lending protocols, 9 chains·by OnchainRouter

Reads a protocol's standardized daily financials: where its deposits moved over 7 and 30 days, and what it earned in fees against what it holds. Calls it growing, steady or draining, and says plainly when a protocol records no revenue at all. Corrupt days in the source are discarded and reported.

Arguments

protocol
enum · required
Protocol name
aave-ammaave-arcaave-rwaaave-v2aave-v3abracadabraalpaca-finance-lendingbanker-joebastion-protocolbenqiburrowcompound-v2compound-v3cream-financedforceeuler-financegeist-financegoldfinchinverse-financeiron-bankkinza-financeliquitymakerdaomaple-finance-v1maple-finance-v2moonwellmorpho-aave-v2morpho-aave-v3morpho-compoundpac-financeqidaoradiant-capitalrari-fusescreamseamless-protocolseismicsonne-financespark-lendtruefiuwu-lendvenusvesta-financezerolend
chain
enum · required
Chain the deployment runs on
ethereumarbitrumbscavalanchepolygonbaseoptimismgnosisscroll

What it answers

{"protocol":"moonwell","chain":"base"}
moonwell on base is draining: $39.5M deposited, -41.9% over 30 days. The last week alone moved -23.6%. It earned $517k in fees over 30 days, about 15.9% a year on what it holds, $61k of it kept by the protocol.

Call it from an agent

Over MCP the tool is called by name and the payment is handled underneath.

protocol_health(protocol: "moonwell", chain: "base")

Call it over HTTP

The first request returns 402 with the accepted networks. Sign one and repeat the request with the receipt.

curl -X POST https://onchainrouter.io/api/tools/protocol-health \
  -H 'Content-Type: application/json' \
  -d '{"protocol":"moonwell","chain":"base"}'

 402 Payment Required
  PAYMENT-REQUIRED: hedera:testnet, eip155:5042002

curl -X POST https://onchainrouter.io/api/tools/protocol-health \
  -H 'Content-Type: application/json' \
  -H "PAYMENT-SIGNATURE: $RECEIPT" \
  -d '{"protocol":"moonwell","chain":"base"}'

 200 OK