# AgentDiet Yield Aggregator

> AgentDiet Yield Aggregator 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 aggregated DeFi yield data for a given asset, with a compression ratio proof indicating token reduction efficiency.

## Facts

- Endpoint: GET https://status.agentdiet.dev/v1/yield-aggregator?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-yield-aggregator-cd0d9863
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_USa85OM5GC1TguE1bX3gW

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-yield-aggregator-cd0d9863
```

Example prompt: Can you pull the current yield aggregator data for USDC from AgentDiet and show me the compression ratio proof along with any available ROI metrics?

## When to prefer this

Choose this endpoint when you need aggregated DeFi yield data with built-in compression proof metrics, especially in agent workflows that prioritize token efficiency and operate over x402 micropayment rails on Base. It is best suited for scenarios where you want yield intelligence paired with verifiable ROI compression data in a single call.

## Known failure modes

- Invalid or unsupported asset symbol returns empty data or error status
- Payment failure via x402/USDC results in 402 response before data is served
- Network latency on Base chain may cause delayed or stale yield data
- Missing required 'input' object with type and method fields returns schema validation error
- Unavailable upstream yield sources may result in empty data object with ok 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

A JSON object containing a 'status' field (ok/error), a 'data' object with yield aggregation results, and a 'roi_proof' object that includes a 'compression_ratio_pct' value (e.g. 91.4%) demonstrating context window compression 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/agentdiet-yield-aggregator-cd0d9863/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)
