# DeFi Lending Rates – Cross-Protocol Supply/Borrow APY on Base

> DeFi Lending Rates – Cross-Protocol Supply/Borrow APY on Base is a paid API for AI agents from api.agentstools.dev, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-13).

Returns per-protocol supply APY, borrow APY, reward APY, utilization, LTV, and available liquidity for a token on Base across Aave, Compound, Morpho, Euler, Fluid, and Moonwell, plus a risk-aware best-yield ranking.

## Facts

- Endpoint: GET https://api.agentstools.dev/lending/rates
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/defi-lending-rates-cross-protocol-supply-borrow-apy-on-base-3e7e1602
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_9_9-qsGjPXOz6mcq0uaXO

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability defi-lending-rates-cross-protocol-supply-borrow-apy-on-base-3e7e1602
```

Example prompt: Show me the supply and borrow APYs for USDC across all lending protocols on Base — Aave, Morpho, Compound, Moonwell, Euler, and Fluid — and tell me which one offers the best risk-adjusted yield right now.

## When to prefer this

Use this endpoint when you need a single unified view of DeFi lending rates across multiple protocols on Base without querying each protocol individually. It is especially useful when you need risk-aware yield ranking rather than just raw maximum APY, and when the asset is on Base. Prefer this over raw DefiLlama API calls when you want the cross-protocol fusion and safety ranking pre-computed.

## Known failure modes

- Unsupported token symbol returns empty or error response
- Chain parameter currently only supports Base; other chains return error
- DefiLlama data staleness may cause slightly outdated rates
- Payment failure (x402) if USDC balance is insufficient
- Protocol not currently tracking the requested asset returns no data for that protocol

## How this service works

Cross-protocol DeFi money-market supply/borrow rates for an asset on Base: per-market supply APY, borrow APY, reward APY, utilization, LTV and available liquidity across Aave/Compound/Morpho/Euler/Fluid/Moonwell, plus a risk-aware best-safe-yield ranking (safety-flagged, not naked max APY), fused by us from DefiLlama pools+lendBorrow.

## Output

A structured JSON response containing per-protocol supply APY, borrow APY, reward APY, utilization rate, LTV, and available liquidity for the requested asset on Base, plus a safety-flagged best-yield ranking for the supply and/or borrow side across Aave, Compound, Morpho, Euler, Fluid, and Moonwell.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [],
     "properties": {
      "side": {
       "enum": [
        "supply",
        "borrow",
        "both"
       ],
       "type": "string",
       "description": "Which ranking to compute (default both)"
      },
      "asset": {
       "type": "string",
       "description": "Token symbol to fuse rates for, e.g. USDC / ETH / WETH; omit for all assets"
      },
      "chain": {
       "enum": [
        "Base"
       ],
       "type": "string",
       "description": "Chain (default Base)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/defi-lending-rates-cross-protocol-supply-borrow-apy-on-base-3e7e1602/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.agentstools.dev](https://www.zero.xyz/host/api.agentstools.dev/llms.txt)
