# HTTPay Base DeFi Protocol TVL Comparison

> HTTPay Base DeFi Protocol TVL Comparison is a paid API for AI agents from httpay.xyz, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-14).

Returns real-time TVL rankings for all Base DeFi protocols with 24h/7d change percentages and risk tier classification, sourced from DefiLlama.

## Facts

- Endpoint: POST https://httpay.xyz/api/protocol-tvl
- Price: $0.01/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-632233a3
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_A9_oEUX1J0jwmqQK-oLLf

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

Example prompt: Show me all the DeFi protocols on Base ranked by TVL right now, including their 24-hour and 7-day changes and risk tiers — I want to know which ones are growing and which are highest risk.

## When to prefer this

Use this endpoint when you need a comprehensive, real-time comparison of all Base DeFi protocols by TVL in a single call, especially when risk tier classification alongside TVL momentum (24h/7d changes) is needed. Prefer over scraping DefiLlama directly when you need a structured, pay-per-call API with no API key setup.

## Known failure modes

- Payment not provided — returns 402 with x402 and MPP payment instructions
- Rate limit exceeded on demo mode (10 calls/IP/hour without payment)
- DefiLlama upstream data unavailable — may return stale or error response
- Invalid request body format — returns 400 bad request

## How this service works

Real-time TVL comparison for all Base DeFi protocols — sorted by TVL, 24h/7d change, risk tier. From DefiLlama. Unique to httpay.xyz.

## Output

A sorted list of all Base DeFi protocols with their current TVL, 24-hour percentage change, 7-day percentage change, and risk tier classification, sourced from DefiLlama.

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "description": "Real-time TVL comparison for all Base DeFi protocols — sorted by TVL, 24h/7d change, risk tier. From DefiLlama. Unique to httpay.xyz."
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/httpay-xyz-632233a3/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)
