# DeFi Yield Rates Feed

> DeFi Yield Rates Feed is a paid API for AI agents from workspace-x402-paywall.onrender.com, paid per call via x402, $0.005/call, status unknown (last checked 2026-10-11).

Returns live DeFi yield/APY data across multiple venues via a pay-per-call x402 micro-payment endpoint

## Facts

- Endpoint: GET https://workspace-x402-paywall.onrender.com/defi/yields?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-11
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/defi-yield-rates-feed-9239624c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_3_Njsu8AIrYI_E1K4bscK

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-yield-rates-feed-9239624c
```

Example prompt: Show me the top 10 current DeFi yield rates — just the protocol name and APY fields — so I can see where I'd earn the most right now.

## When to prefer this

Use this endpoint when you need live, multi-venue DeFi yield/APY data in a lightweight pay-per-call model ($0.005 USDC) without a subscription. Ideal for agents that only need occasional yield snapshots rather than a high-frequency data stream, and for workflows already integrated with x402 micropayment on Base or Solana mainnet.

## Known failure modes

- Payment not included or insufficient — returns HTTP 402 requiring USDC payment via x402 protocol
- Invalid fields parameter — unknown field names may be silently ignored or return empty values
- limit parameter exceeds available data — returns fewer entries than requested without error
- Service unavailable on Render free tier — cold start delays or downtime may cause timeouts
- Empty result set if underlying data source has no current yield data

## How this service works

66 pay-per-call APIs: AI text/image generation ($0.01), Polymarket odds, crypto prices, DeFi yields, FX rates, weather, IP/geo, FBI wanted, SEC tickers, clinical trials, 250M academic papers, Stack Overflow, meme-coin launchpads (pump.fun, Clanker, Four.meme, SunPump), tokenized stocks, Solana top 100, and 40+ more. $0.005/call standard. USDC on Base and Solana via x402.

## Output

Returns a JSON object containing a list of DeFi protocol yield entries, optionally filtered to specific fields (e.g. name, price_usd, APY), up to the requested limit. Each entry represents a venue or protocol with its current yield metrics.

## 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"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "limit": {
       "type": "string",
       "description": "Integer 1-50, number of results to return (default 10)"
      }
     }
    }
   },
   "additionalProperties": false
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/defi-yield-rates-feed-9239624c/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from workspace-x402-paywall.onrender.com](https://www.zero.xyz/host/workspace-x402-paywall.onrender.com/llms.txt)
