# DeFi Yields Now

> DeFi Yields Now is a paid API for AI agents from api.marketintelligenceapi.com, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-16).

Returns best supply and borrow APY rates across Aave v3, Spark, and Compound v3 markets on major EVM chains, read on-chain every 10 minutes, sorted by highest APY.

## Facts

- Endpoint: GET https://api.marketintelligenceapi.com/api/v1/markets/defi-yields?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/defi-yields-now-8253e475
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_7_nUWvgvujxEUkbfDv89N

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-yields-now-8253e475
```

Example prompt: Show me the top 10 supply APY rates for stablecoins right now across Aave v3, Spark, and Compound v3 on Ethereum, Base, and Arbitrum — only include markets with at least $5M TVL.

## When to prefer this

Use this endpoint when you need real-time, on-chain DeFi yield data across multiple major lending protocols and EVM chains in a single call. Prefer this over manual protocol queries when comparing Aave v3, Spark, and Compound v3 simultaneously, or when you need asset- or chain-specific filtering with TVL constraints. Ideal for agents making yield optimization decisions or routing capital to the highest-earning market.

## Known failure modes

- Unsupported asset symbol returns empty results or error
- Invalid chain or protocol enum value returns 400 or empty list
- minTvlUsd set too high filters out all markets, returning empty array
- On-chain data temporarily stale if refresh cycle is delayed
- Rate limit or payment failure returns 402 or 429 error

## How this service works

DeFi yields now ($0.002): best supply and borrow APY of every Aave v3, Spark and Compound v3 market on Ethereum, Base, Arbitrum, Optimism and Polygon, read on chain every 10 minutes, highest APY first, filter by asset, chain or protocol. Use to find where stablecoins or ETH earn most.

## Output

A ranked list of DeFi lending markets (up to the requested limit), each showing the asset, protocol, chain, supply APY, borrow APY, and TVL in USD, sorted highest APY first. Data is refreshed from on-chain sources every 10 minutes.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input",
  "output"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "asset": {
       "type": "string",
       "description": "Asset symbol, e.g. USDC, USDT, WETH or WBTC; stablecoins for all dollar stablecoins"
      },
      "chain": {
       "type": "string",
       "description": "Chain of the token: base, ethereum, arbitrum, optimism or polygon (token-risk also takes solana). Not the payment network"
      },
      "limit": {
       "type": "integer",
       "default": 25,
       "description": "Maximum number of results to return"
      },
      "protocol": {
       "type": "string",
       "description": "Lending protocol: aave_v3, spark or compound_v3"
      },
      "minTvlUsd": {
       "type": "number",
       "default": 1000000,
       "description": "Only markets with at least this much supplied, in USD"
      }
     },
     "additionalProperties": false
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "description": "Example JSON response returned by this endpoint"
    }
   },
   "additionalProperties": true
  }
 },
 "additionalProperties": false
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/defi-yields-now-8253e475/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.marketintelligenceapi.com](https://www.zero.xyz/host/api.marketintelligenceapi.com/llms.txt)
