# x402 Data Hub - Yield Strategy Endpoint

> x402 Data Hub - Yield Strategy Endpoint is a paid API for AI agents from data-hub-x402.vercel.app, paid per call via x402, $0.18/call, status unknown (last checked 2026-09-16).

Returns DeFi yield strategy recommendations based on risk tolerance and investment amount

## Facts

- Endpoint: POST https://data-hub-x402.vercel.app/api/yield/strategy
- Price: $0.18/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-data-hub-yield-strategy-endpoint-b13a96c2
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_rJ5yqiWvZM56aggr_ltf3

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-yield-strategy-endpoint-b13a96c2 -d '<json body>'
```

Example prompt: Find me the best DeFi yield strategies for a $5,000 investment with low risk tolerance — I want to see which protocols or pools to use and what APY I can expect.

## When to prefer this

Choose this endpoint when you need curated, risk-matched DeFi yield strategy recommendations given a specific investment amount. It is preferable over generic crypto data feeds when the user's goal is actionable yield optimization rather than raw price or protocol data.

## Known failure modes

- Missing or invalid 'risk' string — returns 400 error
- Missing 'amount' field or non-numeric value — returns 400 error
- Upstream data unavailable or stale — may return empty strategy list or 503
- Payment not processed or insufficient USDC — returns 402 Payment Required
- No strategies available for the given risk/amount combination — returns empty results

## How this service works

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

## Output

A list of yield strategies with protocol names, estimated APY, risk levels, and recommended allocation approaches for the given investment amount and risk tolerance.

## 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-yield-strategy-endpoint-b13a96c2/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from data-hub-x402.vercel.app](https://www.zero.xyz/host/data-hub-x402.vercel.app/llms.txt)
