# HTTPay Yield Aggregator — Base DeFi APY & TVL Lookup

> HTTPay Yield Aggregator — Base DeFi APY & TVL Lookup 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).

Aggregates yield opportunities across major Base DeFi protocols (Aave, Morpho, Moonwell, Compound, Aerodrome, Stargate), returning APY, TVL, risk tier, token pair, and min deposit sorted by risk-adjusted yield.

## Facts

- Endpoint: POST https://httpay.xyz/api/yield-aggregator
- 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-yield-aggregator-base-defi-apy-tvl-lookup-9dabd683
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_4L2BlvfItTKS9B6norVUB

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-yield-aggregator-base-defi-apy-tvl-lookup-9dabd683 -d '<json body>'
```

Example prompt: Show me all current yield opportunities on Base DeFi — Aave, Morpho, Moonwell, Compound, Aerodrome, and Stargate — with their APY, TVL, risk tier, and minimum deposit, sorted by risk-adjusted yield.

## When to prefer this

Use this endpoint when you need a single consolidated view of yield opportunities across all major Base DeFi protocols without subscribing to individual protocol APIs. Ideal for agents making yield optimization decisions, portfolio rebalancing, or comparing risk-adjusted returns across Aave, Morpho, Moonwell, Compound, Aerodrome, and Stargate on Base. Prefer over individual protocol APIs when breadth and cross-protocol comparison matter.

## Known failure modes

- Payment not received or insufficient USDC balance — returns HTTP 402 requiring x402 payment
- Upstream DeFi protocol data unavailable — may return partial results or 503
- Stale data if on-chain sources are lagging — APY/TVL may not reflect real-time state
- Invalid x402 payment header format — returns 400 or 402 with payment details

## How this service works

Aggregate ALL yield opportunities across Base DeFi (Aave, Morpho, Moonwell, Compound, Aerodrome, Stargate). Returns APY, TVL, risk tier, token pair, min deposit sorted by risk-adjusted yield.

## Output

A JSON list of yield opportunities across Base DeFi protocols, each entry containing the protocol name, token pair, current APY, TVL, risk tier classification, minimum deposit amount, and an overall ranking by risk-adjusted yield.

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "description": "Aggregate ALL yield opportunities across Base DeFi (Aave, Morpho, Moonwell, Compound, Aerodrome, Stargate). Returns APY, TVL, risk tier, token pair, min deposit sorted by risk-adjusted yield."
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/httpay-yield-aggregator-base-defi-apy-tvl-lookup-9dabd683/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)
