# AgentDataHub US Treasury Yield Curve

> AgentDataHub US Treasury Yield Curve is a paid API for AI agents from agentdatum.com, paid per call via x402, $0.05/call, status unknown (last checked 2026-09-14).

Returns real-time FRED-sourced 10Y and 2Y US Treasury yields, the 2s10s spread, and a yield curve status conclusion (inverted/steep) for macro trading.

## Facts

- Endpoint: GET https://agentdatum.com/x402/v1/d/processed-us-yield
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agentdatahub-us-treasury-yield-curve-ebdecb77
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_A5gVXSRKvf-kXwaQJ-AOK

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 agentdatahub-us-treasury-yield-curve-ebdecb77
```

Example prompt: What's the current US 2Y and 10Y Treasury yield, the 2s10s spread, and is the yield curve inverted or steep right now?

## When to prefer this

Prefer this endpoint when you need a pre-processed, ready-to-use yield curve summary including the 2s10s spread and an explicit curve state label (inverted/steep) without having to pull raw FRED series and compute the spread yourself. Ideal for macro trading agents, recession monitoring workflows, or any context where a single-call yield curve status is needed at low cost ($0.05 per call). Not suitable for intraday tick data or historical time-series analysis.

## Known failure modes

- FRED data source unavailable — may return stale or error response
- Payment of $0.05 USDC not processed — 402 Payment Required error
- Rate limiting or quota exceeded on the x402 payment channel
- Data not yet updated for the current trading day — returns previous day's values

## How this service works

FRED 美债10Y/2Y实时收益率+2s10s利差+曲线状态结论（倒挂/陡峭），宏观交易硬指标。日频更新，有效数日。

## Output

Returns the current 10-year and 2-year US Treasury yields sourced from FRED, the 2s10s spread (difference between them), and a categorical conclusion on the yield curve state (e.g. inverted or steep). Data is updated daily and remains valid for several days.

## 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",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {}
    }
   },
   "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/agentdatahub-us-treasury-yield-curve-ebdecb77/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agentdatum.com](https://www.zero.xyz/host/agentdatum.com/llms.txt)
