# Barker Market Trend: Stablecoin APY vs US Treasury Benchmark

> Barker Market Trend: Stablecoin APY vs US Treasury Benchmark is a paid API for AI agents from mcp.barker.money, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-14).

Returns historical APY trend data for stablecoins compared to a US Treasury benchmark over a configurable lookback window of 7 to 180 days

## Facts

- Endpoint: GET https://mcp.barker.money/barker_market_trend
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/barker-market-trend-stablecoin-apy-vs-us-treasury-benchmark-4bce263b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_EnWAUGLTCBNZlTTpGsdYn

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 barker-market-trend-stablecoin-apy-vs-us-treasury-benchmark-4bce263b
```

Example prompt: Show me how stablecoin APY has trended versus the US Treasury benchmark over the last 60 days — I want to know if DeFi yields are moving up or down relative to traditional rates.

## When to prefer this

Use this endpoint when you need to understand directional yield trends — whether stablecoin APY is rising or falling — and how it compares to the US Treasury benchmark over time. Prefer this over the per-pool time series endpoint when you want aggregate market-level trend data rather than a specific pool's history, and over the snapshot endpoint when you need historical context rather than a point-in-time view.

## Known failure modes

- days parameter outside 7–180 range returns validation error
- Missing required input wrapper causes schema validation failure
- Endpoint returns empty or partial data if the lookback window predates available historical data
- Network or payment authorization failure returns 402 or 5xx error

## How this service works

Barker's historical APY trend for stablecoins vs. US Treasury benchmark over a lookback window (7–180 days). Use for 'DeFi vs treasury', 'is stablecoin APY going up', 'crypto yield trend', '稳定币利率走势'.

## Output

A time series of stablecoin aggregate APY values alongside a US Treasury benchmark rate, covering the requested lookback window (7–180 days), allowing trend and relative performance analysis between DeFi yields and traditional fixed income.

## 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"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "days": {
       "type": "integer",
       "maximum": 180,
       "minimum": 7,
       "description": "Lookback window in days (default 30)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/barker-market-trend-stablecoin-apy-vs-us-treasury-benchmark-4bce263b/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from mcp.barker.money](https://www.zero.xyz/host/mcp.barker.money/llms.txt)
