# DeFi Yield Aggregator — Best APY Opportunities by Token & Chain

> DeFi Yield Aggregator — Best APY Opportunities by Token & Chain is a paid API for AI agents from api.x-402.online, paid per call via x402, $0.005/call, status down (last checked 2026-09-10).

Returns the highest-APY DeFi yield opportunities across 16k+ pools, filterable by token and chain, with base+reward APY, TVL, IL risk, and stablecoin flag.

## Facts

- Endpoint: POST https://api.x-402.online/v1/defi/yields
- Price: $0.005/call
- Payment: x402
- Status: down
- Last checked: 2026-09-10
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/defi-yield-aggregator-best-apy-opportunities-by-token-chain-fec6373d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_mSHTsUwNtBeVcAXOS6Noj

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 defi-yield-aggregator-best-apy-opportunities-by-token-chain-fec6373d -d '<json body>'
```

Example prompt: Find me the best APY opportunities for USDC on the Base chain right now, with a minimum TVL of $100,000 — show me base APY, reward APY, TVL, and whether each pool carries impermanent loss risk.

## When to prefer this

Choose this endpoint when you need a broad, aggregated view of DeFi yield opportunities across thousands of pools in a single call, especially when filtering by specific token and chain with a TVL floor. Prefer it over individual protocol APIs when you want cross-protocol APY comparison with IL risk and stablecoin metadata already included. Not suitable for real-time price execution or on-chain transactions.

## Known failure modes

- Invalid or unsupported token symbol returns empty results or 400 error
- Unsupported chain name returns no results
- min_tvl set too high may return zero pools
- Stale data if underlying pool data sources are temporarily unavailable
- Rate limiting or payment failure returns 402 or 429 error

## Output

A ranked list of DeFi pool opportunities sorted by APY, each entry including pool/protocol name, chain, base APY, reward APY, total APY, TVL, impermanent loss risk indicator, and a stablecoin flag — aggregated from 16,000+ pools.

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/defi-yield-aggregator-best-apy-opportunities-by-token-chain-fec6373d/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.x-402.online](https://www.zero.xyz/host/api.x-402.online/llms.txt)
