# AgentDiet Cross-Chain APY Scanner

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

Scans and returns cross-chain annual percentage yield (APY) data for crypto assets, settling payment in USDC on Base via x402.

## Facts

- Endpoint: GET https://status.agentdiet.dev/v1/cross-chain-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-cross-chain-apy-scanner-1ae488d4
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ClaYBmItJSAwPfQCt_-ED

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-cross-chain-apy-scanner-1ae488d4
```

Example prompt: Scan the current cross-chain APY for USDC across all available DeFi protocols and tell me where I can get the best yield right now.

## When to prefer this

Prefer this endpoint when you need a quick, low-cost ($0.01 USDC) lookup of cross-chain APY data for a specific crypto asset, especially in an agent workflow that already supports x402 micropayment protocols and needs deterministic, machine-readable yield data without scraping DeFi dashboards manually.

## Known failure modes

- Missing or invalid asset query parameter returns empty or error data object
- Payment not settled in USDC on Base causes 402 Payment Required response
- Unsupported asset ticker returns empty data
- Network or chain unavailability may return partial or stale APY data
- Invalid HTTP method (other than GET/POST) returns method not allowed error

## How this service works

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

## Output

Returns a JSON object with status 'ok', a data object containing cross-chain APY figures for the requested asset, and a roi_proof field including a compression_ratio_pct metric (e.g. 91.4%) as a proof of efficient data delivery.

## 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-cross-chain-apy-scanner-1ae488d4/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from status.agentdiet.dev](https://www.zero.xyz/host/status.agentdiet.dev/llms.txt)
