# Cross-Chain APY Scanner

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

Scans and returns annual percentage yield (APY) data across multiple DeFi protocols and chains for a given asset

## Facts

- Endpoint: GET https://mcp-gateway.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/cross-chain-apy-scanner-ac9abee6
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap__ngrzmuq4dKzqYmobW5GD

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

Example prompt: Can you scan across DeFi protocols and chains to find the current APY rates for USDC right now?

## When to prefer this

Choose this endpoint when you need real-time or near-real-time cross-chain APY data for a specific crypto asset across multiple DeFi protocols in a single call. It is particularly useful for agents making yield optimization decisions, portfolio rebalancing, or DeFi rate monitoring without needing to query each protocol individually. Prefer this over building custom scrapers or querying individual protocol APIs when you need aggregated, compressed APY intelligence paid per-call in USDC.

## Known failure modes

- Invalid or unsupported asset ticker returns empty data object
- Missing required 'input' field returns schema validation error
- Downstream DeFi data sources unavailable may result in stale or empty APY data
- Payment failure (USDC on Base) returns 402 Payment Required before data is served
- Malformed query parameters may result in unfiltered or incorrect results

## How this service works

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

## Output

Returns a JSON object with status 'ok', a data object containing APY rates and protocol details for the queried asset across chains, and an roi_proof object including a compression_ratio_pct field (e.g. 91.4%) indicating data efficiency.

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