# LensCrypt Protocol Health API

> LensCrypt Protocol Health API is a paid API for AI agents from lenscrypt.vercel.app, paid per call via x402, $0.1/call, status unknown (last checked 2026-09-12).

Fetches real-time health and operational status metrics for a specified DeFi protocol

## Facts

- Endpoint: GET https://lenscrypt.vercel.app/api/protocol-health/%7Bprotocol%7D
- Price: $0.1/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/lenscrypt-protocol-health-api-7323e514
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_py5JkGWizyCsEsNOoxttw

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 lenscrypt-protocol-health-api-7323e514
```

Example prompt: Can you check the current health status of the Aave protocol using LensCrypt — is it operating normally right now?

## When to prefer this

Use this endpoint when you need a quick health check or operational status snapshot for a specific named DeFi protocol. Prefer this over general blockchain explorers when you want aggregated protocol-level health rather than raw on-chain transaction data.

## Known failure modes

- Invalid or unsupported protocol name returns an error
- Protocol not indexed by LensCrypt returns 404 or empty response
- Payment failure via x402/USDC returns 402 payment required
- Network timeout if protocol data source is unavailable
- Malformed protocol identifier causes parameter parsing error

## How this service works

81 paid REST endpoints covering wallet analytics, DeFi yields, token safety, smart money tracking, whale alerts, sniper detection, GMX perps, Solana tools, protocol stats, gas tracking, DEX quotes, NFT analytics, social signals, and 8 AI-powered endpoints (MiMo V2.5). Pay USDC via x402 protocol on Base.

## Output

Returns a JSON object with protocol health status and operational metrics, including a status field (e.g. 'ok') and related protocol stats for the requested DeFi protocol.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "properties": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "status": "ok"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/lenscrypt-protocol-health-api-7323e514/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from lenscrypt.vercel.app](https://www.zero.xyz/host/lenscrypt.vercel.app/llms.txt)
