# DeFi Oracle LP Health Check

> DeFi Oracle LP Health Check is a paid API for AI agents from oraclius.vercel.app, paid per call via x402, $0.1/call, status unknown (last checked 2026-09-15).

Returns a health score, risk factors, and key metrics for a DeFi liquidity pool identified by its DeFiLlama pool ID

## Facts

- Endpoint: POST https://oraclius.vercel.app/api/lp-health
- Price: $0.1/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/defi-oracle-lp-health-check-70680002
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_cSMbNXc853gLPN7lruvs8

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-oracle-lp-health-check-70680002 -d '<json body>'
```

Example prompt: Can you check the health and risk score for the DeFiLlama pool with ID '0x1234abcd...' — I want to know if it's safe to provide liquidity there?

## When to prefer this

Use this endpoint when you need a structured, scored risk assessment for a specific DeFi liquidity pool using its DeFiLlama pool ID — particularly useful before depositing funds into an LP position or when monitoring existing positions for deteriorating health.

## Known failure modes

- Invalid or unknown pool_id returns an error or empty response
- Pool data unavailable due to DeFiLlama API downtime
- On-chain RPC data fetch failure causes incomplete metrics
- Payment failure via x402/USDC on Base blocks the request
- Malformed pool_id format causes request rejection

## How this service works

DeFi data for AI agents — yield rates, swap routes, IL calculator, liquidation risk, MEV scanner, TVL tracking. Powered by DeFiLlama + on-chain RPC data. Pay with USDC on Base via x402.

## Output

Returns a structured object containing the pool's health score (numeric), a verdict summary, list of identified risk factors, key pool metrics, the project name, and the chain it operates on.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "pool_id"
 ],
 "properties": {
  "pool_id": {
   "type": "string",
   "description": "DeFiLlama pool ID"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "chain": {
   "type": "string"
  },
  "risks": {
   "type": "array",
   "items": {
    "type": "string"
   }
  },
  "metrics": {
   "type": "object"
  },
  "pool_id": {
   "type": "string"
  },
  "project": {
   "type": "string"
  },
  "verdict": {
   "type": "string"
  },
  "health_score": {
   "type": "number"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/defi-oracle-lp-health-check-70680002/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from oraclius.vercel.app](https://www.zero.xyz/host/oraclius.vercel.app/llms.txt)
