# Stablecoin Yields Lookup via X402-BROKER Gateway

> Stablecoin Yields Lookup via X402-BROKER Gateway 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).

Returns current stablecoin yield rates and ROI data for a given asset, accessed via micropayment on Base.

## Facts

- Endpoint: GET https://mcp-gateway.agentdiet.dev/v1/stablecoin-yields?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/stablecoin-yields-lookup-via-x402-broker-gateway-2b26b8f3
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_OakQ9q9myK-hgw1T1_lq5

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 stablecoin-yields-lookup-via-x402-broker-gateway-2b26b8f3
```

Example prompt: What are the current yield rates for USDC stablecoins? Pull the latest ROI data so I can see where I'm getting the best return.

## When to prefer this

Choose this endpoint when you need on-demand stablecoin yield lookups with micropayment-gated access via x402 on Base, and want ROI proof alongside the data. Prefer this over manual DeFi dashboards when operating in an automated agent workflow that can settle USDC payments programmatically. Best suited for agents that need lightweight, per-call yield data without requiring a subscription or API key.

## Known failure modes

- Missing or invalid asset query parameter returns empty or generic data
- Payment not settled on Base results in 402 response blocking data access
- Unsupported asset ticker returns empty data object
- Gateway routing failure returns non-200 status
- Rate limiting or quota exceeded for the micropayment tier

## 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 a status field ('ok'), a data object containing yield information for the queried stablecoin asset, and an roi_proof object including a compression_ratio_pct value indicating how efficiently the data was compressed (e.g. 91.4%). The actual yield figures are nested inside the data object.

## 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/stablecoin-yields-lookup-via-x402-broker-gateway-2b26b8f3/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)
