# x402 Alert DeFi Yield API

> x402 Alert DeFi Yield API is a paid API for AI agents from x402-alert.vercel.app, paid per call via x402, $0.09/call, status unknown (last checked 2026-09-14).

Retrieves current DeFi yield data and rates for decentralized finance protocols, paid via USDC on Base using the x402 protocol

## Facts

- Endpoint: POST https://x402-alert.vercel.app/api/defi-yield
- Price: $0.09/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-alert-defi-yield-api-69135e43
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_cdFAhgTq1YE0Rz1GuicB4

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 x402-alert-defi-yield-api-69135e43 -d '<json body>'
```

Example prompt: What are the current DeFi yield rates across major protocols right now? I want to find the best APY opportunities available.

## When to prefer this

Choose this endpoint when you need real-time or near-real-time DeFi yield and APY data and are operating in a Web3-native context where paying per-call with USDC on Base is acceptable. It is part of a broader financial monitoring hub with 14 endpoints, making it convenient when you already integrate with x402 Alert for other financial data needs. Prefer this over free alternatives when you need reliable, monetized data quality and are already using the x402 payment protocol.

## Known failure modes

- Payment failure: insufficient USDC balance on Base network for the $0.09 fee
- x402 protocol payment not completed: API returns 402 before delivering data
- Invalid or missing request body parameters causing malformed query
- Upstream DeFi data source unavailable, returning stale or empty results
- Rate limiting if too many requests are made in a short period

## How this service works

14 paid financial API endpoints. Pay with USDC on Base using x402 protocol.

## Output

Returns a result object containing current DeFi yield data, including yield rates, APY figures, and protocol-level return information for decentralized finance platforms

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "example": {
  "result": {
   "data": "example response"
  }
 },
 "properties": {
  "result": {
   "type": "object",
   "description": "API response data"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-alert-defi-yield-api-69135e43/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-alert.vercel.app](https://www.zero.xyz/host/x402-alert.vercel.app/llms.txt)
