# x402 Data Hub v2 – Yield Strategy Recommender

> x402 Data Hub v2 – Yield Strategy Recommender is a paid API for AI agents from data-hub-v4-ten.vercel.app, paid per call via x402, $0.18/call, status unknown (last checked 2026-10-13).

Returns DeFi yield strategies ranked by risk level and investment amount, helping users discover optimal yield opportunities across crypto protocols.

## Facts

- Endpoint: POST https://data-hub-v4-ten.vercel.app/api/yield/strategy?utm_source=zero.xyz
- Price: $0.18/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-data-hub-v2-yield-strategy-recommender-d380077a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_F9oTd6M6yKY1oqIhH2IOy

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-data-hub-v2-yield-strategy-recommender-d380077a -d '<json body>'
```

Example prompt: I have $5,000 I want to put into DeFi yield strategies — I'm comfortable with medium risk. What strategies does the Data Hub recommend?

## When to prefer this

Use this endpoint when you need personalized DeFi yield strategy recommendations filtered by risk appetite and capital amount. Prefer this over generic crypto data endpoints when the user explicitly wants actionable yield/farming advice rather than raw price or market data.

## Known failure modes

- Invalid risk value not matching accepted enum (e.g. 'super-high' instead of 'high') returns a 400 or empty result
- Amount of 0 or negative may return an error or no strategies
- Upstream data source unavailability may return 503 or stale data
- Payment not included or incorrect USDC amount returns 402 Payment Required
- Missing required fields returns validation error

## How this service works

16 paid endpoints - Crypto, Exchange, Yield, Governance, Sentiment

## Output

A list or ranked set of yield strategies appropriate for the given risk tolerance and investment amount, likely including protocol names, expected APY, risk classification, and strategy descriptions.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "risk": {
   "enum": [
    "low",
    "medium",
    "high"
   ],
   "type": "string"
  },
  "amount": {
   "type": "number"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-data-hub-v2-yield-strategy-recommender-d380077a/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from data-hub-v4-ten.vercel.app](https://www.zero.xyz/host/data-hub-v4-ten.vercel.app/llms.txt)
