# Cortex Cloud DeFi Yields API

> Cortex Cloud DeFi Yields API is a paid API for AI agents from api.cortexcloud.org, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-15).

Retrieves current DeFi yield data across protocols and pools, payable per-call in USDC on Base via x402

## Facts

- Endpoint: GET https://api.cortexcloud.org/x402/v1/data/defi/yields
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/cortex-cloud-defi-yields-api-e7930833
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_X6SQ6NniCAgylR7UjjpKS

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 cortex-cloud-defi-yields-api-e7930833
```

Example prompt: What are the best DeFi yield opportunities available right now — show me the top APY rates across protocols?

## When to prefer this

Choose this endpoint when you need on-demand DeFi yield data without managing API keys or subscriptions — particularly suited for autonomous agents that can pay per-call in USDC on Base via x402. Ideal for one-off yield lookups or lightweight integrations that don't justify a paid subscription to a traditional DeFi data provider.

## Known failure modes

- Payment failure — insufficient USDC balance or x402 payment not accepted (402 response)
- Missing or malformed properties parameter returns empty or error response
- Stale data if upstream DeFi protocol sources are slow to update
- Rate limiting if too many calls made in short succession
- Network timeout if Base blockchain payment confirmation is delayed

## How this service works

OpenAI-compatible AI and data API for agents. Pay per call in USDC on Base via x402 — no API keys, no subscriptions, no lock-in.

## Output

Returns a JSON object containing current DeFi yield data including protocol names, pool identifiers, APY/APR rates, and related liquidity or yield metrics across decentralized finance protocols.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "properties": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "format": "application/json",
 "example": {}
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/cortex-cloud-defi-yields-api-e7930833/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.cortexcloud.org](https://www.zero.xyz/host/api.cortexcloud.org/llms.txt)
