# httpay.xyz DeFi Yield Intelligence

> httpay.xyz DeFi Yield Intelligence is a paid API for AI agents from httpay.xyz, paid per call via x402, $0.02/call, status unknown (last checked 2026-09-14).

Returns gas-adjusted net APY, protocol risk tiers (A-D), and impermanent loss estimates for DeFi yield pools, filtered by chain, minimum TVL, and minimum APY, sourced from DefiLlama

## Facts

- Endpoint: POST https://httpay.xyz/api/yield-intel
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/httpay-xyz-e9457d9d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_X1Q5kjmCXjrZFeMPzsutW

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 httpay-xyz-e9457d9d -d '<json body>'
```

Example prompt: Show me the best gas-adjusted yield opportunities on Base chain right now — only pools with at least $100k TVL and 5% APY, and tell me the risk tier and impermanent loss estimates for each.

## When to prefer this

Use this endpoint when you need real, live DeFi yield data enriched with gas-cost adjustments and risk tiers — not raw pool data. It's ideal when the agent needs to recommend yield strategies on Base chain and wants a risk-tiered, IL-aware view rather than just headline APY numbers. Prefer this over raw DefiLlama calls when risk scoring and net yield after gas are important to the decision.

## Known failure modes

- DefiLlama API unavailable — returns upstream error or empty results
- No pools match the specified chain/minTvl/minApy filters — returns empty array
- Invalid chain identifier provided — returns 400 bad request
- minTvl or minApy values out of acceptable range — returns validation error
- Payment not received (x402) — returns 402 Payment Required before data is served

## How this service works

Real DeFi yield intelligence via DefiLlama. Enriched with gas-adjusted net APY, protocol risk tier (A-D), and IL estimates. Params: ?chain=base&minTvl=100000&minApy=5. No AI hallucinations — all data from DefiLlama pools API.

## Output

A list of DeFi yield pools matching the specified filters, each enriched with gas-adjusted net APY, a protocol risk tier from A to D, impermanent loss estimates, TVL, and raw APY — all sourced live from DefiLlama with no AI-generated data.

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "description": "Real DeFi yield intelligence via DefiLlama. Enriched with gas-adjusted net APY, protocol risk tier (A-D), and IL estimates. Params: ?chain=base&minTvl=100000&minApy=5. No AI hallucinations — all data from DefiLlama pools API."
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/httpay-xyz-e9457d9d/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from httpay.xyz](https://www.zero.xyz/host/httpay.xyz/llms.txt)
