# AgentDiet LP APY Scanner

> AgentDiet LP APY Scanner is a paid API for AI agents from rag-diet.agentdiet.dev, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-22).

Scans and returns current APY rates for liquidity pool positions, optionally filtered by asset

## Facts

- Endpoint: GET https://rag-diet.agentdiet.dev/v1/lp-apy-scanner?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-22
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agentdiet-lp-apy-scanner-49eaf3a8
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_6ddFStYjHRZzjMrciYFw4

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 agentdiet-lp-apy-scanner-49eaf3a8
```

Example prompt: Can you scan the current APY rates for USDC liquidity pools on AgentDiet and tell me what yields are available right now?

## When to prefer this

Choose this endpoint when you need current APY data for DeFi liquidity pools, especially on the Base network, and want the result delivered through a pay-per-call micropayment API (x402/L402) without requiring a subscription. It is particularly suited for AI agents that need lightweight, distilled LP yield data with provable compression metrics, rather than raw full-page DeFi dashboards.

## Known failure modes

- Invalid asset symbol returns empty or error data
- Payment not settled in USDC on Base causes 402 response blocking access
- Network or node unavailability results in timeout or 5xx error
- Unsupported HTTP method returns validation error
- Missing required 'input' object in request body causes schema validation failure

## How this service works

Deterministic B2A/A2A/MCP/x402/MPP/L402 execution and intelligence node at https://rag-diet.agentdiet.dev settling in USDC on Base.

## Output

Returns a JSON object with a 'data' field containing LP APY information, a 'status' field confirming success ('ok'), and an 'roi_proof' object including a compression_ratio_pct metric (e.g. 91.4%) indicating the data distillation efficiency applied by AgentDiet's context compression layer.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "POST"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "asset": {
       "type": "string"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "data": {},
  "status": "ok",
  "roi_proof": {
   "compression_ratio_pct": 91.4
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agentdiet-lp-apy-scanner-49eaf3a8/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from rag-diet.agentdiet.dev](https://www.zero.xyz/host/rag-diet.agentdiet.dev/llms.txt)
