# HyperD DeFi Yield Recommender

> HyperD DeFi Yield Recommender is a paid API for AI agents from api.hyperd.ai, paid per call via x402, $0.05/call, status unknown (last checked 2026-09-15).

Returns filtered, risk-tiered DeFi yield opportunities ranked by APY with projected dollar yield for a given investment amount.

## Facts

- Endpoint: GET https://api.hyperd.ai/api/yield
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/api-hyperd-ai-87596172
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_cgZH_F4r4LxrVn_yOzTa3

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 api-hyperd-ai-87596172
```

Example prompt: I have $5,000 to put into DeFi — show me the top low-risk stablecoin yield opportunities on Ethereum ranked by APY and tell me how much I'd earn over 30 days.

## When to prefer this

Use this endpoint when an agent needs opinionated, pre-filtered DeFi yield recommendations rather than raw protocol data. Prefer over raw DefiLlama queries when you need risk-tiered filtering, IL exposure screening, TVL thresholds, and projected dollar returns all in one call. Ideal for portfolio allocation agents, DeFi advisors, or any flow where the user specifies a dollar amount and risk tolerance.

## Known failure modes

- Missing required 'amount' parameter returns a 400 validation error
- Invalid 'risk' enum value (not low/medium/high) returns a 400 error
- Unknown or unsupported chain slug returns empty results or 400
- Payment not received (x402) returns 402 Payment Required
- DefiLlama data source unavailable causes 502 or degraded results
- Very low amount values may return zero-projection results

## How this service works

Opinionated DeFi yield recommendation. Filters DefiLlama's universe by risk tier, TVL, IL exposure; ranks by APY; returns projected $ yield.

## Output

A ranked list of DeFi yield opportunities filtered by the specified risk tier, TVL floor, and IL exposure, with each opportunity showing its APY and projected dollar return for the input amount over the given duration.

## Example request

```json
{
 "input": {
  "type": "http",
  "method": "GET",
  "queryParams": {
   "risk": "low",
   "chain": "ethereum",
   "amount": 5000,
   "stables": true,
   "duration": 30
  }
 }
}
```

## 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",
     "required": [
      "amount"
     ],
     "properties": {
      "risk": {
       "enum": [
        "low",
        "medium",
        "high"
       ],
       "type": "string"
      },
      "chain": {
       "type": "string"
      },
      "amount": {
       "type": "number"
      },
      "stables": {
       "type": "boolean"
      },
      "duration": {
       "type": "integer"
      }
     }
    }
   },
   "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/api-hyperd-ai-87596172/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.hyperd.ai](https://www.zero.xyz/host/api.hyperd.ai/llms.txt)
