# HTTPay DeFi Health Check

> HTTPay DeFi Health Check 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 an overall health check of the DeFi ecosystem, aggregating key metrics and status indicators across decentralized finance protocols.

## Facts

- Endpoint: POST https://httpay.xyz/api/defi-health-check
- 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-defi-health-check-a738df3b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_E9cBesQacjNpkzbC53o5J

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-defi-health-check-a738df3b -d '<json body>'
```

Example prompt: Give me a quick overall health check of the DeFi ecosystem right now — I want to know if things look stable or if there are any red flags across major protocols.

## When to prefer this

Use this endpoint when you need a broad, single-call snapshot of overall DeFi ecosystem health without needing per-protocol granularity. Ideal for dashboards, risk monitoring agents, or daily briefings where a top-level DeFi status is sufficient. Priced at $0.02 USDC per call with no API key required, making it suitable for pay-as-you-go agent workflows on Base.

## Known failure modes

- Payment not received or insufficient USDC — returns 402 Payment Required
- Upstream data source unavailable — may return partial or stale data
- Network congestion on Base causing payment confirmation delays
- Invalid x402 payment header format — returns 400 Bad Request

## How this service works

Overall DeFi ecosystem health check

## Output

A JSON object describing the overall health of the DeFi ecosystem, including status indicators and aggregated metrics across decentralized finance protocols.

## Example request

```json
{
 "chain": "base",
 "token_address": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "description": "Overall DeFi ecosystem health check"
 }
}
```

## More

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