# x402-data-hub-v2 Yield Strategy

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

Returns yield strategy recommendations for a given risk profile and investment amount in the crypto/DeFi space

## Facts

- Endpoint: POST https://data-hub-v5.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-v2-yield-strategy-a0de048b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_kP8TnJCrFRxNwjo-Pq43p

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-a0de048b -d '<json body>'
```

Example prompt: I have $5,000 to invest in DeFi and I'm comfortable with moderate risk — can you pull yield strategy recommendations for me from the data hub?

## When to prefer this

Use this endpoint when you need DeFi yield strategy recommendations parameterized by risk tolerance and capital amount, especially within an x402 micropayment-enabled agentic workflow. It is suitable for agents that need fast, on-demand yield intelligence without managing a full DeFi data subscription.

## Known failure modes

- Invalid or missing risk field returns 400 or empty response
- Amount of 0 or negative may produce no valid strategies
- Unknown risk enum value may cause schema validation error
- Service unavailability on Vercel deployment returns 5xx
- Payment failure via x402 protocol blocks the request entirely

## How this service works

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

## Output

A set of yield strategy recommendations tailored to the specified risk level and investment amount, likely including protocol names, expected APY, strategy type (e.g. lending, staking, liquidity provision), and relative risk/reward profile.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "risk": {
   "type": "string"
  },
  "amount": {
   "type": "number"
  }
 }
}
```

## More

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