# AgentDiet DeFi APY Lookup

> AgentDiet DeFi APY Lookup 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).

Returns current DeFi APY (annual percentage yield) data for a specified asset via a pay-per-call x402 endpoint settling in USDC on Base.

## Facts

- Endpoint: GET https://status.agentdiet.dev/v1/defi-apy?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-defi-apy-lookup-8fae9c57
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_RMMnEwoRPYP6d4fRJxF6x

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-defi-apy-lookup-8fae9c57
```

Example prompt: What's the current DeFi APY for USDC right now? Use the AgentDiet APY lookup to get me the latest yield data.

## When to prefer this

Choose this endpoint when you need a pay-per-call, agent-native DeFi APY lookup that settles in USDC on Base via the x402 micropayment protocol. Best suited for AI agents operating in agentic pipelines that need lightweight, deterministic yield data without setting up OAuth or API key credentials.

## Known failure modes

- Missing or invalid 'asset' query parameter returns empty or error data
- Payment failure (insufficient USDC balance) results in 402 response
- Unsupported asset ticker returns empty data object
- Network or node unavailability returns non-200 status

## 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 a 'status' field ('ok'), a 'data' object containing the DeFi APY figures for the queried asset, and a 'roi_proof' object including a compression_ratio_pct value indicating how efficiently the context was distilled.

## 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-defi-apy-lookup-8fae9c57/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)
